Bug 245486 - sqlite: undefined symbols dlsym,dlopen,dlclose
Summary: sqlite: undefined symbols dlsym,dlopen,dlclose
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: sqlite
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: bzcl34nup
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-06-24 00:48 UTC by Rex Dieter
Modified: 2008-04-04 13:17 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-04 13:17:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rex Dieter 2007-06-24 00:48:27 UTC
From failed qt4 build attempt:
http://koji.fedoraproject.org/koji/getfile?taskID=46532&name=build.log

g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -Wall -W  -I../../../mkspecs/linux-g++ -I. -I. -o
sqlite.o sqlite.cpp
g++  -o sqlite sqlite.o     -lsqlite3
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libsqlite3.so: undefined reference
to `dlsym'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libsqlite3.so: undefined reference
to `dlopen'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libsqlite3.so: undefined reference
to `dlclose'

I'll have more time to give this a closer look tomorrow.

Comment 1 Paul Nasrat 2007-06-24 09:15:59 UTC
sqlite in fedora is now built with the load extension, it looks as if only
/usr/bin/sqlite3 is linked against ldl but not libsqlite.so.3.  I'll investigate.

Comment 2 Paul Nasrat 2007-06-24 09:25:59 UTC
http://www.sqlite.org/cvstrac/tktview?tn=2124

Disable extension loading by default. At some point we should change the
configure script to detect the presence of dlopen() automatically and add the
appropriate library to the link. But that requires a working version of
autoconf, which I do not have. Ticket #2124. (By drh)

I'll fix the build script upstream, but disabling load for now.

Comment 3 Paul Nasrat 2007-06-24 09:29:04 UTC
sqlite-3.4.0-2.fc8 building so you can build qt4, I'll look at the upstream fix
after the weekend.

Comment 4 Rex Dieter 2007-06-25 12:09:27 UTC
Thanks, your fix(es) did the trick.

Comment 5 Red Hat Bugzilla 2007-08-21 05:34:54 UTC
User pnasrat's account has been closed

Comment 6 Bug Zapper 2008-04-04 12:51:37 UTC
Based on the date this bug was created, it appears to have been reported
during the development of Fedora 8. In order to refocus our efforts as
a project we are changing the version of this bug to '8'.

If this bug still exists in rawhide, please change the version back to
rawhide.
(If you're unable to change the bug's version, add a comment to the bug
and someone will change it for you.)

Thanks for your help and we apologize for the interruption.

The process we're following is outlined here:
http://fedoraproject.org/wiki/BugZappers/F9CleanUp

We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.

Comment 7 Rex Dieter 2008-04-04 13:17:07 UTC
confirmed fixed.


Note You need to log in before you can comment on or make changes to this bug.