Re: Pracle8, PHP4 and Apache

From: Date: Tue, 08 Aug 2000 11:20:49 +0000
Subject: Re: Pracle8, PHP4 and Apache
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-10629@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 finxed in 2.2 (i heard). tc On Tue, Aug 08, 2000 at 02:49:22PM +0300, Radu Filip wrote: > > Hi! I have a serious problem that I have to resole it as soon as possible: > > On a Linux box (RedHat 6.2) I installed Oracle 8.1.6 and everything is ok > until now. Now I need to compile PHP4 with OCI8 support. I downloaded > php-4.0.1pl2.tar.gz and I configure it with the following options: > ./configure --with-apxs --with-oci8 --enable-sigchild > Enviroment variable ORACLE_HOME exists and contains the correct path. > After that I issued "make" and "make install", I created a symbolic link > in /usr/lib for libclntsh.so.8, I issued "ldconfig" and I add > required AddType directive in httpd.conf. So far, so good. > > But when I restart Apache, it crashed without any error message. No > "resuming normal operations" note was written in error_log. > > I issued a "make distclean" in php source directory and then I recompile > it without --enable-sigchild (although it recommends me to include it for > Oracle >= 8.1.5), I compiled it and instaled it again and a started Apache > again. With the same fatal result: crash. > > The courious thing is that when I compile php4 again only with --with-apxs > and without oci8 support (without --with-oci8 and > --enable-sigchild) Apache started correctly and php4 working. > > So, my BIG problem is why I cannot have a operational Apache server with > php4 compiled with OCI8 support? > > I'm so desperate that I beg everyone who run Oracle 8.1.6 on a Linux > server and that have php4 compiled with oci8, to send me libphp4.so by > e-mail, if this could help. > > Apache server is one from RH 6.2 distribution (1.3.12-2) and my kernel > version is 2.2.16 > > Thx a lot in advance, > Radu > > -- > Radu Filip > Network Administrator @CCTI | tuiasi.ro > radu@tuiasi.ro ccti@tuiasi.ro > http://socrate.tuiasi.ro/ > http://www.ccti.tuiasi.ro/ > > > -- > 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 (#10629) next »