storage_db.so: undefined symbol ser_string_get because of missing linkage against libutil
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Jabberd |
Fix Released
|
Low
|
Unassigned |
Bug Description
I recently upgraded my jabberd on a debian lenny box to version 2.2.7.1 from 2.2.4. Compiling and installing worked flawless. However when trying to connect to the server with a jabber client, the sm process crashes:
/usr/local/bin/sm: symbol lookup error: /usr/local/
After some trial and error i narrowed the bug down to the make process. In 2.2.4 storage_db.so is created this way:
gcc -shared .libs/storage_db.o -Wl,--whole-archive /root/jabberd-
-> Trying that in the "storage" directory of 2.2.7.1 and installing it afterwards will resolve the problem.
In 2.2.7.1 storage_db.so is created this way:
libtool: link: gcc -shared .libs/storage_db.o -L/root/
-> This will produce the undefined symbol error.
Could you resolve this bug that it compiles and works flawless from a vanilla source?
Thanks in advance!
I guess the problem is in the difference of -ldb (2.2.4) and -ldb-4 (2.2.7.1).
Do you have two versions of BerkeleyDB installed?