I got the error when using wine in Slackware 12.2. Before that i upgraded from 12.1. Accidentally the library for wine was deleted. But the wine it self still remain.
This is what the computer missed in /usr/lib
libwine.so.1
Then I search into another directory who knows there is a real library located somewhere else and yes I found it in /usr/local/lib/ so I just made connection (link) to /usr/lib
#sudo ln -s /usr/local/lib/libwine.so.1 /usr/lib/libwine.so.1
Another problem occured, The wine still won’t work. Something lacked here but I don’t know why. The error message said something like temp directory.
So in crazy thought I checked to
/home/user/.wine/drive_c/
and found out the temp directory didn’t exist.
So I just add the directory temp right there.
#cd /home/user/.wine/drive_c
#mkdir temp
And the wine run well again. So the temp directory is important.