Re: DSO installation problem --with-oci8
| From: | thies at digicol dot de | Date: | Wed, 30 Aug 2000 09:50:20 +0000 |
| Subject: | Re: DSO installation problem --with-oci8 | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-2473@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 Tue, Aug 29, 2000 at 03:59:46PM -0600, Dirkson, Kevin wrote:
> I had the same problem where HTTPD would die immediately
> after starting when using PHP as a DSO.
>
> For me, I had to explicitly set:
>
> "--prefix=/my/dir"
> "--exec-prefix=/my/dir"
>
> when configuring PHP.
> The only other difference in our configuration is that we
> didn't need mysql configured so it was set to:
> "--with-mysql=no"
>
> Also, did you copy the "php.ini-dist" file to
> your "--with-config-file-path=" dir. and rename it "php.ini"?
>
> Hope this helps,
> Kevin Dirkson
> "Contents under pressure. May cause eye or other serious injury."
>
>
> -----Original Message-----
> From: Daniel Landau [mailto:nprolog@postalmodern.com]
> Sent: Tuesday, August 29, 2000 3:39 PM
> To: php-install@lists.php.net; php-db@lists.php.net
> Subject: [PHP-DB] DSO installation problem --with-oci8
>
>
> I've been having trouble installing php4.0.1pl2 as a DSO with Oracle support
> under Redhat 6.2. Here the config string:
>
> ./configure --with-apxs=/usr/sbin/apxs --enable-track-vars --with-config-fi
> le-path=/etc/httpd/conf/ --with-mysql --with-oci8
>
> I don't get any complaints during compilation, but httpd dies immeadiately
> when starting.
>
> Any thoughts?
>
> Thanx,
>
> -Daniel
>
>
> --
> 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
>
> --
> 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