Visit Jeremy's Blog.
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, 06: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, 07: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, 11: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 06:47 AM
Urgent !!! rpm: error while loading shared libraries: cannot open shared tinaa Linux - Software 5 12-02-2008 04:19 PM
wine: error while loading shared libraries: jocast Linux - Software 1 05-25-2004 05:31 PM
wine error: Cesar Ocasio Linux - Software 0 02-08-2004 12:02 AM
wine error: error while loading shared libraries... eam Linux - Software 0 11-26-2003 01:01 AM

All times are GMT -5. The time now is 08:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration