[Wine] Re: Compiling - WARNING: No OpenGL library found on this system.

Fazer wineforum-user at winehq.org
Sat Sep 27 15:00:37 CDT 2008


Finally I found the solution, but it took me a long time.

Firstly I wanted to test new Nvidia beta drivers. I found them on nvidia forum (the official "download" site has only old beta driver) -
http://www.nvnews.net/vbulletin/showthread.php?s=7916dd2131ebbcc9c493f473a3cff783&t=119682
Using this tutorial I've managed to uninstall default nvidia modules in Ubuntu 8.04 and download some needed packages -
http://www.nvnews.net/vbulletin/showthread.php?s=7916dd2131ebbcc9c493f473a3cff783&t=72490

I restarted the system, stopped X server with

Code:
sudo /etc/init.d/gdm stop


and pressed Ctrl+Alt+F3 to go into runlevel 3, as suggested by the driver installer. Then I cd into a directory where I downloaded the driver and did

Code:
sudo sh NVIDIA-Linux-x86-177.76-pkg1.run



But that was only the beginning. The installer spat out lots of errors. The first ones were

Code:
ERROR: File '/usr/lib/xorg/modules/extensions/libglx.so' is not a symbolic link.

ERROR: Unable to create '/usr/lib/nvidia.libGL.so.1.2.xlibmesa' for copying (no such file or directory).

ERROR: Unable to restore file '/usr/lib/nvidia.libGL.so.1.2.xlibmesa' 


and so on. In spite of that, the driver installed successfully.

Then I googled for the first error and found a solution here - http://ubuntuforums.org/showpost.php?p=4161947&postcount=6
I did this

Code:
$ cd /usr/lib/xorg/modules/extensions/
$ sudo ln -s libglx.so.100.14.11 libglx.so


then did "./configure" command once again and this time there was no missing OpenGL library, instead of that - libGLU.

So I tried to install libglu1-mesa-dev and libgl1-mesa-dev through Synaptic, but got an error -

Code:
Unpacking libgl1-mesa-dev (from .../libgl1-mesa-dev_7.0.3~rc2-1ubuntu3_all.deb) ...
dpkg: error processing /var/cache/apt/archives/libgl1-mesa-dev_7.0.3~rc2-1ubuntu3_all.deb (--unpack):
 error creating symbolic link `./usr/lib/libGL.so': No such file or directory


So after a lot of fighting with packages dependencies I found this - https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/231930
I did

Code:
mkdir -p /usr/lib/nvidia
mkdir -p /usr/lib32/nvidia


and it solved my problem.

Thanks to that Wine was compiled with no errors.

Well, almost - now when I go to Winecfg and Sound, I get something like that in Polish:

Code:
"The driver which is configured in the registry is unavailable!
Delete entry "alsa" from the registry?"


There is no Alsa driver to enable, but other works. I will test it more, but do you have any ideas what can I do with it? When I had Wine from deb packages Alsa worked flawlessly.







More information about the wine-users mailing list