Re: ARGH! shared objects

From: Date: Wed, 04 Oct 2000 12:29:19 +0000
Subject: Re: ARGH! shared objects
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-142@lists.php.net to get a copy of this message
"J!M" wrote: > I'm just on a barebones install now though (apxs & mysql). I want > to add support for mcrypt, mhash, gd, and curl. Since my earlier > problems stemmed from Apache not finding those > libraries/modules where it expected them, which flag would I add to > make sure that the install puts them in /etc/httpd/modules ? If I > were to guess, I'd go with --libdir=/etc/httpd/modules but I've > guessed my way into fifteen hours of misery at this point. > Suggestions? I was having this problem too with libmhash.so on RedHat 6.1. I installed the mhash shared libs from source and they got put in /usr/local/lib. On my RedHat build and apache installation, the default library path doesn't look there, so you either reinstall the libs on a path that is found (like /usr/lib), or add /usr/local/lib to your LD_LIBRARY_PATH environment variable (and don't forget to export it), either in /etc/profile, your local .profile (for the user the server is started by), your /etc/rc.d/init.d/httpd script or wherever you start your webserver from. -- --- Michael Kahn

« previous php.install (#142) next »