Extension include error notice

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Extension include error notice

Post by RobertGonzalez »

I just ran across this in my error logs. Can someone help out with this? I have found about 50 forum posts around the web where someone asked this question and never got a response. google doesn't want to help me right now either.
The error log wrote:PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/sybase_ct.so' - /usr/lib/php/modules/sybase_ct.so: undefined symbol: empty_string in Unknown on line 0
What does this mean and why am I getting it? I did a yum install php-sybase-ct and it installed the .so for sybase_ct. I have not ran a configure on PHP yet (1 because I am not sure if I am supposed to, and 2, I am not sure how to). All help is appreciated.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

It could be a couple of problems. Have you verified that that file is there and is readable by the web server? Also, is the module finding Sybase correctly?
(#10850)
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

1: File is there
2: File is readable
3: Haven't had a chance to test yet (and won't for a couple of weeks). But I could have a coworker test it for me.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Undefined symbol is a linker problem. The binary has been compiled badly for your system. Did this come as part of a package manager? Try compiling it manually or refreshing your package manager's database and getting a leter version (or older version if that's what it takes).
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

d11wtq wrote:Undefined symbol is a linker problem. The binary has been compiled badly for your system. Did this come as part of a package manager? Try compiling it manually or refreshing your package manager's database and getting a leter version (or older version if that's what it takes).
Which binary, PHP or sybase_ct? PHP came assembled with FC5. I used the sybase_ct RPM, which depended on three other RPMs. I RPMed those first, then RPMed sybase_ct.

Now the question I have been waiting for the right time to ask... how do I compile PHP manually? I get the impression that if I use the --with-sybase_ct flag tduring configure I might be able to avoid using an extension, but I am not certain and the manual is not totally clear on that.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

/me Beyond stupid. The Sybase client files are not even loaded on this server. Let me get my head out of my arse before I ask another question about this. Sorry for wasting your time.
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

:lol:
Post Reply