Avatar of 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
Apache Web ServerLinux

Avatar of undefined
Last Comment
Duncan Roe

8/22/2022 - Mon
Duncan Roe

View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.

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!
Duncan Roe

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?
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Duncan Roe

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