Re: PHP 4.0 Bug #5394 Updated: Linking problem with libphp4.a and libmodphp4.a

From: Date: Tue, 05 Dec 2000 11:40:31 +0000
Subject: Re: PHP 4.0 Bug #5394 Updated: Linking problem with libphp4.a and libmodphp4.a
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-40112@lists.php.net to get a copy of this message
Hi Jani, > ID: 5394 > Updated by: sniper > Reported By: bnies@hsr.ch > Status: Feedback > Bug Type: Compile Failure > Assigned To: > Comments: > > Is this still unsolved? Have you tried configuring apache (the 2nd configure) > with leaving out --enable-module=php4 ? I tried to compile Apache + PHP + Mysql on a fresh HP-UX 11.00 installation with the latest recommended patches. No GNU-C compiler. Only HP ANSI-C/C++ compiler. The result is different: MySQL ----- mkdir -p /opt/mysql/src cd /opt/mysql/src gzcat mysql-3.22.32.tar.gz |tar -xvf - cd mysql-3.22.32 CC="cc -Ae" CXX="aCC" \ ./configure --prefix=/opt/mysql\ --with-pthread\ --with-named-thread-libs=-lpthread\ --with-low-memory make make check make install ./scripts/mysql_install_db Apache + PHP, static -------------------- mkdir -p /opt/apache/src cd /opt/apache/src gzcat apache_1.3.14.tar.gz |tar -xvf - gzcat php-4.0.3pl1.tar.gz |tar -xvf - cd apache_1.3.14 ./configure --prefix=/opt/apache cd ../php-4.0.3pl1 ./configure --prefix=/opt/apache \ --with-apache=../apache_1.3.14 \ --enable-memory-limit=yes \ --enable-debug=no \ --with-config-file-path=/opt/apache \ --with-mysql=/opt/mysql make make install cd ../apache_1.3.14 ./configure \ --prefix=/opt/apache \ --activate-module=src/modules/php4/libphp4.a make The errors I get this time when trying to do a make the second time: ===> src ===> src/os/unix <=== src/os/unix ===> src/ap <=== src/ap ===> src/main ./gen_test_char >test_char.h ./gen_uri_delims >uri_delims.h cc -c -I../os/unix -I../include -DHPUX11 -Aa -Ae -D_HPUX_SOURCE -I/opt/apache/src/php-4.0.3pl1 -I/opt/apache/src/php-4.0.3pl1/main -I/opt/apache/src/php-4.0.3pl1/main -I/opt/apache/src/php-4.0.3pl1/Zend -I/opt/apache/src/php-4.0.3pl1/Zend -I/opt/apache/src/php-4.0.3pl1/TSRM -I/opt/apache/src/php-4.0.3pl1/TSRM -I/opt/apache/src/php-4.0.3pl1 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED ../apaci util.c cc -c -I../os/unix -I../include -DHPUX11 -Aa -Ae -D_HPUX_SOURCE -I/opt/apache/src/php-4.0.3pl1 -I/opt/apache/src/php-4.0.3pl1/main -I/opt/apache/src/php-4.0.3pl1/main -I/opt/apache/src/php-4.0.3pl1/Zend -I/opt/apache/src/php-4.0.3pl1/Zend -I/opt/apache/src/php-4.0.3pl1/TSRM -I/opt/apache/src/php-4.0.3pl1/TSRM -I/opt/apache/src/php-4.0.3pl1 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED ../apaci util_uri.c rm -f libmain.a ar cr libmain.a alloc.o buff.o http_config.o http_core.o http_log.o http_main.o http_protocol.o http_request.o http_vhost.o util.o util_date.o util_script.o util_uri.o util_md5.o rfc1413.o /bin/true libmain.a <=== src/main ===> src/lib ===> src/lib/expat-lite <=== src/lib/expat-lite <=== src/lib ===> src/modules ===> src/modules/standard <=== src/modules/standard ===> src/modules/php4 <=== src/modules/php4 <=== src/modules cc -c -I./os/unix -I./include -DHPUX11 -Aa -Ae -D_HPUX_SOURCE -I/opt/apache/src/php-4.0.3pl1 -I/opt/apache/src/php-4.0.3pl1/main -I/opt/apache/src/php-4.0.3pl1/main -I/opt/apache/src/php-4.0.3pl1/Zend -I/opt/apache/src/php-4.0.3pl1/Zend -I/opt/apache/src/php-4.0.3pl1/TSRM -I/opt/apache/src/php-4.0.3pl1/TSRM -I/opt/apache/src/php-4.0.3pl1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ./apaci modules.c cc -c -I./os/unix -I./include -DHPUX11 -Aa -Ae -D_HPUX_SOURCE -I/opt/apache/src/php-4.0.3pl1 -I/opt/apache/src/php-4.0.3pl1/main -I/opt/apache/src/php-4.0.3pl1/main -I/opt/apache/src/php-4.0.3pl1/Zend -I/opt/apache/src/php-4.0.3pl1/Zend -I/opt/apache/src/php-4.0.3pl1/TSRM -I/opt/apache/src/php-4.0.3pl1/TSRM -I/opt/apache/src/php-4.0.3pl1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ./apaci buildmark.c cc -DHPUX11 -Aa -Ae -D_HPUX_SOURCE -I/opt/apache/src/php-4.0.3pl1 -I/opt/apache/src/php-4.0.3pl1/main -I/opt/apache/src/php-4.0.3pl1/main -I/opt/apache/src/php-4.0.3pl1/Zend -I/opt/apache/src/php-4.0.3pl1/Zend -I/opt/apache/src/php-4.0.3pl1/TSRM -I/opt/apache/src/php-4.0.3pl1/TSRM -I/opt/apache/src/php-4.0.3pl1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ./apaci \ -o httpd buildmark.o modules.o modules/php4/libphp4.a modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -L/opt/mysql/lib/mysql -L/opt/mysql/lib/mysql -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -lmysqlclient -lm -lcrypt -lnsl -lm -lpthread /usr/ccs/bin/ld: Unsatisfied symbols: DL_UNLOAD (code) *** Error exit code 1 Stop. *** Error exit code 1 Stop. *** Error exit code 1 Stop. Thanks in advance. Regards, Bernd -- _ _ ___ ___ | || / __| _ \ Bernd Nies, System Engineer | __ \__ \ / HSR Hochschule, Oberseestr.10, CH-8640 Rapperswil |_||_|___/_|_\ +41-55-2224984, http://www.id.hsr.ch/ bnies@hsr.ch

« previous php.dev (#40112) next »