Link to home
Start Free TrialLog in
Avatar of MardukLitzer
MardukLitzer

asked on

Symbol Not Defined?

Hey all, I think I finally got all the components compiled correctly to run Cacti, but when I try to get Apache started I get the error below. Any idea what the issue is with libmysqlclient? Thanks in advance!

httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: symbol __fixunsdfdi, version libmysqlclient_15 not defined in file libmysqlclient.so.15 with link time reference
ASKER CERTIFIED SOLUTION
Avatar of Duncan Roe
Duncan Roe
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MardukLitzer
MardukLitzer

ASKER

Hi thanks for your reply, sorry for my delayed response... Honestly, libphp5.so was built from the PHP compilation.... It copied itself to the folder, etc.. Initially I was having trouble with the Cacti install, but than discovered I needed to include apsx2 as one of the flags for the ./configure of PHP... Once I did that, it built the libphp5.so and copied it to the modules of apache.... So it was built from the PHP compilation. Not sure if that answers your question, forgive me but I am not fluent with Linux :) Thanks!
Yes that answers my question - you did build libphp5.so. I googled for __fixunsdfdi and there's a ton of stuff.
__fixunsdfdi is supplied by gcc in libgcc.a or libgcc_s.so: it's used in casting from double to unsigned int. Not really sure how that helps you though.
Does this actually stop Apache from starting or is it a script that won't run?
Maybe if you google more thoroughly than I you will find a helpful suggestion.
No it actually prevents it from starting up.. Bummer it seems like all the other pieces have fallen into place :) I'll try to google come. You think this is a PHP problem or a MYSQL problem?
No I think it's a build problem. Just to be sure, are you having this problem on the actual machine where you did the build, or another system?
You could try export LD_PRELOAD={path of libgcc_s.so} - don't suppose it will help but you never know