Bug #3217: ld error when compiling as Apache DSO and --with-mysql

From: Date: Fri, 14 Jan 2000 22:00:50 +0000
Subject: Bug #3217: ld error when compiling as Apache DSO and --with-mysql
Groups: php.dev 
Request: Send a blank email to php-dev+get-14645@lists.php.net to get a copy of this message
From: nathanl@pswtech.com Operating system: AIX 4.3.2 PHP version: 3.0.14 PHP Bug Type: Compile Failure Bug description: ld error when compiling as Apache DSO and --with-mysql Software: AIX 4.3.2 Apache 1.3.9 PHP 3.0.14 MySQL 3.22.29 gcc/g++ 2.95.2 GNU make 3.78.1 Procedure: Extract the Apache, PHP, and MySQL tarballs under /usr/local/src. Compile and install MySQL first: # cd /usr/local/src/mysql-3.22.29 # CC="gcc -DHAVE_INT_8_16_32" \ CXX="gcc -O3 -DHAVE_INT_8_16_32" \ ./configure --prefix=/usr/local/mysql # make # make install Then configure and install Apache (the Apache configure finds gcc fine; no special options needed): # cd /usr/local/src/apache_1.3.9 # ./configure --prefix=/usr/local/apache \ --enable-module=most \ --enable-shared=max \ --enable-rule=SHARED_CORE \ --disable-rule=WANTHSREGEX # make # make install And on to PHP (again, using gcc): # cd /usr/local/src/php-3.0.14 # ./configure --with-apxs=/usr/local/apache/bin/apxs \ --with-mysql=/usr/local/mysql \ --with-system-regex # make ...<output>... ld -H512 -T512 -bhalt:4 -bM:SRE -bnoentry -bI:/usr/local/apache/libexec/httpd.exp -lc -o libphp3.so ./mod_php3.o libmodphp3-so.a -L/usr/local/lib -L/usr/local/mysql/lib/mysql -lmysqlclient pcrelib/libpcre.a -lm -lbind -Lpcrelib -lpcre -L/usr/local/mysql/lib/mysql ld: 0711-244 ERROR: No csects or exported symbols have been saved. apxs:Break: Command failed with rc=524288 make: *** [libphp3.so] Error 1 <end of output> I've seen this in a discussion board on phpbuilder.com-- http://www.geocrawler.com/archives/3/1/2000/1/0/3074292/ --but couldn't find it written up in the bug list. Thanks, Nathan Lynch

« previous php.dev (#14645) next »