error while loading shared libraries: /usr/lib/libnam.so.0

Hi all,

Since a few weeks ago I get this error when starting my computer:

Waiting for namcd initialitation to complete
./usr/sbin/namcd: error while loading shared libraries: /usr/lib/libnam.so.0: invalid ELF header.

I don’t know exactly when it started. Does anybody know something about it?

SUSE Linux Enterprise Desktop 11 (i586)
VERSION = 11
PATCHLEVEL = 2
Novell client 2.0 sp2 for linux installed and LUM

Thanks

Hi
Something like that would be created by installing the x86_64 version…

Do you have a /usr/lib64 directory?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.28-2.20-desktop
up 11:37, 3 users, load average: 0.15, 0.12, 0.13
CPU Intel® i5 CPU M520@2.40GHz | GPU Intel® Ironlake Mobile

[QUOTE=malcolmlewis;12332]Hi
Something like that would be created by installing the x86_64 version…

Do you have a /usr/lib64 directory?
[/QUOTE]

ll /usr/ total 272 drwxr-xr-x 2 root root 69632 feb 15 11:49 bin drwxr-xr-x 10 root root 4096 jul 9 2010 ConsoleOne drwxr-xr-x 3 root root 4096 sep 2 2011 etc drwxr-xr-x 2 root root 4096 may 5 2010 games drwxr-xr-x 5 root root 4096 jul 8 2010 i586-suse-linux drwxr-xr-x 69 root root 4096 nov 19 15:12 include drwxr-xr-x 4 root root 4096 feb 15 11:49 java drwxr-xr-x 241 root root 118784 feb 13 13:45 lib drwxr-xr-x 12 root root 4096 feb 23 2011 local drwxr-xr-x 10 root root 4096 jul 9 2010 man drwxr-xr-x 12 root daemon 4096 ago 20 2012 openv drwxr-xr-x 9 root root 4096 jul 9 2010 res drwxr-xr-x 2 root root 20480 feb 13 13:45 sbin drwxr-xr-x 307 root root 12288 abr 27 2012 share drwxr-xr-x 6 root root 4096 abr 27 2012 src lrwxrwxrwx 1 root root 10 jul 8 2010 tmp -> ../var/tmp drwxr-xr-x 4 root root 4096 jul 8 2010 X11R6

No, I don’t

What’s the output of

$ file /usr/lib/libnam.so.0 $ ldd /usr/lib/libnam.so.0 $ rpm -qf --queryformat='%{name}-%{version} %{arch}\ ' /usr/lib/libnam.so.0

This is the output:

SSCC066-linux:~ # file /usr/lib/libnam.so.0 /usr/lib/libnam.so.0: symbolic link to `libnam.so.0.0.0' SSCC066-linux:~ # file /usr/lib/libnam.so.0.0.0 /usr/lib/libnam.so.0.0.0: POSIX tar archive (GNU) SSCC066-linux:~ # ldd /usr/lib/libnam.so.0 not a dynamic executable SSCC066-linux:~ # ldd /usr/lib/libnam.so.0.0.0 not a dynamic executable SSCC066-linux:~ # rpm -qf --queryformat='%{name}-%{version} %{arch}\ ' /usr/lib/libnam.so.0 novell-lum-2.2.0.16 i586

Thanks a lot for your help.

Well that seems wrong! I don’t have a 32bit machine to check with, but I just installed novell-lum package on a 64bit machine and

linux-b4fu:~ # file /usr/lib64/libnam.so.0.0.0 /usr/lib64/libnam.so.0.0.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
You could try uninstallating the novell-lum package and re-installing it. I can uninstall it with

$ rpm -e novell-lum

there’s not complaints about dependencies.

SSCC066-linux:~ # file /usr/lib/libnam.so.0.0.0 /usr/lib/libnam.so.0.0.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped

Thanks a lot. I reinstalled the package. On next monday I’ll try if it works.

Thanks a lot. Now it works fine!!