PHP 4.0.4 - unable to configure under Solaris 2.6
| From: | Maciek Uhlig | Date: | Sun, 07 Jan 2001 17:31:46 +0000 |
| Subject: | PHP 4.0.4 - unable to configure under Solaris 2.6 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-1490@lists.php.net to get a copy of this message | ||
I'm trying to configure PHP 4.0.4 under Solaris 2.6. I just filed a bug at
bugs.php.net, but it was a bug I could somehow overcome (concerning library
order while testing gzgets()). However I also found later configure is
screwed up even deeper. Please find debug.log below.
What I can see is: configure is run with '--with-zlib', however libz.a (-lz)
is not referenced while seteuid testing. Therefore uncompress and compress
(from mysql) are not found.
Moreover I wonder why libmysqlclient.so is touched while testing seteuid
presence.
I'd appreciate any suggestion about any workaround which would make it work.
Please cc: to me.
Maciek
CONFIGURE: './configure' '--with-zlib' '--with-mysql=/usr/local'
'--with-apach
e=../../apache/apache_1.3.12' '--with-ldap=/usr/local/ldap'
'--enable-track-vars
' '--enable-magic-quotes' '--enable-bcmath'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS
CXX:
CXXFLAGS:
INCLUDES: -I/export/home/cto/software/apache/apache_1.3.12/src/include -I
/exp
ort/home/cto/software/apache/apache_1.3.12/src/os/unix -I$(top_builddir)/Ze
nd -
gcc -o
conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2 -L/usr/local/lib/gcc-li
b/sp
arc-sun-solaris2.6/2.95.2 -R/usr/local/ldap/lib -L/usr/local/ldap/lib -R/usr
/loc
al/lib/mysql -L/usr/local/lib/mysql
conftest.c -lmysqlclient -lldap -llber -lres
olv -lresolv -lm -ldl -lcrypt -lnsl -lsocket -lsocket -lgcc 1>&5
Undefined first referenced
symbol in file
uncompress /usr/local/lib/mysql/libmysqlclient.so
compress /usr/local/lib/mysql/libmysqlclient.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status