Solaris 10 - symbol locale_charset: referenced symbol not found

Posted on 2012-08-13
Last Modified: 2012-08-27

Im trying to run rsync and Im getting the following: rsync: fatal: relocation error: file /usr/local/bin/rsync: symbol locale_charset: referenced symbol not found

I have this rsync version:
  1  SMCrsync     rsync
                  (sparc) 3.0.8

command Im using:
  ${RSYNC} --files-from=${INCLUDE} --exclude-from=${EXCLUDE} --delete-before /opt/smarttrust/dpa ${i}:/opt/smarttrust/dpa/

Any idea?
Question by:joaotelles
    LVL 76

    Expert Comment

    What locale/character set used on your system?
    LVL 22

    Accepted Solution

    Did you build rsync on a system other than the one you are running it on? The locale_charset function is not a standard function in Solaris, but I think it comes with the iconv GNU library. The system it was built on apparently had that library installed. You can run this command to see if all the libraries were found:

    ldd  /usr/local/bin/rsync

    Look to see if iconv is there and is found.

    Author Closing Comment

    iconv not found but problem solved.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
    Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
    This tutorial goes over how to archive and restore FreeBSD jails that are managed by ezjail.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now