xTuple.com xTupleU Blog & News Customer Support

xTuple Postbooks 3.3.1 - Error while loading shared libraries: libkrb5.so.3 and SOLUTION

System Configuration:

System: Arch Linux x86_64 (64-bit)
Linux Kernel Version:
Desktop Environment: KDE 4.3.2
QT Version: 4.5.3
Postgresql Version: 8.4.1
xTuple Version: Postbooks 3.3.1 Linux (Client Binary: xtuple-client-3.3.1-Linux.tar.bz2), Build: October 21, 2009

Just installed the latest Xtuple Client binary on my new laptop using the command line this time around instead of Pgadmin3. After invoking Xtuple, the following error appeared:

[ejm@Galicja xtuple-3.3.1]$ ./xtuple

/home/ejm/xtuple-3.3.1/xtuple.bin: error while loading shared libraries: libkrb5.so.3: cannot open shared object file: No such file or directory

The solution is to first install the package “lib32-heimdal” 1.2.1-7 (lib32) which is the Heimdal Kerberos V5 libraries, and then create a softlink using the following command:

[ejm@Galicja xtuple-3.3.1]$ ln -s /opt/lib32/usr/lib/libkrb5.so libkrb5.so.3

Confirm the softlink does indeed point to where you want it:

[ejm@Galicja xtuple-3.3.1]$ ls -dl libkrb5.so.3

lrwxrwxrwx 1 ejm ejm 29 2009-10-26 07:32 libkrb5.so.3 -> /opt/lib32/usr/lib/libkrb5.so

Now invoke Xtuple Postbooks 3.3.1 (./xtuple) and it works nicely. Just add Xtuple to your KDE menu and time to enjoy!

While a number of years old now, this is still a helpful post. Thanks for being helpful!