Re: dlopen() of libpgsqlodbc.so >= release 7.1 fails on sparc solaris 2.8
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Bob Deblier <bob@virtualunlimited.com>
Cc: <pgsql-hackers@postgresql.org>
Date: 2001-06-11T14:56:36Z
Lists: pgsql-hackers
Bob Deblier writes: > While trying to upgrade Postgres from version 7.0.3 to 7.1.2, I find that a > program which dlopens the library mentioned above now produces the following > error message: > > ld.so.1: ./BeeHive: fatal: relocation error: file > /opt/pgsql/lib/libpsqlodbc.so: symbol main: referenced symbol not found Try using the flag RTLD_GLOBAL in dlopen(). -- Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter