error while loading shared libraries: libl

error while loading shared libraries: libl

Postby sonderless » 30 Sep 2015, 19:25

Hello,

I am running 64 bit linux mint.

When I try to execute the .sh file to start STK I receive the following message...

supertuxkart: error while loading shared libraries: liblber-2.4.so.2: cannot open shared object file: No such file or directory

I have installed the i386 compatible libraries... Does anyone know what I'm doing wrong or how to fix this?

Thanks
sonderless
 
Posts: 1
Joined: 30 Sep 2015, 19:22

Re: error while loading shared libraries: libl

Postby deve » 30 Sep 2015, 21:23

This library is available in both i386 and x86_64 versions in the STK package.

Could you post here output of following commands (run from STK directory):
{l Code}: {l Select All Code}
ldd ./lib/liblber-2.4.so.2
ldd ./lib-64/liblber-2.4.so.2
uname -m

maybe it will show us what happens.

I have installed the i386 compatible libraries...

You don't need it because it should run 64-bit version. At least in theory ;)

You can also try to run manually:
{l Code}: {l Select All Code}
export LD_LIBRARY_PATH="./lib-64"
./bin-64/supertuxkart
deve
 
Posts: 268
Joined: 23 Jan 2014, 13:45

Re: error while loading shared libraries: libl

Postby deve » 08 Oct 2015, 11:12

Did you find the reason/solution for it?

I suppose that:
1. uname is/was reporting wrong architecture on your machine. It is possible in specific cases, but AFAIK there is no better way to check it. We could use "getconf LONG_BIT" instead, but it also can report wrong value if you run for example 32-bit getconf on 64-bit kernel, in chrooted environment etc...
2. You don't/didn't have installed basic 32-bit libraries such as glibc, libgcc, libstdc++ and this is the reason that 32-bit version doesn't run for you.
deve
 
Posts: 268
Joined: 23 Jan 2014, 13:45

Who is online

Users browsing this forum: No registered users and 1 guest

cron