Here's the situation:
I want to list the contents of a directory full of shared libraries.
When I type 'ls -la' I either get:
Code:
[root@host lib]# ls -la
Segmentation fault
or
Code:
[root@host lib]# ls -la
ls: error while loading shared libraries: ./libtermcap.so.2: ELF file data encoding not little-endian
What's wrong with it? The shared libraries are for a PowerPCa and my host is x86...
And the libtermcamp.so.2 file is somewhere at the end of the listing (I checked it with Konqueror). There ~60 shared llibraries in that directory...
Does the 'ls' command tries to load the libraries???
Thanks.