libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lt_dlopenext does not permit platform-independent code?


From: Sam Steingold
Subject: lt_dlopenext does not permit platform-independent code?
Date: Thu, 12 Oct 2006 11:15:26 -0400
User-agent: Thunderbird 1.5.0.7 (X11/20060913)

Hi,
PostgreSQL library is called libpq.so on linux and pq.dll on win32.
it would be nice to be able to write dlopen_wrapper("pq") and have the right library opened on any platform.
Alas, lt_dlopenext("pq") does not work on linux (lt_dlopenext("libpq") does).
I think ltdl needs a function which would try prepending "lib" on unix 
platforms.
Thanks.
Sam.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]