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

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry about the previous html post...... ooops!
Resolved by :
cp /usr/local/mysql/lib/mysql/libmysqlclient.so.10
/usr/local/apache/libexec/
but this is a micky mouse workaround - still interested in properly setting
up ldconfig.
-----------------------------------------------

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001001c134a6$2a257d40$0ac8a8c0>