Hi,
I searched through the forums for something similar to what's happening to me but I didn't find anything that matched up.
Compiling PHP4 as an Apache DSO module with the following:
./configure --with-apxs=/www/server/apache/bin/apxs --with-yaz=/www/src/yaz-1.6 --with-mysql=/www/mysql --with-sybase=/usr/local/sybase/client --with-xml --enable-ftp
--with-gd=/www/src/gd1.2 --disable-pear --with-dbase --enable-libgcc
No complaints through the configure, make or make install process but when I go to test
Apache with the new AddModule & LoadModule statments added to httpd.conf, I get:
Wed12:03:11am|/www/server/apache/libexec>../bin/apachectl configtest
Syntax error on line 234 of /www/server/apache/conf/httpd.conf:
Cannot load /www/server/apache/libexec/libphp4.so into server: ld.so.1: /www/server/apache
/bin/httpd: fatal: libmysqlclient.so.6: open failed: No such file or directory
When I do an ldd I get:
Wed2:59:07pm|/www/server/apache/libexec>ldd libphp4.so
libpam.so.1 => /usr/lib/libpam.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libsybdb.so => /usr/lib/libsybdb.so
libmysqlclient.so.6 => (file not found)
libresolv.so.2 => /usr/lib/libresolv.so.2
libm.so.1 => /usr/lib/libm.so.1
libc.so.1 => /usr/lib/libc.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1
Even though in the config_vars.mk file I have:
PHP_LDFLAGS = -L/usr/ucblib -L/usr/local/gcc/egcs-1.1.2/lib/gcc-lib/sparc-sun-solaris2.6/e
gcs-2.91.66 -L/www/src/gd1.2 -L/www/mysql/lib/mysql -L/usr/local/sybase/client/lib -L/www/
src/yaz-1.6/lib
Any suggestions? or ideas? I have tried a number of things. I tried using:
env LDFLAGS=-L/www/mysql/lib/mysql ./configure <conf_opts>
but no luck with that either.
Getting a little frazzled here Thanks in advance for any suggestions or ideas!