>Description:
when i compile apache and php4 with mysql and postgresql support i
have this error for mysql
This is the error
#########################
<=== src/modules
gcc -c -I./os/unix -I./include -DLINUX=2 -I/usr/src/php-4.0.4pl1
-I/usr/src/php-4.0.4pl1/main -I/usr/src/php-4.0.4pl1/main\
-I/usr/src/php-4.0.4pl1/Zend -I/usr/src/php-4.0.4pl1/Zend
-I/usr/src/php-4.0.4pl1/TSRM -I/usr/src/php-4.0.4pl1/TSRM -I/usr/s\
rc/php-4.0.4pl1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci`
modules.c
gcc -c -I./os/unix -I./include -DLINUX=2 -I/usr/src/php-4.0.4pl1
-I/usr/src/php-4.0.4pl1/main -I/usr/src/php-4.0.4pl1/main\
-I/usr/src/php-4.0.4pl1/Zend -I/usr/src/php-4.0.4pl1/Zend
-I/usr/src/php-4.0.4pl1/TSRM -I/usr/src/php-4.0.4pl1/TSRM -I/usr/s\
rc/php-4.0.4pl1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci`
buildmark.c
gcc -DLINUX=2 -I/usr/src/php-4.0.4pl1 -I/usr/src/php-4.0.4pl1/main
-I/usr/src/php-4.0.4pl1/main -I/usr/src/php-4.0.4pl1/Zend\
-I/usr/src/php-4.0.4pl1/Zend -I/usr/src/php-4.0.4pl1/TSRM
-I/usr/src/php-4.0.4pl1/TSRM -I/usr/src/php-4.0.4pl1 -DUSE_EXPAT -\
I./lib/expat-lite -DNO_DL_NEEDED `./apaci` \
-o httpd buildmark.o modules.o modules/standard/libstandard.a
modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a a\
p/libap.a lib/expat-lite/libexpat.a -Wl,-rpath,/usr/local/mysql/lib
-Wl,-rpath,/usr/local/pgsql/lib -rdynamic -L/usr/local\
/mysql/lib -L/usr/local/pgsql/lib -Lmodules/php4 -L../modules/php4
-L../../modules/php4 -lmodphp4 -lpam -ldl -lpq -lmysqlcl\
ient -lresolv -lm -ldl -lcrypt -lnsl -lresolv -lm -lcrypt
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function
`my_uncompress':
my_compress.o(.text+0x97): undefined reference to `uncompress'
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function
`my_compress_alloc':
my_compress.o(.text+0x12b): undefined reference to `compress'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/usr/src/apache_1.3.14/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/src/apache_1.3.14'
make: *** [build] Error 2
##########################
Command compiler for Apache before compiled php4
./configure --prefix=/usr/local/apache
Command compiler for php4
./configure --with-apache=/usr/src/apache_1.3.14 --enable-track-vars
--with-mysql=/usr/local/mysql --with-pgsql=/usr/local/pgsql
Command compiler for Apache after compiled php4
./configure --activate-module=src/modules/php4/libphp4.a
##########################
Release: mysql-3.23.30-gamma (Official MySQL binary)
>Environment:
<machine, os, target, libraries (multiple lines)>
System: Linux kenny 2.2.14-5.0 #1 Tue Mar 7 20:53:41 EST 2000 i586 unknown
Architecture: i586
Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc
/usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
Compilation info: CC='gcc' CFLAGS='-O6 -mpentium
-fomit-frame-pointer' CXX='gcc' CXXFLAGS='-O6 -mpentium -fomit-frame-poin\
ter -felide-constructors' LDFLAGS='-static'
LIBC:
lrwxrwxrwx 1 root root 13 Nov 28 23:48 /lib/libc.so.6 ->
libc-2.1.3.so
-rwxr-xr-x 1 root root 4101324 Feb 29 2000 /lib/libc-2.1.3.so
-rw-r--r-- 1 root root 20272704 Feb 29 2000 /usr/lib/libc.a
-rw-r--r-- 1 root root 178 Feb 29 2000 /usr/lib/libc.so
Configure command: ./configure --prefix=/usr/local/mysql
'--with-comment=Official MySQL binary' --with-extra-charsets=comple\
x --enable-assembler --with-mysqld-ldflags=-all-static
--with-client-ldflags=-all-static --disable-shared
Perl: This is perl, version 5.005_03 built for i386-linux
Thanks and regards
***********************************************************************
Simone Gommaraschi I.NET S.p.A.
e-mail: [EMAIL PROTECTED] - High Quality Access to the Internet
Via Caldera, 21/D - 20153 Milano - Direzione Tecnica - Housing Group
Tel. 02-409061 / Fax. 02-40906303 Home Page URL: http://www.inet.it
***********************************************************************
I.NET e' associata ad AIIP (Associazione Italiana Internet Providers)
***********************************************************************
PGP Key - http://www.programmi.to/key/public.asc
***********************************************************************
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <mysql-unsubscribe-##L=##[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php