Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304741 - smbclient: error while loading shared libraries: /usr/lib64/libncurses.so.5: invalid ELF header
Summary: smbclient: error while loading shared libraries: /usr/lib64/libncurses.so.5: ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-12 16:40 UTC by Alessandro Surace
Modified: 2010-02-22 15:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Surace 2010-02-12 16:40:46 UTC
Hi dear, 
smbclient is unusable.
I get the error in summary when I try to use that.

To get it working I substitute the text file with the real lib. But this is only a WA. Where is the problem?

Reproducible: Always

Steps to Reproduce:
1.smbclient 
2.
3.

Actual Results:  
smbclient: error while loading shared libraries: /usr/lib64/libncurses.so.5: invalid ELF header
Comment 1 Alessandro Surace 2010-02-12 16:46:39 UTC
A fresh re-emerge doesn't help.
Comment 2 Rafał Mużyło 2010-02-12 19:43:21 UTC
Did you try to reemerge ncurses ?
What does ldd on smbclient print ?
Comment 3 Alessandro Surace 2010-02-22 15:02:07 UTC
(In reply to comment #2)
> Did you try to reemerge ncurses ?
> What does ldd on smbclient print ?
> 

No I haven't but I don't think is was a problem related to that because today I've tested smbclient and it works without any problem although /usr/lib64/libncurses.so is a GNU ld script.

I don't understand where was the problem!

Follow the ldd list:
	linux-vdso.so.1 =>  (0x00007fffcc7e9000)
	libreadline.so.6 => /lib/libreadline.so.6 (0x00007f534b111000)
	libncurses.so.5 => /lib/libncurses.so.5 (0x00007f534aec0000)
	libresolv.so.2 => /lib/libresolv.so.2 (0x00007f534aca9000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x00007f534aa91000)
	libdl.so.2 => /lib/libdl.so.2 (0x00007f534a88d000)
	libpopt.so.0 => /usr/lib/libpopt.so.0 (0x00007f534a682000)
	libldap-2.4.so.2 => /usr/lib/libldap-2.4.so.2 (0x00007f534a43e000)
	liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x00007f534a22f000)
	libdns_sd.so.1 => /usr/lib/libdns_sd.so.1 (0x00007f534a026000)
	libtalloc.so.2 => /usr/lib/libtalloc.so.2 (0x00007f5349e1b000)
	libtdb.so.1 => /usr/lib/libtdb.so.1 (0x00007f5349c0c000)
	libz.so.1 => /lib/libz.so.1 (0x00007f53499f7000)
	libc.so.6 => /lib/libc.so.6 (0x00007f534969e000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f534b356000)
	libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00007f5349483000)
	libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0x00007f53491de000)
	libavahi-client.so.3 => /usr/lib/libavahi-client.so.3 (0x00007f5348fcd000)
	libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007f5348d8b000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00007f5348b6f000)
	librt.so.1 => /lib/librt.so.1 (0x00007f5348966000)
	libavahi-common.so.3 => /usr/lib/libavahi-common.so.3 (0x00007f5348759000)
	libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007f5348522000)
	libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0x00007f5348311000)
	libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0x00007f5348098000)
	libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007f5347e94000