[Bug 1487134] Re: linker doesn't find NVIDIA libraries
echo int main(void){return 0;} | gcc -x c - -lGL /usr/bin/ld: cannot find -lGL collect2: error: ld returned 1 exit status But $ ldconfig -p | grep libGL.so libGL.so.1 (libc6,x86-64) = /usr/lib/nvidia-340-updates/libGL.so.1 libGL.so.1 (libc6) = /usr/lib32/nvidia-340-updates/libGL.so.1 libGL.so (libc6,x86-64) = /usr/lib/nvidia-340-updates/libGL.so libGL.so (libc6) = /usr/lib32/nvidia-340-updates/libGL.so $ ldconfig -p | grep libGLESv2.so libGLESv2.so.2 (libc6,x86-64) = /usr/lib/nvidia-340-updates/libGLESv2.so.2 libGLESv2.so.2 (libc6) = /usr/lib32/nvidia-340-updates/libGLESv2.so.2 libGLESv2.so (libc6,x86-64) = /usr/lib/nvidia-340-updates/libGLESv2.so libGLESv2.so (libc6) = /usr/lib32/nvidia-340-updates/libGLESv2.so $ cat /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf /usr/lib/nvidia-340-updates /usr/lib32/nvidia-340-updates -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1487134 Title: linker doesn't find NVIDIA libraries To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340-updates/+bug/1487134/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1487134] Re: linker doesn't find NVIDIA libraries
I have try to reconfigure alternative for i386-linux-gnu_gl_conf and this is the output: There are 2 choices for the alternative i386-linux-gnu_gl_conf (providing /etc/ld.so.conf.d/i386-linux-gnu_GL.conf). SelectionPath Priority Status * 0/usr/lib/nvidia-340-updates/alt_ld.so.conf 8604 auto mode 1/usr/lib/nvidia-340-updates-prime/alt_ld.so.conf 8603 manual mode 2/usr/lib/nvidia-340-updates/alt_ld.so.conf 8604 manual mode But 'usr/lib/nvidia-340-updates/alt_ld.so.conf' and '/usr/lib/nvidia-340 -updates-prime/alt_ld.so.conf' are empties files. Why it doesn't point to '/usr/lib/nvidia-340-updates/ld.so.conf'? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1487134 Title: linker doesn't find NVIDIA libraries To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340-updates/+bug/1487134/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1487134] Re: linker doesn't find NVIDIA libraries
Sorry, I have seen that 'x86_64-linux-gnu_gl_conf' points to correct conf file: There are 3 choices for the alternative x86_64-linux-gnu_gl_conf (providing /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf). SelectionPath Priority Status * 0/usr/lib/nvidia-340-updates/ld.so.conf 8604 auto mode 1/usr/lib/nvidia-340-updates-prime/ld.so.conf 8603 manual mode 2/usr/lib/nvidia-340-updates/ld.so.conf 8604 manual mode 3/usr/lib/x86_64-linux-gnu/mesa/ld.so.conf 500 manual mode -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1487134 Title: linker doesn't find NVIDIA libraries To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340-updates/+bug/1487134/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs