LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 07-25-2004, 06: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, 07:52 PM   #2
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,670

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


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 06:47 AM
Urgent !!! rpm: error while loading shared libraries: libelf.so.1: cannot open shared tinaa Linux - Software 5 12-02-2008 04:19 PM
wine: error while loading shared libraries: libwine.so.1 jocast Linux - Software 1 05-25-2004 05:31 PM
wine error: libwine.so.1 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:24 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration