Calling PQconnectdb from an .so on a hardened SLES 11 - Mailing list pgsql-novice

From Manning John
Subject Calling PQconnectdb from an .so on a hardened SLES 11
Date
Msg-id 27EBBA990B61C94093B38B29A282AD09014145495B@EUROPEVUK307.europe.FS.FUJITSU.com
Whole thread Raw
List pgsql-novice

Hi all,

 

We have a library called libdatastore.so (a c++ jobbie) which, among other things, calls PQconnectdb. This is all fine and works on all our systems – except for one which is running SLES11 hardened.

 

This is the error - symbol lookup error: libdatastore.so: undefined symbol: PQconnectdb

 

We have LD_LIBRARY_PATH set up correctly and even have LD_PRELOAD set to pick up libpq.so

 

As I say, on non-hardened SLES11 this all works. Anyone shine a light on what I might look at to see what’s going on? I’ll admit I know nowt about hardening – it was delivered to us this way.

 

Best, John

 


Unless otherwise stated, this email has been sent from Fujitsu Services Limited, from Fujitsu (FTS) Limited, or from Fujitsu Telecommunications Europe Limited, together "Fujitsu".

This email is only for the use of its intended recipient. Its contents are subject to a duty of confidence and may be privileged. Fujitsu does not guarantee that this email has not been intercepted and amended or that it is virus-free.

Fujitsu Services Limited, registered in England No 96056, registered office 22 Baker Street, London W1U 3BW.

Fujitsu (FTS) Limited, registered in England No 03808613, registered office 22 Baker Street, London W1U 3BW.

PFU Imaging Solutions Europe Limited, registered in England No 1578652, registered office Hayes Park Central, Hayes End Road, Hayes, Middlesex, UB4 8FE.

Fujitsu Telecommunications Europe Limited, registered in England No 2548187, registered office Solihull Parkway, Birmingham Business Park, Birmingham, B37 7YU.

pgsql-novice by date:

Previous
From: Alex Bozhenko
Date:
Subject: Re: function to_char(unknown, unknown) is not unique
Next
From: ta@lavabit.com
Date:
Subject: varchar comparison and trim()