Re: note 7588 added to OCILogon
| From: | Rasmus Lerdorf | Date: | Tue, 08 Aug 2000 15:03:40 +0000 |
| Subject: | Re: note 7588 added to OCILogon | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-717@lists.php.net to get a copy of this message | ||
Please direct questions like this to the php-install@lists.php.net mailing
list.
Try linking your httpd against libpthreads. There is a bug in glibc-2.1.x
which prevents a binary not linked against libpthreads from correctly
dynamically loading a shared library that has been linked against
pthreads. The Oracle client libs didn't use to be linked against pthreads
(as of 8.0.5), but the 8.1.x libs are.
-Rasmus
On 8 Aug 2000 radu@tuiasi.ro wrote:
> I installed Oracle 8.1.6 on a Linux (RH 6.2) box.
>
> I compiled php4.0.1pl2 with the options:
> ./configure --with-apxs --with-oci8 --enable-sigchild
>
> ($ORACLE_HOME has corect path). All was ok, I issued "make" and "make
> install", I configured httpd.conf and then I created a symbolic link in /usr/lib for
> libclntsh.8 and I issued "ldconfig".
>
> The problem is that Apache crashed immediatly after start. I recompiled again php without
> --enable-sigchild and the result was the same. But when I compiled php without oci8 and sigchild,
> Apache worked normally.
>
> So why Apache crash when I stared it with php compiled with oci8 [and with enable-sigchild]?
>
> Thx,
> Radu
>
>
> http://www.php.net/manual/function.ocilogon.php
>
>
>