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

**URL:** <https://forums.suse.com/t/error-while-loading-shared-libraries-usr-lib-libnam-so-0/23712>\
**Category:** SLED Configure-Administer\
**Created:** [March 11, 2013, 12:28pm UTC](https://forums.suse.com/t/error-while-loading-shared-libraries-usr-lib-libnam-so-0/23712 "2013-03-11T12:28:37Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jordegr](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@jordegr](https://forums.suse.com/u/jordegr)\
**Post date:** [March 11, 2013, 12:28pm UTC](https://forums.suse.com/t/error-while-loading-shared-libraries-usr-lib-libnam-so-0/23712/1 "2013-03-11T12:28:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [March 11, 2013, 4:01pm UTC](https://forums.suse.com/t/error-while-loading-shared-libraries-usr-lib-libnam-so-0/23712/2 "2013-03-11T16:01:03Z")

</div>

> [@](#):
>
> On Mon 11 Mar 2013 10:34:02 AM CDT, jordegr wrote:
> 
> 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

---

<div class="post-metadata">

**Author:** ![jordegr](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@jordegr](https://forums.suse.com/u/jordegr)\
**Post date:** [March 14, 2013, 10:12am UTC](https://forums.suse.com/t/error-while-loading-shared-libraries-usr-lib-libnam-so-0/23712/3 "2013-03-14T10:12:35Z")

</div>

[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

---

<div class="post-metadata">

**Author:** ![mikewillis](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@mikewillis](https://forums.suse.com/u/mikewillis)\
**Post date:** [March 14, 2013, 2:44pm UTC](https://forums.suse.com/t/error-while-loading-shared-libraries-usr-lib-libnam-so-0/23712/4 "2013-03-14T14:44:26Z")

</div>

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`

---

<div class="post-metadata">

**Author:** ![jordegr](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@jordegr](https://forums.suse.com/u/jordegr)\
**Post date:** [March 14, 2013, 3:00pm UTC](https://forums.suse.com/t/error-while-loading-shared-libraries-usr-lib-libnam-so-0/23712/5 "2013-03-14T15:00:08Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![mikewillis](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@mikewillis](https://forums.suse.com/u/mikewillis)\
**Post date:** [March 15, 2013, 1:13pm UTC](https://forums.suse.com/t/error-while-loading-shared-libraries-usr-lib-libnam-so-0/23712/6 "2013-03-15T13:13:15Z")

</div>

> [@jordegr;12389](#):
>
> SSCC066-linux:~ # file /usr/lib/libnam.so.0.0.0  
> /usr/lib/libnam.so.0.0.0: POSIX tar archive (GNU)

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

```auto
$ rpm -e novell-lum
```

there’s not complaints about dependencies.

---

<div class="post-metadata">

**Author:** ![jordegr](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@jordegr](https://forums.suse.com/u/jordegr)\
**Post date:** [March 20, 2013, 9:51am UTC](https://forums.suse.com/t/error-while-loading-shared-libraries-usr-lib-libnam-so-0/23712/7 "2013-03-20T09:51:48Z")

</div>

`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.

---

<div class="post-metadata">

**Author:** ![jordegr](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@jordegr](https://forums.suse.com/u/jordegr)\
**Post date:** [March 25, 2013, 9:34am UTC](https://forums.suse.com/t/error-while-loading-shared-libraries-usr-lib-libnam-so-0/23712/8 "2013-03-25T09:34:46Z")

</div>

Thanks a lot. Now it works fine!!
