linux-noah / noah

Bash on Ubuntu on macOS
Other
1.93k stars 90 forks source link

Error while loading shared libraries #95

Open mmxmb opened 5 years ago

mmxmb commented 5 years ago

Environment info

OS: macOS Mojave 10.14.2 Noah version: 0.5.1

Issue description

Trying to run a binary that was originally compiled for CentOS 7. Regardless of my answer to noah asking to run as root, I get the following error message:

centos_binary.exe: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
robertveloso commented 4 years ago

I got the same error, I've even tried placing the .so file in the same dir, but didn't work. Error: /www/lithtech/build/OUT/Lithtech: error while loading shared libraries: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory

johnothwolo commented 4 years ago

You can't just copy the shared library, you'll need to run apt-get install gtk2.0. Regardless, I doubt gui applications work in noah.