Re: Explicit LOAD and dynamic library loading

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stephen Scheck <singularsyntax(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Explicit LOAD and dynamic library loading
Date: 2013-06-13 03:08:23
Message-ID: 8521.1371092903@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Stephen Scheck <singularsyntax(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephen Scheck 2013-06-13 06:03:37 Re: Explicit LOAD and dynamic library loading
Previous Message chuydb 2013-06-12 23:14:33 Re: Get multiple columns with counts from one table.