FS#48138 - [nvidia-settings] missing libnvidia-gtk3.so and libnvidia-gtk3.so

Attached to Project: Arch Linux
Opened by Tomasz Przybył (FadeMind) - Thursday, 11 February 2016, 11:14 GMT
Last edited by Felix Yan (felixonmars) - Thursday, 11 February 2016, 13:13 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

[tomasz@arch ~]$ optirun nvidia-settings -c :8

ERROR: libGLdispatch.so.0: cannot open shared object file: No such file or directory
libnvidia-gtk3.so: cannot open shared object file: No such file or directory
libnvidia-gtk2.so.361.28: cannot open shared object file: No such file or directory
libnvidia-gtk2.so: cannot open shared object file: No such file or directory


ERROR: A problem occured when loading the GUI library. Please check your installation and library path. You may need to specify this
library when calling nvidia-settings. Please run `nvidia-settings --help` for usage information.

[tomasz@arch ~]$


Note: missing libGLdispatch.so.0 is related to: https://bugs.archlinux.org/task/48123
and commit: https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/nvidia-utils&id=1b78b323a62edaf1a033b9a7255b793dce0132bf


[tomasz@arch ~]$ pacman -Ql nvidia-settings
nvidia-settings /usr/
nvidia-settings /usr/bin/
nvidia-settings /usr/bin/nvidia-settings
nvidia-settings /usr/lib/
nvidia-settings /usr/lib/libnvidia-gtk3.so.361.28
nvidia-settings /usr/share/
nvidia-settings /usr/share/applications/
nvidia-settings /usr/share/applications/nvidia-settings.desktop
nvidia-settings /usr/share/man/
nvidia-settings /usr/share/man/man1/
nvidia-settings /usr/share/man/man1/nvidia-settings.1.gz
nvidia-settings /usr/share/pixmaps/
nvidia-settings /usr/share/pixmaps/nvidia-settings.png
[tomasz@arch ~]$
This task depends upon

Closed by  Felix Yan (felixonmars)
Thursday, 11 February 2016, 13:13 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Actual issue is  FS#48123 
Comment by Tomasz Przybył (FadeMind) - Thursday, 11 February 2016, 11:25 GMT
PKGBUILD package() section should be:

package() {
cd ${pkgname}
make DESTDIR="${pkgdir}" install
ln -s libnvidia-gtk3.so.$pkgver $pkgdir/usr/lib/libnvidia-gtk3.so
ln -s libnvidia-gtk2.so.$pkgver $pkgdir/usr/lib/libnvidia-gtk2.so
install -D -m644 doc/nvidia-settings.desktop "${pkgdir}/usr/share/applications/nvidia-settings.desktop"
install -D -m644 doc/nvidia-settings.png "${pkgdir}/usr/share/pixmaps/nvidia-settings.png"
sed -e 's:__UTILS_PATH__:/usr/bin:' -e 's:__PIXMAP_PATH__:/usr/share/pixmaps:' -i "${pkgdir}/usr/share/applications/nvidia-settings.desktop"
}

And in results I have only issue with:

[tomasz@arch ~]$ optirun nvidia-settings -c :8

ERROR: libGLdispatch.so.0: cannot open shared object file: No such file or directory
libGLdispatch.so.0: cannot open shared object file: No such file or directory
libGLdispatch.so.0: cannot open shared object file: No such file or directory
libGLdispatch.so.0: cannot open shared object file: No such file or directory


ERROR: A problem occured when loading the GUI library. Please check your installation and library path. You may need to specify this
library when calling nvidia-settings. Please run `nvidia-settings --help` for usage information.

[tomasz@arch ~]$

Comment by Felix Yan (felixonmars) - Thursday, 11 February 2016, 11:54 GMT
The issue is only about missing libGLdispatch.so with bumblebee. Both the gtk2 library and the symlink for libnvidia-gtk3.so are unneeded.
Comment by Tomasz Przybył (FadeMind) - Thursday, 11 February 2016, 12:54 GMT
@Felix Yan You have right. So, this FS 48138 can be closed AS FIXED in nvidia-utils 361.28-4

NOTE: lib32-nvidia-utils is not fixed yet.

EDIT: Installing lib32-libglvnd solve issue for lib32.

Loading...