Re: Explicit LOAD and dynamic library loading - Mailing list pgsql-general

From Tom Lane
Subject Re: Explicit LOAD and dynamic library loading
Date
Msg-id 8521.1371092903@sss.pgh.pa.us
Whole thread Raw
In response to Explicit LOAD and dynamic library loading  (Stephen Scheck <singularsyntax@gmail.com>)
Responses Re: Explicit LOAD and dynamic library loading  (Stephen Scheck <singularsyntax@gmail.com>)
List pgsql-general
Stephen Scheck <singularsyntax@gmail.com> writes:
> However, whenever I run one of the UDTs defined in bar, I get this error
> message:

> dev=# SELECT * FROM test1 WHERE (info(bar_dat)).some_prop = 10;
> ERROR:  could not load library
> "/vol/data/home/postgres/pg-builds/9.2.4/lib/bar.so":
> /vol/data/home/postgres/pg-builds/9.2.4/lib/bar.so: undefined symbol:
> foo_func1

I'm betting an rpath problem.  Is this a Linux-oid system?  What does
"ldd /vol/data/home/postgres/pg-builds/9.2.4/lib/bar.so" say?  Is there
any option to set rpath in the link command for bar.so?

            regards, tom lane


pgsql-general by date:

Previous
From: chuydb
Date:
Subject: Re: Get multiple columns with counts from one table.
Next
From: Stephen Scheck
Date:
Subject: Re: Explicit LOAD and dynamic library loading