Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Sep 2001 11:14:03 -0700
From:      "Kulraj Gurm (bosa.ca Account)" <kulraj@bosa.ca>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   PHP 4.0.6 - libmysqlclient.so.10
Message-ID:  <006601c134a4$367fa360$0ac8a8c0@kimsamy.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
The PHP installation instructions include the following linux specific adcice - does anyone know how to apply this in the FreeBSD environment? 

[snip]
Note 3!  If you are on Linux and have installed shared libraries, make
sure the location of these shared libraries are listed in your
/etc/ld.so.conf file.  For example, if you have:

  /usr/local/lib/mysql/libmysqlclient.so

Make sure /etc/ld.so.conf contains:

  /usr/local/lib/mysql

Then run ldconfig.
[/snip]


I am installing on FreeBSD 4.4RC and get the following error on starting Apache :

su-2.05# /usr/local/apache/bin/apachectl startssl
Syntax error on line 20 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: Shared object "libmysqlclient.so.10" not found
/usr/local/apache/bin/apachectl startssl: httpd could not be started.

I am pretty sure that the lack of following the instructions and the error are related - therefore need help.
TIA

Kulraj Gurm


[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4207.2601" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>The PHP installation instructions include the 
following linux specific adcice - does anyone know how to apply this in the 
FreeBSD environment? </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>[snip]</FONT></DIV>
<DIV><FONT face=Arial size=2>Note 3!&nbsp; If you are on Linux and have 
installed shared libraries, make<BR>sure the location of these shared libraries 
are listed in your<BR>/etc/ld.so.conf file.&nbsp; For example, if you 
have:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp; 
/usr/local/lib/mysql/libmysqlclient.so</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Make sure /etc/ld.so.conf contains:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp; /usr/local/lib/mysql</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Then run ldconfig.<BR>[/snip]</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I am installing on FreeBSD 4.4RC and get the 
following error on starting Apache :</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>su-2.05# /usr/local/apache/bin/apachectl 
startssl<BR>Syntax error on line 20 of 
/usr/local/apache/conf/httpd.conf:<BR>Cannot load 
/usr/local/apache/libexec/libphp4.so into server: Shared object 
"libmysqlclient.so.10" not found<BR>/usr/local/apache/bin/apachectl startssl: 
httpd could not be started.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2>I am pretty sure 
that the lack of following the instructions and the error are related - 
therefore need help.</FONT></DIV>
<DIV><FONT face=Arial size=2>TIA</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Kulraj Gurm</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial 
size=2>&nbsp;</DIV></FONT></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006601c134a4$367fa360$0ac8a8c0>