Search Postgresql Archives

Re: Explicit LOAD and dynamic library loading

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stephen Scheck <singularsyntax@xxxxxxxxx> 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


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux