Re: php-4.0.1_pl2 + oracle 8.0.5 + mysql segmentation fault

From: Date: Fri, 11 Aug 2000 11:01:04 +0000
Subject: Re: php-4.0.1_pl2 + oracle 8.0.5 + mysql segmentation fault
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-11303@lists.php.net to get a copy of this message
please relink your apache adding -lpthread to the LDFLAGS. the problem here is that a executable thats *not* linked agains -lpthread cannot load a shared library that is liked against -lpthread. (libphp4.so - linked against -lclntsh linked against -lpthread). this is a glibc-2.1 bug that supposed to be fixed in 2.2. tc On Fri, Aug 11, 2000 at 05:00:59PM +0700, Anang Syarifudin wrote: > Hi, > > I 've recompiled my php module for apache to add mysql support, I got > segmentaion fault. > Previously my php module works fine (with OCI8 , oracle 8.0.5 support). > > I configured with : > ./configure --with-apxs=/usr/sbin/apxs --with-oci8=/u01/app/oracle/product/8 > .0.5 --with-config-file-path=/etc/php4 --with-system-regex=yes --enable-trac > k-vars=yes --with-imap --enable-bcmath=yes --enable-force-cgi-redirect=yes - > -enable-memory-limit=yes --enable-short-tags=no --enable-track-vars=yes --en > able-sysvshm=yes --enable-sysvsem=yes --with-myasql=/usr > > no error > > make ; make install > > no error > > restart apache , no error. > > httpd -S , segmentation fault. > > from gdb I got : > Core was generated by `/usr/sbin/httpd -S'. > Program terminated with signal 11, Segmentation fault. > #0 0x407e0490 in ?? () > (gdb) where > #0 0x407e0490 in ?? () > #1 0x80592bd in ?? () > #2 0x805b862 in ?? () > #3 0x400b6cb3 in ?? () > (gdb) > > My environtment is : > Linux Redhat kernel 2.2.16 > apache-1.3.12-2 > php-4.0.1_pl2 > oracle 8.0.5 > MySQL-3.22.32-1 > > ldd libphp4.so : > libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x401ae000) > libpam.so.0 => /lib/libpam.so.0 (0x401b4000) > libdl.so.2 => /lib/libdl.so.2 (0x401bc000) > libclntsh.so.1.0 => > /u01/app/oracle/product/8.0.5/lib/libclntsh.so.1.0 (0x401c0000) > libmysqlclient.so.6 => /usr/lib/libmysqlclient.so.6 (0x4053b000) > libttf.so.2 => /usr/lib/libttf.so.2 (0x4054e000) > libgd.so.1 => /usr/lib/libgd.so.1 (0x40563000) > libresolv.so.2 => /lib/libresolv.so.2 (0x40599000) > libm.so.6 => /lib/libm.so.6 (0x405a8000) > libcrypt.so.1 => /lib/libcrypt.so.1 (0x405c5000) > libnsl.so.1 => /lib/libnsl.so.1 (0x405f2000) > libc.so.6 => /lib/libc.so.6 (0x40607000) > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) > libz.so.1 => /usr/lib/libz.so.1 (0x406f5000) > libpthread.so.0 => /lib/libpthread.so.0 (0x40704000) > > Any idea, what i missed ? > > TIA > > Anang > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.general (#11303) next »