Hi,

Here's a copy of a message I sent to [EMAIL PROTECTED] on 27 Feb 
2001:

I've had the same problem und found quite a few similar questions but no 
answers in the archive. I even sent a mail to this list; but still no 
reply! 

So I started worrying some of my Unix friends until one of them came up  
with a solution. 

It appears that the options have been changed on PHP4. DSOs are no longer
stored with relocation information (-R option I think - I don't know much 
about the compiler and loader options). The trick is to set  
LD_LIBRARY_PATH before loading the library. 
I put the following into  apachectl : 

LD_LIBRARY_PATH="/usr/lib:/usr/openwin/lib:/usr/dt/lib:/db/mysql/lib/mysql
"
export LD_LIBRARY_PATH 

That is, the standard path plus the path to libmysqlclient.so, which  
libphp4.so could not find. 

I hope this helps you 

Regards 
Mike Middleton 

On 3 Mar 2001, at 1:00, deco wrote:

> 
>     well, i've been trying to get php and mysql working on my fresh
> installation of red hat 7... i decided to compile everything i need. Got
> mysql working, apache working, php4 not working...
> 
>     following a tutorial from webmonkey, i installed php on apache as a
> dso(dynamic shared object)... everything went fine, but when trying to
> start the apache server i get the following error:
> 
>     Syntax error on line 205 of /usr/local/apache/conf/httpd.conf;
>     Cannot load /usr/local/apache/libexec/libphp4.so into server:
> libmysqlclient.so.
>     10: cannot open shared object file: No such file or directory
>     ./bin/apachectl start: httpd could not be started
> 
>     following a tip from the tutorial, i added /usr/local/apache/libexec
>     to
> the /etc/ld.so.conf file... then i run ldconfig and reinstalled php4 with
> the same options i had before... unfortunately the result was the same!!
> 
>     i have no idea on how to solve the problem, if there is a
> libmysqlclient.so file somewhere, if this file's directory is the one to
> add to /etc/ld.so.conf instead of /usr/local/apache/libexec, but i
> certainly would apreciate some kind of help!!
> 
>     i've been reading the archive of this mailing list and found that many
> people have problems similar to this one, but with no answers, at list i
> didn't find any... so, if someone can help with something, thank you in
> advance!!
> 

-------------------------------------------------------------

Michael Middleton               
RZ der Universitaet Regensburg
93040 REGENSBURG            Tel: +49-941/943-4890
F R Germany

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to