LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   libdl problems (https://www.linuxquestions.org/questions/slackware-14/libdl-problems-874382/)

alexbrui 04-11-2011 02:20 PM

libdl problems
 
I'm using Slackware 13.1. There are some software I need that not presented in repos (e.g GIS software and utilities), so I create SlackBuilds and build them manually.

When compiling some libraries I get problems with libdl - the dynamic linker library. As I understand, this library absolutely required by some other libs.

For some odd reason, it seems that this library is automatically supported on other distros (e.g. Debian), but not on Slackware. As result ./configure script can't find necessary libs and fails with messages like

Code:

checking for sqlite3_prepare_v2 in -lsqlite3... no
configure: error: 'libsqlite3' is required but it doesn't seems to be
installed on this system.

Or simply can't find necessary libs even this libs installed and as result there is no support for some features
Code:

checking for sqlite3_open in -lsqlite3... no
checking for SQLite3 library >= 3.0.0... disabled

Any ideas how this can be fixed?

larryhaja 04-11-2011 07:50 PM

You could try passing LDFLAGS="-ldl" to the configure script.

alexbrui 04-12-2011 07:04 AM

Thanks a lot. This helps


All times are GMT -5. The time now is 04:56 AM.