Trouble running wine from src wine:error while loading shared libraries: libwine.so.1
Fedora Core 2
I compiled and installd wine from source as root and when trying to run it I get:
wine: error while loading shared libraries: libwine.so.1: cannot open shared object file: No such file or directory
Both as root or normal user, when I do 'locate libwine.so.1' I get:
What am I doing wrong? Why isn't wine finding the file?
run the program with strace.
strace -o /home/user/error.log /path/to/wine
then search the error log for relevant info
cat /home/user/error.log | grep libwine.so.1
this should let you know where wine is looking for the library.
just create s symbolic link to sort out the problem.
ln -s /path/to/libwine.so.1 /the/place/wine/is/looking/for/libwine.so.1
strace totally helped!
open("/usr/lib/libwine.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
Just had to copy from the make location to /usr/lib
|All times are GMT -5. The time now is 06:37 PM.|