On Tue, Nov 11, 2008 at 05:24:05PM +0100, ?ukasz Siemiradzki wrote: > Hi All, > I've encountered following problem with claws-mail: > [ktulu@optiplex:509:~]> claws-mail > Shared object "libexpat.so.1" not found > [ktulu@optiplex:510:~]> ldd /usr/pkg/bin/claws-mail | grep expat > -lexpat.1 => /usr/X11R7/lib/libexpat.so.1 > -lexpat.1 => not found > [ktulu@optiplex:511:~]> > It is NETBSD 5.0_BETA (i386) with native Xorg. > How I can fix this? Why expat appear two times? Because a library on which claws-mail depends also depends on expat. Either of them (i.e., claws-mail or said library) doesn't have the proper RPATH entry. Can you get me the full output of: readelf -d /usr/pkg/bin/claws-mail And if the RPATH line doesn't include /usr/X11R7/lib, repeat the command with each of the libraries listed in the NEEDED lines. Thanks, -- Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost "See the look on my face from staying too long in one place [...] every time the morning breaks I know I'm closer to falling" KT Tunstall, Saving My Face, Drastic Fantastic, 2007.
Description: PGP signature