Re: dlopen() of libpgsqlodbc.so >= release 7.1 fails on sparc solaris 2.8

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bob Deblier <bob(at)virtualunlimited(dot)com>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: dlopen() of libpgsqlodbc.so >= release 7.1 fails on sparc solaris 2.8
Date: 2001-06-11 14:56:36
Message-ID: Pine.LNX.4.30.0106111655510.756-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message mlw 2001-06-11 15:52:28 Re: REPLACE INTO table a la mySQL
Previous Message Alex Pilosov 2001-06-11 13:47:20 inet/cidr type comparisons