update 7.0 -> 7.2.2 problem with shared libraries?! - Mailing list pgsql-bugs

From Dmitry Gertsog
Subject update 7.0 -> 7.2.2 problem with shared libraries?!
Date
Msg-id 3D7C66DD.4010703@omnet.ru
Whole thread Raw
List pgsql-bugs
Dear, Sirs.

I use Linux Suse 7.0 with Postgres 7.0

After updating Postgres to version 7.2.2
I found that some programs, which work successful
with v7.0 of Postgres, now don't work correctly
(all such programs was recompiled for new libraries).

After analyses of situation I found problem in
crypt() function. This function don't understand
salt like "$1$xxxxx" and don't use md5 algorithm?!
And after lot of hours of different manipulations
was found that problem was solve simple reordering of
libraries when I linked my program:
first I should place "-lcrypt" and only then "-lpq"
only with such order of liraries, programs began work again.
I think that library "pq" replace standart function with own.
If it's true, it's wrong.

Dmitry Gertsog.

pgsql-bugs by date:

Previous
From: "Tim Knowles"
Date:
Subject: Re: Bug #759: 7.3beta1 DROP COLUMN DEPENDENCY PROBLEM
Next
From: Michael Fortin
Date:
Subject: make unsuccessful on mac os x 10.2