Re: Problem with dlopen and PostgreSQL - load of file failed

From: Klaus Klein <kleink(at)ira(dot)uka(dot)de>
To: "D'Arcy \"J(dot)M(dot)\" Cain" <darcy(at)druid(dot)net>
Cc: current-users(at)NetBSD(dot)org, hackers(at)PostgreSQL(dot)org
Subject: Re: Problem with dlopen and PostgreSQL - load of file failed
Date: 1999-07-25 19:48:09
Message-ID: 87zp0kse85.fsf@aragain.dau.rfc1918
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>>>>> "D'Arcy" == J M <D> writes:

D'Arcy> ERROR: Load of file /usr/pgsql/modules/glaccount.so
D'Arcy> failed: dlopen (/usr/pgsql/modules/glaccount.so) failed

D'Arcy> The error message isn't very informative. Is there some
D'Arcy> way to get more information on why the load failed?

For more information you can try to set LD_DEBUG to a non-null value
in the execution environment - the shared loader should give you a
hint what's going on; as an alternative, you can add a call to
dlerror() at the place in question and print the string returned.
(The code should probably do that anyway, but if it already does and
dlerror() returned a null pointer that would be a bug in the shared
loader.)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-07-25 19:51:18 Re: [HACKERS] A multi-lang patch for psql 6.5.1
Previous Message Bruce Momjian 1999-07-25 19:40:50 Re: [HACKERS] 6.5.2