[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

   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  


# 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/ 
-rwxr-xr-x   1 root     bin        60616 Feb 13 12:15 /opt/csw/lib/ 
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/ 

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


# ldd /opt/csw/bin/rsync
         libc.so.1 =>     /usr/lib/libc.so.1
         libdl.so.1 =>    /usr/lib/libdl.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

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:  

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