By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,903 Members | 1,067 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,903 IT Pros & Developers. It's quick & easy.

elog undefined?

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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.