Sorry if this is a FAQ, but I couldn't find this exact problem
either in the installation instructions or the user addenda to
the installation instructions on www.php.net.

We are building php against the copy of mysql which comes with the
latest solaris 8 installation.  mysql and it's supporting files live
in /opt/sfw/mysql

These are my configuration options:

./configure --prefix=/apps/apache/extensions/php --exec-prefix=/apps/apache/exten
sions/php --bindir=/apps/apache/extensions/php/bin --sbindir=/apps/apache/extensi
ons/php/sbin --libexecdir=/apps/apache/libexec --datadir=/apps/apache/extensions/
php/share --with-config-file-path=/apps/apache/extensions/php/lib/ --sysconfdir=/
apps/apache/extensions/php/etc --sharedstatedir=/apps/apache/extensions/php/com -
-libdir=/apps/apache/extensions/php/lib/php --includedir=/apps/apache/extensions/
php/include --with-config-file-path=/apps/apache/extensions/php/lib --srcdir=. --
infodir=/apps/apache/extensions/php/info --enable-track-vars --with-apxs=/usr/apa
che/bin/apxs -with-mysql=/opt/sfw/mysql --enable-cli

The only change in this and the php build I do frequently is the path 
to mysql, and the absence of the oracle paths which were needed in our past
installations.

==============================================================================
This is the error from make

gcc: /opt/sfw/mysql/lib/mysql/.libs/libmysqlclient.so: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `php'
Current working directory /nfs/src/sources/voyagers/php/php-4.2.2/sapi/cli
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /nfs/src/sources/voyagers/php/php-4.2.2/sapi/cli
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
==============================================================================




Note the odd library path to libmysqlclient.so

The actual path is of course:

/opt/sfw/mysql/lib/mysql/libmysqlclient.so


                                                        Thanks,
                                                        Larry

  

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to