Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-25-2004, 05:56 PM   #1
Registered: May 2004
Location: Iceland
Distribution: Ubuntu Dapper Drake
Posts: 172

Rep: Reputation: 30
Trouble running wine from src wine:error while loading shared libraries:

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: cannot open shared object file: No such file or directory

Both as root or normal user, when I do 'locate' I get:

What am I doing wrong? Why isn't wine finding the file?
Old 07-25-2004, 06:52 PM   #2
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
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

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/ /the/place/wine/is/looking/for/
Old 05-28-2013, 10:59 AM   #3
LQ Newbie
Registered: Apr 2006
Location: Goose Creek, SC
Distribution: SimplyMEPIS 3.3.1-1 (2.6.10)
Posts: 7

Rep: Reputation: 0
strace totally helped!

open("/usr/lib/", O_RDONLY) = -1 ENOENT (No such file or directory)

Just had to copy from the make location to /usr/lib


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
error while loading shared libraries: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 05:47 AM
Urgent !!! rpm: error while loading shared libraries: cannot open shared tinaa Linux - Software 5 12-02-2008 03:19 PM
wine: error while loading shared libraries: jocast Linux - Software 1 05-25-2004 04:31 PM
wine error: Cesar Ocasio Linux - Software 0 02-07-2004 11:02 PM
wine error: error while loading shared libraries... eam Linux - Software 0 11-26-2003 12:01 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration