PDA

View Full Version : [SOLVED] Can't get KiGB working w/ shared libraries


DarkGob
November 8th, 2009, 07:24 PM
Trying to run the KiGB emulator (http://kigb.emuunlim.com/) and I get the following error:

./kigb: error while loading shared libraries: NL.so.1.6: cannot open shared object file: No such file or directory


According to the readme:
Starting from v1.11, KiGB is linked statically except the HawkNL library.
To set up HawkNL library, copy the file libNL.so.1.6.4 to /usr/local/lib.
Then, change directory to /usr/local/lib. Add a soft link: ln -s
libNL.so.1.6.4 NL.so.1.6. You have to be root to do this.

I've tried this. Didn't work. I've tried doing this in /usr/lib instead (found another version of the Readme that said this would be necessary for Debian). Also didn't work. Are these instructions not accurate for Ubuntu, or am I missing something?

Artificial Intelligence
November 9th, 2009, 03:47 AM
Make sure you launch the binary while you're in the same directory.

sh -c "cd <path> && ./kigb"

Otherwise if it didn't help. Double check if you made the symblink correct.

DarkGob
November 9th, 2009, 03:02 PM
I get the same error if I try running it from the same directory.

This is the link I created, according to ls -l:

lrwxrwxrwx 1 root root 14 2009-11-07 00:30 NL.so.1.6 -> libNL.so.1.6.4

Artificial Intelligence
November 9th, 2009, 03:33 PM
Try check the binary with ldd command.

ldd <binary file>

It might tell you where it are looking for the lib.

DarkGob
November 9th, 2009, 03:50 PM
That did the trick, it turns out it was looking in /usr/lib32. Thanks a bunch for your help.

Artificial Intelligence
November 9th, 2009, 03:52 PM
My pleasure ^_^

You can add <SOLVED> to your thread by "Thread Tool".



regards
A.I. Dude