Page 1 of 1
Extension include error notice
Posted: Fri Sep 22, 2006 5:58 pm
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.
Posted: Fri Sep 22, 2006 9:27 pm
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?
Posted: Sat Sep 23, 2006 9:25 am
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.
Posted: Sat Sep 23, 2006 11:02 am
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).
Posted: Sat Sep 23, 2006 1:11 pm
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.
Posted: Tue Oct 10, 2006 6:22 pm
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.
Posted: Wed Oct 11, 2006 3:38 am
by Jenk