Summary: | kdesdk 3.3.1 build fails due to undefined reference | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gian-Carlo Pascutto <gcp> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Gian-Carlo Pascutto
2004-11-06 02:28:27 UTC
the dbsearchengine plugin in kbabel uses /usr/include/db.h and /usr/lib/libdb.so to compile, which are symlinks, could you check that? maybe there's a mismatch. Here I have: # ls -l /usr/include/db.h /usr/lib/libdb.so ... /usr/include/db.h -> db4.1/db.h ... /usr/lib/libdb.so -> libdb-4.1.so in /usr/include/db4.1/db.h there's: #define db_create db_create_4001 and the corresponding symbol is in /usr/lib/libdb-4.1.so: # readelf -s /usr/lib/libdb-4.1.so | grep db_create 481: 0001acbd 89 FUNC GLOBAL DEFAULT 10 xdr___db_create_reply_400 483: 0004bb18 322 FUNC GLOBAL DEFAULT 10 db_create_4001 717: 00018e7b 144 FUNC GLOBAL DEFAULT 10 __db_db_create_4001 998: 000273a8 231 FUNC GLOBAL DEFAULT 10 __bam_db_create_4001 1145: 000716c0 134 FUNC GLOBAL DEFAULT 10 __ham_db_create_4001 1175: 000959b8 104 FUNC GLOBAL DEFAULT 10 __qam_db_create_4001 1273: 0001ac64 89 FUNC GLOBAL DEFAULT 10 xdr___db_create_msg_4001 gentoo64 giancarlo # ls -l /usr/include/db.h /usr/lib/libdb.so lrwxrwxrwx 1 root root 8 Sep 27 19:30 /usr/include/db.h -> db4/db.h lrwxrwxrwx 1 root root 12 Sep 27 19:30 /usr/lib/libdb.so -> libdb-4.1.so A look in db4/db.h shows db_create_4000 and not db_create_40001 gentoo64 giancarlo # readelf -s /usr/lib/libdb-4.1.so | grep db_create 117: 0000000000027210 18 FUNC GLOBAL DEFAULT 10 __dbcl_db_create_ret_4001 193: 0000000000024af0 212 FUNC GLOBAL DEFAULT 10 __dbcl_db_create_4001 461: 0000000000021d00 84 FUNC GLOBAL DEFAULT 10 xdr___db_create_reply_400 463: 0000000000052ab0 1716 FUNC GLOBAL DEFAULT 10 db_create_4001 697: 0000000000020430 102 FUNC GLOBAL DEFAULT 10 __db_db_create_4001 978: 000000000002dda0 222 FUNC GLOBAL DEFAULT 10 __bam_db_create_4001 1126: 0000000000076e10 104 FUNC GLOBAL DEFAULT 10 __ham_db_create_4001 1157: 000000000009a9f0 77 FUNC GLOBAL DEFAULT 10 __qam_db_create_4001 1256: 0000000000021ca0 84 FUNC GLOBAL DEFAULT 10 xdr___db_create_msg_4001 A bug in the db package? yes, it seems something went wrong in the installation of db, the symlink should point to db4.1/db.h. I suggest reemerging db-4.1. Problem solved by reemerging db. Thanks. |