Welcome to SparkyLinux forumsZapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl
Started by FranceIsBacon, April 08, 2015, 05:14:39 PM
sudo dpkg --add-architecture i386
QuoteI've managed to solve the issue. For other Ubuntu 14.04 or even 13.10 64bit users who use the Nvidia proprietary drivers, basically Wine/POL are asking for libGL, but aren't pointed to the right location.To check if you're experiencing this as well, first open a terminal and enter:Code Select Expandldconfig -p | grep libGL.so.1Which should return something similar to:Code Select ExpandlibGL.so.1 (libc6,x86-64) => /usr/lib/libGL.so.1That folder it's pointed to is not where the Nvidia driver's 32bit library is. So, let's fix that. Open a terminal and type:Code Select Expandsudo geditA text editor will open up. In it, type:Code Select Expand/usr/lib32Now, save this text file as local.conf. You're going to want to save it in the directory called /etc/ld.so.conf.d (yes that is a folder). Not sure where it is? When opening the Home window, on your left is the Computer directory. Click that, and you will see a whole bunch of folders. Among them is the /etc folder.Alright, we've written the text file and saved it. Now, open a new terminal and type the following:Code Select Expandsudo ldconfigThis will update Ubuntu to tell it to look in that new directory we saved in the text file. To check that you did it right, in any terminal, type this again:Code Select Expandldconfig -p | grep libGL.so.1Now, what should appear is something along the lines of:Code Select ExpandlibGL.so.1 (libc6,x86-64) => /usr/lib/libGL.so.1libGL.so.1 (libc6) => /usr/lib32/libGL.so.1So, now if you run any 3D game or application in Wine via POL it should be able to run. It should no longer say it can't find libGL.so.1 in the debug window either.NOTE: This fix only applies to Ubuntu 13.10 and 14.04 64bit! I believe this issue only pops up for the Nvidia proprietary driver, but if this occurs with AMD's proprietary driver then this fix may not work. Intel graphics should not experience this issue.
ldconfig -p | grep libGL.so.1
libGL.so.1 (libc6,x86-64) => /usr/lib/libGL.so.1
libGL.so.1 (libc6,x86-64) => /usr/lib/libGL.so.1libGL.so.1 (libc6) => /usr/lib32/libGL.so.1
View the most recent posts on the forum