Re: Problem with dlopen and PostgreSQL - load of file failed - Mailing list pgsql-hackers

From Klaus Klein
Subject Re: Problem with dlopen and PostgreSQL - load of file failed
Date
Msg-id 87zp0kse85.fsf@aragain.dau.rfc1918
Whole thread Raw
In response to Problem with dlopen and PostgreSQL - load of file failed  ("D'Arcy" "J.M." Cain <darcy@druid.net>)
List 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
loadfailed?
 

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.)


pgsql-hackers by date:

Previous
From: Cd Chen
Date:
Subject: A multi-lang patch for psql 6.5.1
Next
From: "Hub.Org News Admin"
Date:
Subject: ...