Operating System - HP-UX
1834935 Members
2321 Online
110071 Solutions
New Discussion

Re: Problem with php compilation

 
Sutapa Dey
Frequent Advisor

Problem with php compilation

We are having a problem with php compilation the server log gives the message :

[31-Jul-2008 13:01:31] PHP Warning: Unknown(): Unable to load dynamic library '/opt/hpws/apache/php/lib/php/extensions/pgsql
.sl' - Unable to find library 'libpq.so.3'. in Unknown on line 0
[01-Aug-2008 04:12:14] PHP Warning: Unknown(): Unable to load dynamic library '/opt/hpws/apache/php/lib/php/extensions/pgsql
.sl' - Unable to find library 'libpq.so.3'. in Unknown on line 0


Please help...It seems that I am missing something on creating symbolic link for 'libpq.so.3'.

I checked and found 'libpq.so.4' this in my system but not 'libpq.so.3'

/opt/iexpress/postgresql/lib/hpux32/libpq.so.4
/opt/iexpress/postgresql64/lib/hpux64/libpq.so.4
/usr/lib/hpux32/libpq.so.4
/usr/lib/hpux64/libpq.so.4

How can I make a symlink to solve the error??
1 REPLY 1
Steven E. Protter
Exalted Contributor

Re: Problem with php compilation

Shalom,

PHP is provided by HP as part of it LAMP depots, available from http://software.hp.com

Search for apache or hpws and then download and swinstall

Unless you need something HP does not provide, you will probably find this easier and sufficient.

HP had to make changes to the PHP source to make it work on HP-UX. This is what you are running into here.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com