Re: dlopen() of libpgsqlodbc.so >= release 7.1 fails on sparc solaris 2.8 - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: dlopen() of libpgsqlodbc.so >= release 7.1 fails on sparc solaris 2.8
Date
Msg-id Pine.LNX.4.30.0106111655510.756-100000@peter.localdomain
Whole thread Raw
In response to dlopen() of libpgsqlodbc.so >= release 7.1 fails on sparc solaris 2.8  (Bob Deblier <bob@virtualunlimited.com>)
Responses Re: dlopen() of libpgsqlodbc.so >= release 7.1 fails on sparc solaris 2.8  (Bob Deblier <bob@virtualunlimited.com>)
List 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



pgsql-hackers by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: PostgreSQL and replication
Next
From: mlw
Date:
Subject: Re: REPLACE INTO table a la mySQL