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