From: | "Lee Wu" <Lwu(at)mxlogic(dot)com> |
---|---|
To: | <pgsql-admin(at)postgresql(dot)org> |
Subject: | C function from 7.3.2 to 7.4.3 |
Date: | 2004-07-01 20:25:02 |
Message-ID: | ECAB83AA52BCC043A0E24BBC00001024111291@mxhq-exch.corp.mxlogic.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Greetings,
I have some C functions (was compiled against 7.3.2, I think)
CREATE FUNCTION "mud" () RETURNS TRIGGER AS '/xxx/pgsql/lib/du.so',
'mud' LANGUAGE 'C';
It runs fine under 7.3.2, but I will get error when run the above CREATE
FUNCTION under 7.4.3.
ERROR: could not load library "/xxx/lib/du.so": /xxx/lib/du.so:
undefined symbol: elog
The 7.3.2 version is under /xxx/pgsql and 7.4.3 is under /tmp/pgsql
I have LD_LIBRARY_PATH and PGLIB to include /xxx/pgsql/lib
Do I need to re-compile C functions against 7.4.3 or something else I
missed?
I have tried to copy du.so from /xxx/pgsql/lib to /tmp/pgsql/lib and got
the same error.
Thanks,
From | Date | Subject | |
---|---|---|---|
Next Message | Joe Conway | 2004-07-01 20:36:48 | Re: C function from 7.3.2 to 7.4.3 |
Previous Message | Tom Lane | 2004-07-01 17:55:19 | Re: unable to pass variable PGDATA2 into server environment |