Bug #1490: undefined symbols

From: Date: Thu, 03 Jun 1999 19:36:39 +0000
Subject: Bug #1490: undefined symbols
Groups: php.dev 
Request: Send a blank email to php-dev+get-6528@lists.php.net to get a copy of this message
From: luc.germain@courrier.usherb.ca Operating system: aix 4.2.1 PHP version: 3.0.7 PHP Bug Type: Compile Failure Bug description: undefined symbols When compiling php3 with support for IMAP and MySQL, on AIX 4.2.1, I have undefined symbols on link: ld -H512 -T512 -bhalt:4 -bM:SRE -bnoentry -bI:../../support/httpd.exp - bE:echo libphp3.so|sed -e 's:\.so$:.exp:' -lc -o libphp3.so mod_php3.so-o libm odphp3-so.a -R/prog/mysql/lib -L/prog/mysql/lib -lmysqlclient -L/prog/li b -R/prog/lib -lldap -llber -L/prog/lib -lc-client -lm -ldl -l nsl -lld ld: 0706-027 The -R /prog/mysql/lib flag is ignored. ld: 0706-027 The -R /prog/lib flag is ignored. ld: 0711-317 ERROR: Undefined symbol: .__udivdi3 ld: 0711-317 ERROR: Undefined symbol: .loginrestrictions ld: 0711-317 ERROR: Undefined symbol: .authenticate Please note that -R option is not working for ld on AIX 4.2.1 (but configure think it does). The __udivdi3 symbol can be found in /prog/mysql/lib/libmygcc.a (used for mysql support) and the 2 others are found in /usr/lib/libs.a (used for imap support). Theses librairies should be added by "configure". Thanks

« previous php.dev (#6528) next »