Re: RE: PHP 4.0 Bug #6289 Updated: Apache isn't running with PHP4 module with PostrgreSQL support
| From: | Jani Taskinen | Date: | Tue, 17 Oct 2000 23:23:42 +0000 |
| Subject: | Re: RE: PHP 4.0 Bug #6289 Updated: Apache isn't running with PHP4 module with PostrgreSQL support | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-35342@lists.php.net to get a copy of this message | ||
On Tue, 17 Oct 2000, Stanislav Kuba wrote:
>Hi,
>sorry for my late answer.but I was VERY VERY busy last months.
>If I add /usr/local/lib into LD_LIBRARY_PATH Apache starts and everythink
>works fine but I think it isn't optimal.
This is actually (as far as I know) the only way..or could these
'not found lib' situations be solved by some other means (during configure) ?
Are there some switches to give to linker ?? Anyone?
I have always used LD_LIBRARY_PATH when I have had troubles with something
finding some library which isn't located in the 'default' place when
dealing with Solaris. In Linux I have specifified the path in
/etc/ld.so.conf file and run ldconfig.
--Jani
>Stanislav Kuba
>
>> -----Original Message-----
>> From: Bug Database [mailto:php-dev@lists.php.net]
>> Sent: Tuesday, October 03, 2000 4:56 AM
>> To: stanislav.kuba@cz.worldonline.com
>> Subject: PHP 4.0 Bug #6289 Updated: Apache isn't running with PHP4
>> module with PostrgreSQL support
>>
>>
>> ID: 6289
>> Updated by: sniper
>> Reported By: stanislav.kuba@cz.worldonline.com
>> Status: Closed
>> Bug Type: PostgreSQL related
>> Assigned To:
>> Comments:
>>
>> No feedback. --Jani
>>
>> Previous Comments:
>> --------------------------------------------------------------
>> -------------
>>
>> [2000-08-26 09:20:51] sniper@php.net
>> If you don't have it already, try adding /usr/local/lib into
>> LD_LIBRARY_PATH. Please report back whether this helps or not. --Jani
>>
>> --------------------------------------------------------------
>> -------------
>>
>> [2000-08-22 03:53:45] stanislav.kuba@cz.worldonline.com
>> If I compile PHP4 module with PostgreSQL support compilation
>> is OK. But apache cannot start (it cannot find libpq.so). The
>> PHP3 module is without problem. I use this configure
>> parametrs. ./configure --with-pgsql
>> --with-apxs=/usr/local/apache/bin/apxs or ./configure
>> --with-pgsql=/usr/local/
>> --with-apxs=/usr/local/apache/bin/apxs and I have
>> PostgreSQL in /usr/local/. The library libpq.so is in
>> /usr/local/lib. I have PostgreSQL 6.5 Apache 1.3.9
>>
>> --------------------------------------------------------------
>> -------------
>>
>>
>> Full Bug description available at:
>> http://bugs.php.net/?id=6289
>>
>
>
>
--
Joo.