LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-03-2004, 07:38 PM   #1
w0lv3rin3
Member
 
Registered: Mar 2004
Location: Barrie, ON
Distribution: Slackware 9.1, 10.0, 10.1, 11.0
Posts: 102

Rep: Reputation: 15
Wine Problems on Slackware 9.1


wine: error while loading shared libraries: libwine.so.1: cannot open shared object file: No such file or directory

I installed Wine, tryed to run it, and I keep getting the error thats shown above

any suggestions on howto fix it?
 
Old 03-03-2004, 09:38 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
it might not be in you $LD_LIBRARY_PATH
try find / -name libwine.so.1 -print
once you find it put the directory where it is at in /etc/ld.so.conf and issue as root /sbin/ldconfig it will update the shared libs cache.

Last edited by neo77777; 03-03-2004 at 09:39 PM.
 
Old 03-03-2004, 09:43 PM   #3
w0lv3rin3
Member
 
Registered: Mar 2004
Location: Barrie, ON
Distribution: Slackware 9.1, 10.0, 10.1, 11.0
Posts: 102

Original Poster
Rep: Reputation: 15
I did the search, found it in

/home/w0lv3rin3/programs/wine-20040213/libs/wine/libwine.so.1
/home/w0lv3rin3/programs/wine-20040213/libs/libwine.so.1
 
Old 03-03-2004, 09:53 PM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
where is the wine installed?
/usr/local/bin ?
see if the library is in /usr/local/lib, there maybe a directory wine in it (I am not sure of the names - I am using vmware for my windows needs), why I asked is that if you installed wine system wide (with make install as root for instance, it is usually put in /usr/local by default unless instructed otherwise, and libs are put in /usr/local/lib, it might create a separate directory for wine in /usr/local/lib. Did you run the find command as root???
what the results of
ldd `which wine`
 
Old 03-03-2004, 10:03 PM   #5
w0lv3rin3
Member
 
Registered: Mar 2004
Location: Barrie, ON
Distribution: Slackware 9.1, 10.0, 10.1, 11.0
Posts: 102

Original Poster
Rep: Reputation: 15
cp /home/w0lv3rin3/programs/wine-20040213/libs/wine/libwine.so.1 /usr/local/bin
cp: writing `/usr/local/bin/libwine.so.1': No space left on device

How do i make my /usr/local bigger?

and I am using a 80gig hdd

When i look @ System Monitor

I see
Name Directory Type Total Used
/dev/hda1 /usr/local ext2 37.9MB 37.9MB


Last edited by w0lv3rin3; 03-03-2004 at 10:16 PM.
 
Old 03-03-2004, 10:15 PM   #6
LeniuNYC
LQ Newbie
 
Registered: Feb 2004
Location: new york
Posts: 27

Rep: Reputation: 15
did you mount /usr/local on your boot partition during the installation?
I think its the default in Slackware installatino if you have an extra partition, and since the boot partition is small you dont have any space left.
I dont know how to fix that, though, im just another noob
 
Old 03-03-2004, 10:16 PM   #7
w0lv3rin3
Member
 
Registered: Mar 2004
Location: Barrie, ON
Distribution: Slackware 9.1, 10.0, 10.1, 11.0
Posts: 102

Original Poster
Rep: Reputation: 15
im newb to linux also, still learning
 
Old 03-03-2004, 10:19 PM   #8
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
post
df -k
output
 
Old 03-03-2004, 10:20 PM   #9
w0lv3rin3
Member
 
Registered: Mar 2004
Location: Barrie, ON
Distribution: Slackware 9.1, 10.0, 10.1, 11.0
Posts: 102

Original Poster
Rep: Reputation: 15
Code:
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda3             75194468   4166360  67146804   6% /
/dev/hda1                38856     38856         0 100% /usr/local
 
Old 03-03-2004, 10:28 PM   #10
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
you can grow your /usr/local with parted software http://www.gnu.org/software/parted/parted.html
read the manual onhow to use it, obviously your /usr/local is tooo small, yuou can copy the libs to /usr/lib for now though, once more what is the result of
ldd `which wine`
P.S. If opted for parted remember that your /usr/local is hosed for now, so use
./configure --prefix=/usr

Last edited by neo77777; 03-03-2004 at 10:31 PM.
 
Old 03-03-2004, 10:29 PM   #11
LeniuNYC
LQ Newbie
 
Registered: Feb 2004
Location: new york
Posts: 27

Rep: Reputation: 15
wow , iwas right, i feel so smart
 
Old 03-03-2004, 10:35 PM   #12
w0lv3rin3
Member
 
Registered: Mar 2004
Location: Barrie, ON
Distribution: Slackware 9.1, 10.0, 10.1, 11.0
Posts: 102

Original Poster
Rep: Reputation: 15
i beleive its in
/home/w0lv3rin3/programs/wine-20040213

i dident see the libaray in /usr/local/bin

the libaray is in
/home/w0lv3rin3/programs/wine-20040213/libs/wine/libwine.so.1

ldd `which wine`
libwine.so.1 => not found
libpthread.so.0 => /lib/libpthread.so.0 (0x40028000)
libc.so.6 => /lib/libc.so.6 (0x40079000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Last edited by w0lv3rin3; 03-03-2004 at 10:39 PM.
 
Old 03-03-2004, 11:04 PM   #13
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
well then try
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/w0lv3rin3/programs/wine-20040213/libs/wine
and run wine again
 
Old 03-03-2004, 11:08 PM   #14
w0lv3rin3
Member
 
Registered: Mar 2004
Location: Barrie, ON
Distribution: Slackware 9.1, 10.0, 10.1, 11.0
Posts: 102

Original Poster
Rep: Reputation: 15
now i get
wine: failed to initialize: /usr/local/lib/wine/ntdll.dll.so: cannot open shared object file: No such file or directory

did a find results:
/home/w0lv3rin3/programs/wine-20040213/dlls/ntdll/ntdll.dll.so
/home/w0lv3rin3/programs/wine-20040213/dlls/ntdll.dll.so

Last edited by w0lv3rin3; 03-03-2004 at 11:18 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Link targets - problems with Wine (Though not Wine specific - Wine site doesn't help) Kevjml Linux - Newbie 1 01-13-2006 08:53 AM
Wine for Slackware 9.1 Zuggy Linux - Software 3 12-10-2004 03:52 PM
wine in slackware 9.1 salahuddin_66 Slackware 4 06-12-2004 04:02 AM
Problems running Wine in Slackware 9.1 kamransoomro84 Linux - Software 2 06-02-2004 09:13 PM
wine and winesetuptk working well with slackware 9.0 and slackware 9.1 oobe Linux - Software 0 10-19-2003 01:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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