Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There are a range of HP-UX 11.11 hosts I'm unable to install rsync (I'm limited to a non-privileged user)

I've extracted both rsync binary and,, from the depots into one of that user's directories: /home/zenith/rsync/

Problem is, I can't get my RH Linux box communicating with it:

rsync -e --rsync-path=/home/zenith/rsync/rsync --compress=9 -pgtov --filter=+rs_/'*.log' --exclude='*' zenith@ /u01/rsync_depot/service/

/usr/lib/ Can't find path for shared library:
/usr/lib/ No such file or directory
sh: 1644 Abort(coredump)

I've added to the remote host .profile

export SHLIB_PATH=/usr/lib:/home/zenith/rsync
export PATH=$PATH:/home/zenith/rsync

but still, no is found. How can I initialize the correct env variable/ get this to work?

share|improve this question

How about adding LD_LIBRARY_PATH variable and adding the directory where the shared library is?

share|improve this answer
mdpc, I've tried adding it but I still get a /usr/lib/ Can't find path for shared library: /usr/lib/ No such file or directory (that path contents are, -r-xr-x--- 1 zenith users 1019904 Mar 7 18:34 -r-xr-x--- 1 zenith users 98304 Mar 7 18:31 -r-xr-x--- 1 zenith users 139264 Mar 7 18:35 – Joao Figueiredo Mar 14 '11 at 10:24
The only ugly workaround I got so far was creating a BASH file named rsync (and renaming rsync bin to rsync.bin) export SHLIB_PATH=$SHLIB_PATH:/home/core/rsync /home/zenith/rsync/rsync.bin $1 $2 $3 $4 $5 $6 $7 $8 Any idea what's amiss? – Joao Figueiredo Mar 14 '11 at 10:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.