Re: Can you help me with this: Bug #11055: segmentation fault & core dump during make

From: Date: Wed, 23 May 2001 18:06:06 +0000
Subject: Re: Can you help me with this: Bug #11055: segmentation fault & core dump during make
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-54104@lists.php.net to get a copy of this message
Sorry no, never touch sybase yet. - Markus On Wed, May 23, 2001 at 04:58:53PM +0200, louigi600@gsmbox.it wrote : > > > From: louigi600@gsmbox.it > > > Operating system: linux 2.2.14 (RH 6.2) > > > PHP version: 4.0.5 > > > PHP Bug Type: Sybase-ct (ctlib) related > > > Bug description: segmentation fauld & core dump during make > > > > > > downloaded free sybase-ct libs from link in faq from php site. > > > unpacked in /sybase-ct > > > fixed /etc/ld.so.conf & ran ldconfig > > > > > > then tried to compile php with sybase-ct support (in order to access > > MSSQL server) as a DSO module: > > > > > > [root@linux php-4.0.5]# ./configure --with-mysql --with-apxs > > --enable-sockets --with-oracle=/mnt/ora_syb/ora/app/oracle/product/8.0.5 > > --with-sybase-ct=/sybase-ct > > > > > > went fine then ran: > > > [root@linux php-4.0.5]# make > > > > > > got the following error: > > > > > > make[1]: Entering directory `/mnt/ora_syb/php-4.0.5' > > > /bin/sh /mnt/ora_syb/php-4.0.5/libtool --silent --mode=link gcc -I. > > -I/mnt/ora_syb/php-4.0.5/ -I/mnt/ora_syb/php-4.0.5/main > > -I/mnt/ora_syb/php-4.0.5 -I/usr/include/apache > > -I/mnt/ora_syb/php-4.0.5/Zend > > -I/mnt/ora_syb/php-4.0.5/ext/mysql/libmysql > > -I/mnt/ora_syb/ora/app/oracle/product/8.0.5/rdbms/demo > > -I/mnt/ora_syb/ora/app/oracle/product/8.0.5/network/public > > -I/mnt/ora_syb/ora/app/oracle/product/8.0.5/plsql/public > > -I/sybase-ct/include -I/mnt/ora_syb/php-4.0.5/ext/xml/expat/xmltok > > -I/mnt/ora_syb/php-4.0.5/ext/xml/expat/xmlparse > > -I/mnt/ora_syb/php-4.0.5/TSRM -DLINUX=2 -DEAPI -DUSE_EXPAT > > -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -o libphp4.la -rpath > > /mnt/ora_syb/php-4.0.5/libs -avoid-version > > -L/mnt/ora_syb/ora/app/oracle/product/8.0.5/lib -L/sybase-ct/lib -R > > /mnt/ora_syb/ora/app/oracle/product/8.0.5/lib -R /sybase-ct/lib stub.lo > > Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la > > ext/mysql/libmysql.la ext/oracle/liboracle.la ext/pcre/libpcre.la > > > ext/posix/libposix.la ext/session/libsession.la > > ext/sockets/libsockets.la ext/standard/libstandard.la > > ext/sybase_ct/libsybase_ct.la ext/xml/libxml.la TSRM/libtsrm.la -lpam > > -ldl -linsck -lsybtcl -lintl -lcomn -lct -lcs -lclntsh -lpsa -lcore4 > > -lnlsrtl3 -lm -lnsl -lresolv -lm -ldl -lcrypt -lnsl -lresolv > > > collect2: ld terminated with signal 11 [Segmentation fault], core > > dumped > > > /sybase-ct/lib/libct.a(ctconpr.o)(.text+0x5ac): undefined reference to > > `comn_loc_copy' > > > make[1]: *** [libphp4.la] Error 1 > > > make[1]: Leaving directory `/mnt/ora_syb/php-4.0.5' > > > make: *** [all-recursive] Error 1 > > > N.B. > > > previous run witout sybase-ct support went fine! > > > > > > dont know if it will help but, try php 4.0.6rc1 from > > http://www.php.net/~andi/php-4.0.6RC1.tar.gz or try a > > 4.0.7-dev > > snapshot from http://snaps.php.net/php4-latest.tar.gz > > Cameron > > Since the error comes from : > /sybase-ct/lib/libct.a(ctconpr.o)(.text+0x5ac): undefined reference to > `comn_loc_copy' > > I feel that this will not solve the problem ... as in effect it did not. > I see that some people solved similar problems by doungrading to version > 4.0.3 ... could this be a solution for my problem ? > where can I get these old sources (on php site oldest version avalible is > 4.0.4) ? > Can any body suggest any other solution ? > > By dave > > > ----------------------------------------------------------------- > Questo messaggio ? stato inviato utilizzando > http://it.my.gsmbox.com -- Markus Fischer, http://josefine.ben.tuwien.ac.at/~mfischer/ EMail: mfischer@josefine.ben.tuwien.ac.at PGP Public Key: http://josefine.ben.tuwien.ac.at/~mfischer/C2272BD0.asc PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0

« previous php.general (#54104) next »