LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need a hand :) (https://www.linuxquestions.org/questions/linux-newbie-8/need-a-hand-4175415447/)

crypt90 07-07-2012 02:21 PM

Need a hand :)
 
I am trying to build apache with fastcgi i installed both from source but m getting following error in log files.How can i tell the path of libmysqlclient.so to apache in my case its present in /sql/lib directory.

expecting good replays or good web links thanx :)


LOGS---->

[Fri Jul 06 20:57:09 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips DAV/2 mod_fastcgi/2.4.6 configured -- resuming normal operations
[Fri Jul 06 20:57:14 2012] [error] [client 192.168.1.200] /usr/local/php5/bin/php-cgi: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory
[Fri Jul 06 20:57:14 2012] [error] [client 192.168.1.200] Premature end of script headers: 1.fcgi

Zmyrgel 07-07-2012 03:52 PM

I'd strongly recommend to stick with distribution's packages if you can't work with these on you own.
That beign said, I'd quess you installed the package to default path of /usr/local and your linker can't find the libraries.
You could check that ld.so.conf is configured to look for libraries in the correct place.


All times are GMT -5. The time now is 04:28 AM.