Thread: 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
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 peter_e@gmx.net
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