Re: Oracle, Linux and PHP == seg fault
| From: | thies at digicol dot de | Date: | Fri, 04 Aug 2000 08:24:24 +0000 |
| Subject: | Re: Oracle, Linux and PHP == seg fault | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-1779@lists.php.net to get a copy of this message | ||
On Thu, Aug 03, 2000 at 06:52:09PM -0700, php-db@zimage.com wrote:
> I can't seem to get PHP to play with Oracle. I try to run httpd
> and I get a seg fault. The only thing that worked was the Oracle 8.0.5
> client libs. I tried with the 8.1.5 libs, the 8.1.5.1 libs, the 8.1.6.1
> libs... NOTHING. I tried with Redhat 6.1 and 6.2... NOTHING. I tried
> with different versions of Apache... NOTHING. What the heck is going on?
> Is there something horribly wrong with Oracle's libraries? What's the
> secret???
>
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
> ...Jeff
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-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