Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: kyenos on May 02, 2017, 09:21:38 AM

Title: claws-mail binary wont execute out of the box when installed.
Post by: kyenos on May 02, 2017, 09:21:38 AM

Env Details:
Distro: CorePlus v.8.0
Host: Oracle Virtual Box 5.1.20
GUI: XVesa / Openbox
Userland: busybox
On Boot List:
Issue:
Claws mail's binary is linked against the wrong distro's db version

error
claws-mail: error while loading shared libraries: libdb-6.1.so: cannot open shared object file: No such file or directory

Work around

The binary C interface for both 6.1 and 6.2 of libdb are the same, so a simple symlink of the correct name allows the application to work. in /usr/local/lib. Once can create it with the following command:

sudo ln -s /usr/local/lib/libdb.so  /usr/local/lib/libdb-6.1.so
sudo ldconfig

Note that ldconfig is necessary prior to running claws-mail.

Suggested Fix

Upgrade the libdb package for v8.0 to 6.2 and or include the appropriate symlinks.
Title: Re: claws-mail binary wont execute out of the box when installed.
Post by: andyj on May 02, 2017, 02:35:44 PM
The license of Berkeley DB for versions greater than 6.0.19 is incompatible with open source software. I'm sorry, but until all the LAMP software can be recompiled without libdb support and tested no upgrade is planned. This is in progress, but I don't have a timeline.
Title: Re: claws-mail binary wont execute out of the box when installed.
Post by: Juanito on May 03, 2017, 12:38:44 AM
claws-mail and libetpan recompiled without libdb dep and reposted
Title: Re: claws-mail binary wont execute out of the box when installed.
Post by: kyenos on May 03, 2017, 07:27:08 PM
First, sorry for dropping this in the wrong spot on the forum

Second, thanks for the updates ! I'll re-try