pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
DBI::Pg problems
4+ messages / 4 participants
[nested] [flat]

* DBI::Pg problems
@ 2001-06-06 12:01  Chris Hayner <hayner80@astro.ocis.temple.edu>
  0 siblings, 3 replies; 4+ messages in thread

From: Chris Hayner @ 2001-06-06 12:01 UTC (permalink / raw)
  To: pgsql-interfaces

Good Morning All,

I am having all kinds of problems with the DBI::Pg module. Installing
(mistakenly) as root, everything works fine. However, when I redo the
install as a normal user as per the instructions i read a little late, I
get the following error message.


ld.so.1: perl: fatal: relocation error: file
/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/DBD/Pg/Pg.so:
symbol PQconnectdb: referenced symbol not found

Any assistance would be greatly appreciated.

--chris hayner




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

* Re: DBI::Pg problems
@ 2001-06-06 15:07  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Chris Hayner <hayner80@astro.ocis.temple.edu>
  2 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2001-06-06 15:07 UTC (permalink / raw)
  To: Chris Hayner <hayner80@astro.ocis.temple.edu>; +Cc: pgsql-interfaces

Chris Hayner <hayner80@astro.ocis.temple.edu> writes:
> ld.so.1: perl: fatal: relocation error: file
> /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/DBD/Pg/Pg.so:
> symbol PQconnectdb: referenced symbol not found

Looks like you need to teach your dynamic loader where to find libpq.so.
Dunno how that's done on Solaris.

			regards, tom lane



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

* Re: DBI::Pg problems
@ 2001-06-06 15:56  Peter Eisentraut <peter_e@gmx.net>
  parent: Chris Hayner <hayner80@astro.ocis.temple.edu>
  2 siblings, 0 replies; 4+ messages in thread

From: Peter Eisentraut @ 2001-06-06 15:56 UTC (permalink / raw)
  To: Chris Hayner <hayner80@astro.ocis.temple.edu>; +Cc: pgsql-interfaces

Chris Hayner writes:

> ld.so.1: perl: fatal: relocation error: file
> /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/DBD/Pg/Pg.so:
> symbol PQconnectdb: referenced symbol not found

export LD_LIBRARY_PATH=/usr/local/pgsql/lib # or whereever

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter




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

* Re: DBI::Pg problems
@ 2001-06-07 16:49  Richard Poole <richard.poole@vi.net>
  parent: Chris Hayner <hayner80@astro.ocis.temple.edu>
  2 siblings, 0 replies; 4+ messages in thread

From: Richard Poole @ 2001-06-07 16:49 UTC (permalink / raw)
  To: Chris Hayner <hayner80@astro.ocis.temple.edu>; +Cc: pgsql-interfaces

On Wed, Jun 06, 2001 at 08:01:14AM -0400, Chris Hayner wrote:
> Good Morning All,
> 
> I am having all kinds of problems with the DBI::Pg module. Installing
> (mistakenly) as root, everything works fine. However, when I redo the
> install as a normal user as per the instructions i read a little late, I
> get the following error message.
> 
> 
> ld.so.1: perl: fatal: relocation error: file
> /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/DBD/Pg/Pg.so:
> symbol PQconnectdb: referenced symbol not found
> 
> Any assistance would be greatly appreciated.



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


end of thread, other threads:[~2001-06-07 16:49 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-06-06 12:01 DBI::Pg problems Chris Hayner <hayner80@astro.ocis.temple.edu>
2001-06-06 15:07 ` Tom Lane <tgl@sss.pgh.pa.us>
2001-06-06 15:56 ` Peter Eisentraut <peter_e@gmx.net>
2001-06-07 16:49 ` Richard Poole <richard.poole@vi.net>

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