pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
install woes
7+ messages / 5 participants
[nested] [flat]

* install woes
@ 2000-10-26 11:52  Mike E <mee@quidquam.com>
  0 siblings, 4 replies; 7+ messages in thread

From: Mike E @ 2000-10-26 11:52 UTC (permalink / raw)
  To: pgsql-php

Hello,

Tonight I installed apache 1.3.14, mysql, postgres, and php4.0.3pl1
on my slack box at home. However, I'm running into trouble installing
php w/ postgres. When I apachectl start, I get:

	Cannot load /usr/local/apache/libexec/libphp4.so into server:
	libpq.so.2.1: cannot open shared object file: No such file or
	directory

I have libpq.so.2.1 in /usr/local/pgsql/lib by default, and I copied
it into /usr/local/apache/libexec just for fun, but that didn't
work. Does anyone know of a good web page or have any tips ideas
on how to get this working?

Thanks.
Mike

-- 
Mike Erickson <mee@quidquam> http://www.quidquam.com/
"Hatred is the coward's revenge for being intimidated" - George Bernard Shaw



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: install woes
@ 2000-10-26 15:07  Stephen van Egmond <svanegmond@bang.dhs.org>
  parent: Mike E <mee@quidquam.com>
  3 siblings, 2 replies; 7+ messages in thread

From: Stephen van Egmond @ 2000-10-26 15:07 UTC (permalink / raw)
  To: pgsql-php

Mike E (mee@quidquam.com) wrote:
> Tonight I installed apache 1.3.14, mysql, postgres, and php4.0.3pl1
> on my slack box at home. However, I'm running into trouble installing
> php w/ postgres. When I apachectl start, I get:
> 
> 	Cannot load /usr/local/apache/libexec/libphp4.so into server:
> 	libpq.so.2.1: cannot open shared object file: No such file or
> 	directory
> 
> I have libpq.so.2.1 in /usr/local/pgsql/lib by default, and I copied
> it into /usr/local/apache/libexec just for fun, but that didn't
> work. Does anyone know of a good web page or have any tips ideas
> on how to get this working?

I think this is in the FAQ... somewhere.  I'm sure I've seen it in the
build instructions.

I think you need to change your library search path, to explicitly
include /usr/local/pgsql/lib/ .  I have seen suggestions that you edit
/etc/ld.so.conf . It found this creepy, so I symlink'ed it in with all
my other libraries in /usr/lib/ .



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: install woes
@ 2000-10-26 15:17  Rodrigo Fernandez <rocket@fisicc-ufm.edu>
  parent: Mike E <mee@quidquam.com>
  3 siblings, 0 replies; 7+ messages in thread

From: Rodrigo Fernandez @ 2000-10-26 15:17 UTC (permalink / raw)
  To: pgsql-php

Citando Mike E <mee@quidquam.com>:

> Hello,
> 
> Tonight I installed apache 1.3.14, mysql, postgres, and php4.0.3pl1
> on my slack box at home. However, I\'m running into trouble installing
> php w/ postgres. When I apachectl start, I get:
> 
> 	Cannot load /usr/local/apache/libexec/libphp4.so into server:
> 	libpq.so.2.1: cannot open shared object file: No such file or
> 	directory
> 
> I have libpq.so.2.1 in /usr/local/pgsql/lib by default, and I copied
> it into /usr/local/apache/libexec just for fun, but that didn\'t
> work. Does anyone know of a good web page or have any tips ideas
> on how to get this working?
> 

You should the path that is especifid en the httpd.conf of apache,
there should be a line like this:

LoadModule php4_module        libexec/apache/libphp4.so

this path is relative to the base of apache, in redhat 6.x it should
be something like /etc/httpd.

Rodrigo F.



-----------------------------------------------------
This mail sent through IMP: http://web.horde.org/imp/



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: install woes
@ 2000-10-26 15:50  Adam Lang <aalang@rutgersinsurance.com>
  parent: Mike E <mee@quidquam.com>
  3 siblings, 0 replies; 7+ messages in thread

From: Adam Lang @ 2000-10-26 15:50 UTC (permalink / raw)
  To: pgsql-php

I use the php.net documentation... can'r find the specific page I used, but
here is the same info:  Juct click on installation in the table of contents.

http://www.php.net/distributions/bigmanual.html

Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
----- Original Message -----
From: "Mike E" <mee@quidquam.com>
To: <pgsql-php@postgresql.org>
Sent: Thursday, October 26, 2000 7:52 AM
Subject: install woes


> Hello,
>
> Tonight I installed apache 1.3.14, mysql, postgres, and php4.0.3pl1
> on my slack box at home. However, I'm running into trouble installing
> php w/ postgres. When I apachectl start, I get:
>
> Cannot load /usr/local/apache/libexec/libphp4.so into server:
> libpq.so.2.1: cannot open shared object file: No such file or
> directory
>
> I have libpq.so.2.1 in /usr/local/pgsql/lib by default, and I copied
> it into /usr/local/apache/libexec just for fun, but that didn't
> work. Does anyone know of a good web page or have any tips ideas
> on how to get this working?
>
> Thanks.
> Mike
>
> --
> Mike Erickson <mee@quidquam> http://www.quidquam.com/
> "Hatred is the coward's revenge for being intimidated" - George Bernard
Shaw




