You are not logged in.

#1 2014-02-06 00:22:50

Aditya Raj Bhatt
Member
From: New Delhi, India
Registered: 2013-02-27
Posts: 17

[SOLVED]Applications don't detect/use libGL.so.1

SOLUTION : Re-install lib32-nvidia-libgl

I installed dwarffortress (repo package) and ran dwarffortress. It gave me this error -
./libs/Dwarf_Fortress: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

Searching for libGL.so.1 gives me with catfish - https://drive.google.com/file/d/0B2sfMr … sp=sharing


As you can see, I have it in several locations including /usr/lib32 and /usr/lib32/nvidia. Following this thread - https://bbs.archlinux.org/viewtopic.php?id=159833 I ran

pkgfile libGL.so.1 and it gave me

extra/mesa-libgl
extra/nvidia-304xx-utils
extra/nvidia-libgl
extra/nvidia-utils
community/nvidia-cg-toolkit
community/primus
multilib/lib32-mesa-libgl
multilib/lib32-nvidia-304xx-utils
multilib/lib32-nvidia-libgl
multilib/lib32-nvidia-utils
multilib/lib32-primus

I tried to install mesa-libgl but it is in conflict with nvidia-libgl. So what do I do? Do I remove nvidia-libgl? I am on a x86_64 system (uname -m gives x86_64). Also various solutions around the internet consist of creating symlinks but I need to get a concrete solution that doesn't break my system. Several other games give me this error when I try to run with Wine.

If this helps - I ran pacman -Qs libgl and it gave me -

local/lib32-mesa 10.0.2-1
    an open-source implementation of the OpenGL specification (32-bit)
local/lib32-nvidia-libgl 331.38-1
    NVIDIA drivers libraries symlinks (32-bit)
local/libglade 2.6.4-5
    Allows you to load glade interface files in a program at runtime
local/mesa 10.0.2-1
    an open-source implementation of the OpenGL specification
local/nvidia-libgl 331.38-1
    NVIDIA drivers libraries symlinks

P.S - How do I put things in code so that I don't have to paste them as text and they don't take up screen space?

EDIT : Something strange. Just randomly I tried installing lib32-glu. Output said <package name and version> is up to date -- reinstalling. That's fine, I just forgot it was already installed. But then it said

Total Download Size:    0.17 MiB
Total Installed Size:   0.52 MiB
Net Upgrade Size:       0.00 MiB

Shouldn't the download size be 0 if it's already installed?

Last edited by Aditya Raj Bhatt (2014-02-06 10:39:54)

Offline

#2 2014-02-06 01:12:07

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED]Applications don't detect/use libGL.so.1

png won't load, but seriously, a png for a search?

Anyway, if you have nvidia-libgl installed, you should have the 64 bit version of libGL.so.1. Try reinstalling it, maybe something got corrupted.

Edit, wait, this is a multilib package. So reinstall lib32-nvidia-libgl instead.

Last edited by Scimmia (2014-02-06 01:14:54)

Offline

#3 2014-02-06 01:58:27

Aditya Raj Bhatt
Member
From: New Delhi, India
Registered: 2013-02-27
Posts: 17

Re: [SOLVED]Applications don't detect/use libGL.so.1

That's strange, check now does it load? I have set permissions to anyone on the web. Anyway, I'll paste it here -

/usr/lib
/usr/lib/nvidia
/usr/lib32/nvidia

And thanks! Re-installing lib32-nvidia-libgl worked! Could you please tell me how to put the output in code? I'll mark the thread as solved though.

EDIT : Uh, I don't see an edit button for the title. How do I edit it to read [SOLVED] ?

Last edited by Aditya Raj Bhatt (2014-02-06 01:59:28)

Offline

#4 2014-02-06 02:17:14

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED]Applications don't detect/use libGL.so.1

I don't know, I went back and was able to download it, but it still won't load in my browser.

Anyway, normally you would just run "find / -name libGL.so.1" and copy and paste the output.

To mark the thread as solved, edit the first post.

Offline

Board footer

Powered by FluxBB