[pkg-db-devel] Bug#712262: libdb_sql-5.3 doesn't link with needed libraries

Iain Lane iain at orangesquash.org.uk
Fri Jun 14 17:17:38 UTC 2013


Package: db5.3
Version: 5.3.21-1
Severity: minor
Tags: patch upstream
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu saucy ubuntu-patch

Hi,

libdb_sql-5.3 doesn't link with libraries it uses. I'm not sure why but
I don't see this problem in sid, hence the severity. I suspect it's due
to Ubuntu's newer binutils being more strict, which sid will have at
some point. The FTBFS is:

,----
| libtool: link: cc -g -O2 -fstack-protector --param=ssp-buffer-size=4
| -Wformat -Werror=format-security -I/usr/li
| b/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -o
| .libs/dbsql -Wl,-Bsymbolic-functions -W
| l,-z -Wl,relro .libs/shell.o  ./.libs/libdb_sql-5.3.so -ldl -lpthread 
| ./.libs/libdb_sql-5.3.so: undefined reference to `dlopen'
| ./.libs/libdb_sql-5.3.so: undefined reference to `dlclose'
| ./.libs/libdb_sql-5.3.so: undefined reference to `dlerror'
| ./.libs/libdb_sql-5.3.so: undefined reference to `dlsym'
`----

Because earlier in the build the library isn't linked with -ldl. Patch
attached.

Cheers,

-- 
Iain Lane                                  [ iain at orangesquash.org.uk ]
Debian Developer                                   [ laney at debian.org ]
Ubuntu Developer                                   [ laney at ubuntu.com ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: db5.3_5.3.21-1ubuntu2.debdiff
Type: text/x-diff
Size: 1835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-db-devel/attachments/20130614/1b102c87/attachment.diff>


More information about the pkg-db-devel mailing list