^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: install woes
@ 2000-10-26 18:32  Adam Lang <aalang@rutgersinsurance.com>
  parent: Stephen van Egmond <svanegmond@bang.dhs.org>
  1 sibling, 0 replies; 7+ messages in thread

From: Adam Lang @ 2000-10-26 18:32 UTC (permalink / raw)
  To: pgsql-php

I entered the path in the ld.so.conf and then ran (I think) ldso.  I did it
initially and had no problem ith that error.

Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
----- Original Message -----
From: "Stephen van Egmond" <svanegmond@bang.dhs.org>
To: <pgsql-php@postgresql.org>
Sent: Thursday, October 26, 2000 11:07 AM
Subject: Re: install woes


> Mike E (mee@quidquam.com) wrote:
> > Tonight I installed apache 1.3.14, mysql, postgres, and php4.0.3pl1
> > on my slack box at home. However, I'm running into trouble installing
> > php w/ postgres. When I apachectl start, I get:
> >
> > Cannot load /usr/local/apache/libexec/libphp4.so into server:
> > libpq.so.2.1: cannot open shared object file: No such file or
> > directory
> >
> > I have libpq.so.2.1 in /usr/local/pgsql/lib by default, and I copied
> > it into /usr/local/apache/libexec just for fun, but that didn't
> > work. Does anyone know of a good web page or have any tips ideas
> > on how to get this working?
>
> I think this is in the FAQ... somewhere.  I'm sure I've seen it in the
> build instructions.
>
> I think you need to change your library search path, to explicitly
> include /usr/local/pgsql/lib/ .  I have seen suggestions that you edit
> /etc/ld.so.conf . It found this creepy, so I symlink'ed it in with all
> my other libraries in /usr/lib/ .




^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: install woes
@ 2000-10-26 22:16  Chris <csmith@squiz.net>
  parent: Stephen van Egmond <svanegmond@bang.dhs.org>
  1 sibling, 0 replies; 7+ messages in thread

From: Chris @ 2000-10-26 22:16 UTC (permalink / raw)
  To: pgsql-php


>I entered the path in the ld.so.conf and then ran (I think) ldso.  I did it
>initially and had no problem ith that error.

/usr/sbin/ldconfig is the file you run after adding the line 
/usr/local/pgsql/lib/ into /etc/ld.so.conf i'm pretty sure.
I have this in my quick tutorial,
http://designmagick.50megs.com/postgresql-tutorial/

> > Mike E (mee@quidquam.com) wrote:
> > > Tonight I installed apache 1.3.14, mysql, postgres, and php4.0.3pl1
> > > on my slack box at home. However, I'm running into trouble installing
> > > php w/ postgres. When I apachectl start, I get:
> > >
> > > Cannot load /usr/local/apache/libexec/libphp4.so into server:
> > > libpq.so.2.1: cannot open shared object file: No such file or
> > > directory
> > >
> > > I have libpq.so.2.1 in /usr/local/pgsql/lib by default, and I copied
> > > it into /usr/local/apache/libexec just for fun, but that didn't
> > > work. Does anyone know of a good web page or have any tips ideas
> > > on how to get this working?
> >
> > I think this is in the FAQ... somewhere.  I'm sure I've seen it in the
> > build instructions.
> >
> > I think you need to change your library search path, to explicitly
> > include /usr/local/pgsql/lib/ .  I have seen suggestions that you edit
> > /etc/ld.so.conf . It found this creepy, so I symlink'ed it in with all
> > my other libraries in /usr/lib/ .


------------------------
Chris Smith
http://www.squiz.net



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: install woes
@ 2000-10-27 02:41  Mike E <mee@quidquam.com>
  parent: Mike E <mee@quidquam.com>
  3 siblings, 0 replies; 7+ messages in thread

From: Mike E @ 2000-10-27 02:41 UTC (permalink / raw)
  To: pgsql-php

On Thu, Oct 26, 2000 at 04:52:17AM -0700, Mike E wrote:
> Hello,
> 
> Tonight I installed apache 1.3.14, mysql, postgres, and php4.0.3pl1
> on my slack box at home. However, I'm running into trouble installing
> php w/ postgres. When I apachectl start, I get:
> 
> 	Cannot load /usr/local/apache/libexec/libphp4.so into server:
> 	libpq.so.2.1: cannot open shared object file: No such file or
> 	directory
> [snip]

Thanks to all who helped out. It turns out that indeed my libpq.so.* file wasn't
in the library search path, so I made a symlink from /usr/local/lib and it works.
However, I'll probably change this and add /usr/local/pgsql/lib to the ld.so.conf
because you never know what other pgsql libs might be needed in the future.

Thanks again.

Mike

-- 
Mike Erickson <mee@quidquam> http://www.quidquam.com/
"Hatred is the coward's revenge for being intimidated" - George Bernard Shaw



^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2000-10-27 02:41 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-10-26 11:52 install woes Mike E <mee@quidquam.com>
2000-10-26 15:07 ` Stephen van Egmond <svanegmond@bang.dhs.org>
2000-10-26 18:32   ` Adam Lang <aalang@rutgersinsurance.com>
2000-10-26 22:16   ` Chris <csmith@squiz.net>
2000-10-26 15:17 ` Rodrigo Fernandez <rocket@fisicc-ufm.edu>
2000-10-26 15:50 ` Adam Lang <aalang@rutgersinsurance.com>
2000-10-27 02:41 ` Mike E <mee@quidquam.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox