LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Trouble running wine from src wine:error while loading shared libraries: libwine.so.1 (https://www.linuxquestions.org/questions/linux-newbie-8/trouble-running-wine-from-src-wine-error-while-loading-shared-libraries-libwine-so-1-a-209578/)

brynjarh 07-25-2004 05:56 PM

Trouble running wine from src wine:error while loading shared libraries: libwine.so.1
 
Fedora Core 2
http://prdownloads.sourceforge.net/w...ar.gz?download

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:
/usr/src/wine-20040716/libs/wine/libwine.so.1
/usr/src/wine-20040716/libs/libwine.so.1
/usr/local/lib/libwine.so.1

What am I doing wrong? Why isn't wine finding the file?

qwijibow 07-25-2004 06:52 PM

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

shrimpwagon 05-28-2013 10:59 AM

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 11:06 AM.