LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-25-2004, 05:56 PM   #1
brynjarh
Member
 
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: 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?
 
Old 07-25-2004, 06:52 PM   #2
qwijibow
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 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
 
Old 05-28-2013, 10:59 AM   #3
shrimpwagon
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/libwine.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)

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


Reply



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: libstdc++.so.5: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 05:47 AM
Urgent !!! rpm: error while loading shared libraries: libelf.so.1: cannot open shared tinaa Linux - Software 5 12-02-2008 03:19 PM
wine: error while loading shared libraries: libwine.so.1 jocast Linux - Software 1 05-25-2004 04:31 PM
wine error: libwine.so.1 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:59 AM.

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