hi im having some troble compiling apache with php/mysql i get this err:
modules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -ldl -lmysqlclient -lcrypt -lresolv -lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket -lgcc -lc
rypt -lsocket -lnsl -lpthread -ldl
Undefined first referenced
symbol in file
uncompress /opt/mysql/lib/libmysqlclient.a(my_compress.o)
compress /opt/mysql/lib/libmysqlclient.a(my_compress.o)
ld: fatal: Symbol referencing errors. No output written to httpd
collect2: ld returned 1 exit status
make[2]: [target_static] Error 1
make[2]: Leaving directory /opt/apache_1.3.24/src\'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory/opt/apache_1.3.24\'
make: [build] Error 2
btw im compilling with gcc on solaris 8 on a sparc i have done exactly the same on my mandrake 8.1 on an intel without problems ???????
i used this configure for php:
./configure --with-mysql=/opt/mysql --with-apache=/opt/apache_1.3.24 --enable-track-vars --enable-shared=max
an this for apache:
./configure --prefix=/opt/apache_1.3.24 --sysconfdir=/etc --logfiledir=/var/adm --enable-shared=max --activate-module=src/modules/php4/libphp4.a
any ideas ???