PHP 4.0 Bug #9950 Updated: Error while running ./configure Apache
| From: | sniper@php.net | Date: | Thu, 29 Mar 2001 14:18:31 +0000 |
| Subject: | PHP 4.0 Bug #9950 Updated: Error while running ./configure Apache | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-50226@lists.php.net to get a copy of this message | ||
ID: 9950
Updated by: sniper
Reported By: smphp@ihost.de
Old-Status: Open
Status: Feedback
Bug Type: Compile Failure
Assigned To:
Comments:
1. Add -lpthread into your apache makefile's LIBS
2. Get the latest CVS snapshot of PHP 4 from http://snaps.php.net/
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-03-29 07:43:50] smphp@ihost.de
I did exactly what is described in
ftp://ftp.suse.com/pub/suse/i386/commercial/Oracle/README.glibc-2.1.3-stubs
After installing Oracle 8.1.7 on SuSE 7.1 (and installing the fix for glibc 2.1 from SuSE), apache
doesn't compile properly anymore. Here's the statement:
./configure --activate-module=src/modules/php4/libphp4.a --prefix=/usr/local/httpd
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc/httpd
And here's the error message I get:
cd ..; gcc -DLINUX=22 -I/sources/php/php-4.0.4pl1 -I/sources/php/php-4.0.4pl1/main
-I/sources/php/php-4.0.4pl1/main -I/sources/php/php-4.0.4pl1/Zend
-I/sources/php/php-4.0.4pl1/Zend -I/sources/php/php-4.0.4pl1/TSRM -I/sources/php/php-4.0.4pl1/TSRM
-I/sources/php/php-4.0.4pl1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
./apaci
-o helpers/dummy
helpers/dummy.c -Wl,-rpath,/opt/oracle/product/8.1.7/lib -rdynamic
-L/opt/oracle/product/8.1.7/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4
-ldl -lm -ldl -lresolv
-lm -ldl -lcrypt -lnsl -lresolv -lclntsh -lm -lcrypt
/usr/lib/libresolv.so: undefined reference to `__res_nclose@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `__sysctl@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `_IO_list_unlock@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `_IO_iter_file@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `getrlimit@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `_IO_list_resetlock@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `_IO_iter_begin@GLIBC_2.2'
/usr/lib/libnsl.so: undefined reference to `svc_getreq_poll@GLIBC_2.2'
/usr/lib/libnsl.so: undefined reference to `__strndup@GLIBC_2.2'
/usr/lib/libnsl.so: undefined reference to `svc_max_pollfd@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `__libc_sigaction@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `_IO_iter_next@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `_IO_iter_end@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `setrlimit@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `_IO_list_lock@GLIBC_2.2'
/usr/lib/libresolv.so: undefined reference to `__res_init@GLIBC_2.2'
/usr/lib/libresolv.so: undefined reference to `__res_ninit@GLIBC_2.2'
/usr/lib/libnsl.so: undefined reference to `svc_pollfd@GLIBC_2.2'
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
It would be great if anyone could help.
Thanks,
Steffen
---------------------------------------------------------------------------
[2001-03-23 03:14:33] smphp@ihost.de
After installing Oracle 8.1.7 on SuSE 7.1 (and installing the fix for glibc 2.1 from SuSE), apache
doesn't compile properly anymore. Here's the statement:
./configure --activate-module=src/modules/php4/libphp4.a --prefix=/usr/local/httpd --bindir=/usr/bin
--sbindir=/usr/sbin --sysconfdir=/etc/httpd
And here's the error message I get:
cd ..; gcc -DLINUX=22 -I/sources/php/php-4.0.4pl1 -I/sources/php/php-4.0.4pl1/main
-I/sources/php/php-4.0.4pl1/main -I/sources/php/php-4.0.4pl1/Zend -I/sources/php/php-4.0.4pl1/Zend
-I/sources/php/php-4.0.4pl1/TSRM -I/sources/php/php-4.0.4pl1/TSRM -I/sources/php/php-4.0.4pl1
-DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ./apaci -o helpers/dummy
helpers/dummy.c -Wl,-rpath,/opt/oracle/product/8.1.7/lib -rdynamic
-L/opt/oracle/product/8.1.7/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4
-ldl -lm -ldl -lresolv -lm -ldl -lcrypt -lnsl -lresolv -lclntsh -lm -lcrypt
/usr/lib/libresolv.so: undefined reference to `__res_nclose@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `__sysctl@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `_IO_list_unlock@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `_IO_iter_file@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `getrlimit@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `_IO_list_resetlock@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `_IO_iter_begin@GLIBC_2.2'
/usr/lib/libnsl.so: undefined reference to `svc_getreq_poll@GLIBC_2.2'
/usr/lib/libnsl.so: undefined reference to `__strndup@GLIBC_2.2'
/usr/lib/libnsl.so: undefined reference to `svc_max_pollfd@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `__libc_sigaction@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `_IO_iter_next@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `_IO_iter_end@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `setrlimit@GLIBC_2.2'
/lib/libpthread.so.0: undefined reference to `_IO_list_lock@GLIBC_2.2'
/usr/lib/libresolv.so: undefined reference to `__res_init@GLIBC_2.2'
/usr/lib/libresolv.so: undefined reference to `__res_ninit@GLIBC_2.2'
/usr/lib/libnsl.so: undefined reference to `svc_pollfd@GLIBC_2.2'
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
It would be great if anyone could help.
Thanks,
Steffen
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9950&edit=2