soname of libpq - Mailing list pgsql-bugs

From Federico Di Gregorio
Subject soname of libpq
Date
Msg-id 1084869156.2914.14.camel@localhost
Whole thread Raw
List pgsql-bugs
Hi *,

I don't know if this is really a bug but surely is something that is
giving a lot of problems to psycopg (pyhton/postgresql adapter). psycopg
1.1.11+ checks for libpq version at runtime and, if available uses the
new protocol api (mainly to extract non-localized error codes after
errors). now, the problem is that a *lot* of users have two different
libpq versions of their systems and usually psycopg gets compiled
against 7.4 and runtime-linked against 7.3, resulting in an error
(symbols not found).

the question is: there is any special reason to change the api of a
library and *not* change the soname? having changed the soname of the
library would have avoided this kind of problems.

thank you in advance for your time,
federico

--=20
Federico Di Gregorio                         http://people.initd.org/fog
Debian GNU/Linux Developer                                fog@debian.org
INIT.D Developer                                           fog@initd.org
  We are all dust, Saqi, so play the lute
                    We are all wind, Saqi, so bring wine. -- Omar Khayam

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #1145: silent REVOKE failures
Next
From: Arturs Zoldners
Date:
Subject: Re: BUG #1142: Problem with update permissions for view