Re: Bug #1127 Updated: collect2: ld terminated with signal 11 [Segmentation fault]

From: Date: Mon, 08 Feb 1999 22:43:19 +0000
Subject: Re: Bug #1127 Updated: collect2: ld terminated with signal 11 [Segmentation fault]
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-3990@lists.php.net to get a copy of this message
Zeev, This worked! I really should have tried that earlier. gcc -DLINUX=2 -DUSE_HSREGEX ./apaci \ -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php3/libphp3.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a -Lmodules/php3 -L../modules/php3 -L../../modules/php3 -lmodphp3 -L/usr/local/sybase/lib -lcs -lct -lcomn -lintl -lsybtcl -linsck -lgdbm -Wl,-rpath,/usr/local/mysql/lib -L/usr/local/mysql/lib -lmysqlclient -lm -ldl -lm Moving the Sybase-CT libraries before the -lgdbm made the compilation finish. Thanks for everyone's help! Ben On 8 Feb 1999, Bug Database wrote: > ID: 1127 > Updated by: zeev > Reported By: bginter@abilnet.com > Status: Closed > Bug Type: Compile Failure > Assigned To: > Comments: > > This is most likely a problem with your hardware or with the rest of your setup. It's not > a PHP problem. Read the Sig11 FAQ at http://www.bitwizard.nl/sig11/ > > --- > > Actually, this is most likely not a problem with your setup; > The old Sybase-CT library that's available for Linux libc5 > tends to do that to ld. The reason is that it's originally > an a.out library, that was converted to an ELF library by > hand. > > There's no much logic at getting it to work. Try moving around > the Sybase CT libraries in the linking line to the beginning > of the libraries list, and see if it helps. Move it around > if it doesn't, and try switching among themselves. > > These are the Sybase libraries arguments: > > -L/usr/local/sybase/lib -lcs -lct -lcomn -lintl -lsybtcl -linsck > > > Full Bug description available at: > http://ca.php.net/bugs.php3?id=1127 > -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#3990) next »