[csw-users] rsync throws libintl error on fresh install

David N. Blank-Edelman dnb at ccs.neu.edu
Thu Apr 2 07:09:02 CEST 2009


Hi-
   Here's a weird one. I'm in the process of doing a fresh install of  
opencsw packages. I've just attempted to install rsync (3.0.2 from  
current) on a Sol9 system. It complains of:

# /opt/csw/bin/rsync
ld.so.1: rsync: fatal: libintl.so.8: open failed: No such file or  
directory

Yet:

# ls -l /opt/csw/lib/libintl.so*
lrwxrwxrwx   1 root     other         16 Apr  2 00:26 /opt/csw/lib/ 
libintl.so -> libintl.so.8.0.2
-rwxr-xr-x   1 root     bin        51872 Feb 13 12:15 /opt/csw/lib/ 
libintl.so.2
-rwxr-xr-x   1 root     bin        60616 Feb 13 12:15 /opt/csw/lib/ 
libintl.so.3
lrwxrwxrwx   1 root     other         16 Apr  2 00:26 /opt/csw/lib/ 
libintl.so.8 -> libintl.so.8.0.2
-rwxr-xr-x   1 root     bin       100664 Feb 13 12:12 /opt/csw/lib/ 
libintl.so.8.0.2

# /opt/csw/bin/pkg-get -i ggettextrt
No worries... you already have version 0.17,REV=2009.02.13 of ggettextrt

and:

# ldd /opt/csw/bin/rsync
         libc.so.1 =>     /usr/lib/libc.so.1
         libdl.so.1 =>    /usr/lib/libdl.so.1
         /usr/platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1
# ldd /opt/csw/lib/libintl.so.8.0.2
       libsec.so.1 =>   /usr/lib/libsec.so.1
         libiconv.so.2 =>         /opt/csw/lib/libiconv.so.2
         libc.so.1 =>     /usr/lib/libc.so.1
         libdl.so.1 =>    /usr/lib/libdl.so.1
         /usr/platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1

LD_LIBRARY_PATH is _not_ set. If I do set it, just for yuks, I get:

# LD_LIBRARY_PATH=/opt/csw/lib /opt/csw/bin/rsync
ld.so.1: rsync: fatal: /opt/csw/lib/libintl.so.8: wrong ELF class:  
ELFCLASS32

which is peculiar because:

# file /opt/csw/bin/rsync
/opt/csw/bin/rsync: ELF 32-bit MSB executable, SPARC, version 1,  
dynamically linked (uses shared libs), stripped

# file /opt/csw/lib/libintl.so.8.0.2
/opt/csw/lib/libintl.so.8.0.2: ELF 32-bit MSB shared object, SPARC,  
version 1, not stripped

I'm sure I'm missing something dumb here, but I can't seem to figure  
what that could be. Any ideas would be very welcome.

     -- dNb




More information about the users mailing list