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

Ondřej Surý ondrej at sury.org
Fri Jun 14 19:04:24 UTC 2013


Iain,

thanks for the patch, however db5.3 will be obsoleted by db6.0 (in NEW), so this won't be fixed.

Would it be possible for you to check if db6.0 is affected?

Ondřej Surý

> On 14. 6. 2013, at 19:17, Iain Lane <iain at orangesquash.org.uk> wrote:
> 
> 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 ]
> <db5.3_5.3.21-1ubuntu2.debdiff>
> _______________________________________________
> pkg-db-devel mailing list
> pkg-db-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-db-devel



More information about the pkg-db-devel mailing list