![]() |
installing Wine
Newbie having trouble installing wine ?
Keep getting this error: make[1]: *** [winetest/__install__] Error 2 make[1]: Leaving directory `/home/fat/wine/programs' make: *** [programs/__install__] Error 2 root@fatboy:/home/fat/wine # wine wine: error while loading shared libraries: libwine.so.1: cannot open shared object file: No such file or directory root@fatboy:/home/fat/wine # How do I fix this, what am I doing wrong ! |
Why don't you use apt to install it, that's much easier.
"apt-get update" "apt-get install wine winesetuptk" Run winesetuptk and then you can use wine. |
And the error you're getting is because you don't have libwine installed. If you use apt all dependencies will be installed.
|
Thanks for the reply, just for to give you some more info im using Ubunto "Debian based"
Anyway i ran the update command and the wine one and i got the below. root@fatboy:/home/fat # apt-get update Reading Package Lists... Done root@fatboy:/home/fat # apt-get install wine winesetuptk Reading Package Lists... Done Building Dependency Tree... Done Package wine is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package wine has no installation candidate Im guessing its not using the web to search the Debian package lists and is just reading from a index the system put on the HDD from install ?? |
You can check if it's searching the web by viewing your /etc/apt/sources.list file. Could also be because ubuntu uses different names. Try "apt-cache search wine" and see if that helps.
|
Thanks for the reply i checked the sources in the apt file and uncommented
deb http://archive.ubuntu.com/ubuntu warty main restricted deb-src http://archive.ubuntu.com/ubuntu warty main restricted as it said within the file then ran update but it still wont show wine via the cache command or just apt-get install wine, do i need to add the official debian archive servers in there and if so what are the addresses. |
Be careful with that since it might break your system. Maybe if you run "apt-setup" it will have a list of those servers.
Quote:
|
Try this instead:
Code:
deb http://archive.ubuntu.com/ubuntu warty main restricted universe multiverse |
Those worked and now i have wine/winesetuptk installed, i ran the "wine" from a root console and it said i needed to do it from a normal user one but when i do i get the below.
wine: creating configuration directory '/home/fat/.wine'... wine: could not exec wineserver wine: wineprefixcreate failed while creating '/home/fat/.wine'. |
I don't have much experience on running wine but I think wine-utils is very much part of the wine package, so perhaps you should install that also. Then run "winesetup" as normal user to set up wine.
|
That worked i got wine to setup finaly but one error still exists when i type wine from a console
wine: could not exec wineserver |
As I said, I'm not very familiar with wine but, just out of the general interest, I installed wine to my Ubuntu (hoary, not warty) partition and there seems to be a file called "wineserver" in /usr/lib/wine/. It may be a bug that wine cannot find this file although it should. Well, you can try to fix this by symlinking "wineserver" to some directory in your path. For instance, you can try something this:
Code:
sudo ln -s /usr/lib/wine/wineserver /usr/bin |
Im planning to try it on WIn32 irc myself and i have used it though wine in the past just for a laugh, i will give the command you posted a try and let you know if it works or not.
|
Yes! it worked, thank you!
ps, you know anything about scanners lol |
Heh, heh. I downloaded some small Windows programs from this address: http://keir.net/software.html and they seem to work just fine on the Ubuntu & Wine setup. I managed to break my scanner about two years ago (that is, before I seriously switched from Windows to Linux) so I cannot help you there, pal.
|
| All times are GMT -5. The time now is 08:46 PM. |