Xorg doesn’t start after recent Nvidia driver update from OpenSUSE 15.0 repository.
If I remove /etc/X11/xorg.conf (generated by nvidia-xconfig) Xorg starts with, I believe, nouveau (although xf86-video-nouveau package is not installed), nvidia-settings crashes with “ERROR: Unable to load info from any available system”.
The packages you installed should be sufficient but something is broken. What are the versions of the installed
libelf-devel
elfutils
Please post the output of
ldd /usr/bin/eu-objdump
> echo "int main() {}" | gcc -xc -o /dev/null -lelf -
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
> file /usr/lib/libc.so
/usr/lib/libc.so: ASCII text
> cat /usr/lib/libc.so
/* GNU ld script
Use the shared library, but some functions are only in
the static library, so try that secondarily. */
OUTPUT_FORMAT(elf32-i386)
GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux.so.2 ) )
It looks like you’re running a 32bit userland on a 64bit kernel, there are also other errors in the log about this. Maybe just a wronf /usr/lib symlink? What’s the output of
ls -l /usr
A multilib install is not uncommon but most distros have /usr/lib32 for 32bit libs, /usr/lib64 for 64bit libs and /usr/lib being a symlink to /usr/lib64. I don’t know how Suse specifically handles this so the directory setup might be correct and you’re just missing some library path entry. You’d better revert to the Suse forums to have your setup checked.
Solution found: install glibc-devel-*
There are three packages that match the mask, and one or more of those should be declared as a dependency of the driver package.
I suspected so but thought that the minimal build package for SuSE would include that. Moreover, not the driver but the kernel-devel package is triggering that error due to CONFIG_UNWINDER_ORC=y being set, so it should be a dependency for that package. Glad you solved your issue.
Actually, glibc-devel was installed. The other thee were glibc-devel-static, glibc-devel-32bit and glibc-devel-static-32bit. Was the 64-bit static library the missing part or it’s all about 32-bit?
Anyway, thank you for hints.
That’s even more puzzling, glibc-devel should have been sufficient, the devel-32bit packages should have been skipped and the devel-static should only be used with gcc’s -static switch. So I can only speculate about the deeper reason, either some bogus cflags set in your environment or an odd gcc bug. Should have used -v switch to have a more verbose output.