469,088 Members | 1,268 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,088 developers. It's quick & easy.

elog undefined?

doing a restore, i get the following error...

[rob@camel bin]$ ./pg_restore -p 5474 -d rms74 RMS74
pg_restore: [archiver (db)] could not execute query: ERROR: could not
load library "/usr/lib/pgsql/pgcrypto.so": /usr/lib/pgsql/pgcrypto.so:
undefined symbol: elog

the dump was from 7.4 pg_dump against a 7.3 database. the thing thats
bugging me is the undefined elog peice; i have a
/usr/lib/pgsql/pgcrypto.so where specified; is it tossing that error
since that pgcrypto.so was compiled against 7.3 or is this an issue
somewhere in 7.4 pg_restore?

Robert Treat
--
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 12 '05 #1
2 1889
Robert Treat writes:
[rob@camel bin]$ ./pg_restore -p 5474 -d rms74 RMS74
pg_restore: [archiver (db)] could not execute query: ERROR: could not
load library "/usr/lib/pgsql/pgcrypto.so": /usr/lib/pgsql/pgcrypto.so:
undefined symbol: elog


There is no elog symbol in 7.4. You need to recompile the module.

--
Peter Eisentraut pe*****@gmx.net
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 12 '05 #2
On Tuesday 14 October 2003 15:51, Robert Treat wrote:
doing a restore, i get the following error...

[rob@camel bin]$ ./pg_restore -p 5474 -d rms74 RMS74
pg_restore: [archiver (db)] could not execute query: ERROR: could not
load library "/usr/lib/pgsql/pgcrypto.so": /usr/lib/pgsql/pgcrypto.so:
undefined symbol: elog

the dump was from 7.4 pg_dump against a 7.3 database. the thing thats
bugging me is the undefined elog peice; i have a
/usr/lib/pgsql/pgcrypto.so where specified; is it tossing that error
since that pgcrypto.so was compiled against 7.3 or is this an issue
somewhere in 7.4 pg_restore?


It'll be because of the error-reporting reworking done (by Tom?) - elog() was
the old error reporting fn, I think ereport() is the new one.

--
Richard Huxton
Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 12 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Foolster41 | last post: by
4 posts views Thread by Chris Beall | last post: by
2 posts views Thread by Robert Treat | last post: by
reply views Thread by John Wells | last post: by
49 posts views Thread by matty | last post: by
3 posts views Thread by Michael Sgier | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.