LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-22-2009, 10:36 AM   #1
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 14.1
Posts: 255

Rep: Reputation: 32
Mediatomb and Sqlite in Slackware 12.2


I'm having issues getting Mediatomb to compile on Slackware 12.2. Basically the configure script is claiming that it can't compile against the version of sqlite that comes with 12.2. Here's a snip from config.log:

configure:20119: checking for sqlite3.h
configure:20126: result: yes
configure:20372: checking for sqlite3_open in -lsqlite3
configure:20407: g++ -o conftest -g -O2 -lrt conftest.cpp -lsqlite3 -lz >&5
/usr/lib/gcc/i486-slackware-linux/4.2.4/../../../libsqlite3.so: undefined reference to `dlsym'
/usr/lib/gcc/i486-slackware-linux/4.2.4/../../../libsqlite3.so: undefined reference to `dlerror'
/usr/lib/gcc/i486-slackware-linux/4.2.4/../../../libsqlite3.so: undefined reference to `dlopen'
/usr/lib/gcc/i486-slackware-linux/4.2.4/../../../libsqlite3.so: undefined reference to `dlclose'

I didn't have this problem with earlier versions of Slackware with sqlite that I had compiled myself.
 
Old 01-22-2009, 10:43 AM   #2
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 14.1
Posts: 255

Original Poster
Rep: Reputation: 32
Wouldn't you know it--after weeks of fruitless Googling I came across the fix right after I posted this. Before running ./configure, I typed this:
export LDFLAGS="$LDFLAGS -ldl"

Now it works. Is this a bug in the sqlite3 package?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mediatomb+subtitles. ohadbasan Linux - Software 2 01-18-2009 01:04 PM
Serve Media with MediaTomb jeremy LQ Articles Discussion 0 09-07-2007 03:39 PM
SQLite and C++ ManuPeng Programming 4 04-07-2007 10:38 AM
SQLite JavaWrapper netjack Linux - Software 0 05-10-2006 01:22 AM
pysqlite and sqlite hawking Red Hat 1 01-09-2006 01:14 PM


All times are GMT -5. The time now is 02:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration