Hi,
I have this debug.log message after my php ./configure command :
--------------------------------------------------------------------------------------------------------------
CONFIGURE: './configure' '--with-mysql=/opt/mysql'
'--with-config-file-path=/usr/local/etc' '--w
ith-gd' '--with-apache=../apache_1.3.22' '--enable-track-vars'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS
CXX:
CXXFLAGS:
INCLUDES: -I/usr/local/apache_1.3.22/src/include
-I/usr/local/apache_1.3.22/src/os/unix -I$(to
p_builddir)/Zend -I/opt/mysql/include/mysql
LDFLAGS: -R/usr/ucblib -L/usr/ucblib
-R/usr/local/lib/gcc-lib/i386-pc-solaris2.7/2.95.2 -L/usr
/local/lib/gcc-lib/i386-pc-solaris2.7/2.95.2 -R/opt/mysql/lib/mysql
-L/opt/mysql/lib/mysql
LIBS: -lmysqlclient -lgd -lcrypt -lresolv -lresolv -lm -ldl -lnsl
-lsocket -lsocket -lgcc -
lcrypt
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/ucblib
/usr/local/lib/gcc-lib/i386-pc-solaris2.7/2.95.2 /opt/mysql/lib/mysql
uname -a: SunOS exodus 5.7 Generic_106542-18 i86pc i386 i86pc
gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib
-L/usr/ucblib -R/usr/local/lib/g
cc-lib/i386-pc-solaris2.7/2.95.2
-L/usr/local/lib/gcc-lib/i386-pc-solaris2.7/2.95.2 -R/opt/mysql/l
ib/mysql -L/opt/mysql/lib/mysql conftest.c -lmysqlclient -lgd -lcrypt
-lresolv -lresolv -lm -ldl -
lnsl -lsocket -lsocket -lgcc -lcrypt 1>&5
Undefined first referenced
symbol in file
uncompress
/opt/mysql/lib/mysql/libmysqlclient.so
compress
/opt/mysql/lib/mysql/libmysqlclient.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
--------------------------------------------------------------------------------------------------------------
It seems to be a mysql compilation error, but the mysql compilation do
not return errors, but I have this warning with the mysql make install :
----------------------------------------------------------------------
Libraries have been installed in:
/opt/mysql/lib/mysql
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- use the `-RLIBDIR' linker flag
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
It's the first time I have this errors and I don't understand.
If I try to compile Apache aftter taht, it crash with an the same error
concerning /opt/mysql/lib/mysql/libmysqlclient.so ...
Can anyone help me ?
Thank you.
Frederic.
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]