From owner-freebsd-questions Mon Sep 3 11:21:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fbsd.bosa.ca (h24-79-74-200.vc.shawcable.net [24.79.74.200]) by hub.freebsd.org (Postfix) with ESMTP id 684F037B40D for ; Mon, 3 Sep 2001 11:21:05 -0700 (PDT) Received: from ska1 (h24-207-52-63.dlt.dccnet.com [24.207.52.63]) by fbsd.bosa.ca (Postfix) with SMTP id 163DC158EB9 for ; Mon, 3 Sep 2001 12:31:28 -0700 (PDT) Message-ID: <006601c134a4$367fa360$0ac8a8c0@kimsamy.com> From: "Kulraj Gurm (bosa.ca Account)" To: Subject: PHP 4.0.6 - libmysqlclient.so.10 Date: Mon, 3 Sep 2001 11:14:03 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0063_01C13469.89CCDF00" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0063_01C13469.89CCDF00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable The PHP installation instructions include the following linux specific = adcice - does anyone know how to apply this in the FreeBSD environment?=20 [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 ------=_NextPart_000_0063_01C13469.89CCDF00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
The PHP installation instructions = include the=20 following linux specific adcice - does anyone know how to apply this in = the=20 FreeBSD environment?
 
[snip]
Note 3!  If you are on Linux and = have=20 installed shared libraries, make
sure the location of these shared = libraries=20 are listed in your
/etc/ld.so.conf file.  For example, if you=20 have:
 
 =20 /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=20 following error on starting Apache :
 
su-2.05# = /usr/local/apache/bin/apachectl=20 startssl
Syntax error on line 20 of=20 /usr/local/apache/conf/httpd.conf:
Cannot load=20 /usr/local/apache/libexec/libphp4.so into server: Shared object=20 "libmysqlclient.so.10" not found
/usr/local/apache/bin/apachectl = startssl:=20 httpd could not be started.
 
I am = pretty sure=20 that the lack of following the instructions and the error are related -=20 therefore need help.
TIA
 
Kulraj Gurm
 
------=_NextPart_000_0063_01C13469.89CCDF00-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message