1822497 Members
2574 Online
109642 Solutions
New Discussion юеВ

rsync libpopt.sl missing

 
SOLVED
Go to solution
Ralph Grothe
Honored Contributor

rsync libpopt.sl missing

Hi,

I installed a prebuilt SD depot of rsync from the German mirror of HP-UX porting centre
http://hpux.asknet.de/hppd/hpux/Networking/Admin/rsync-2.6.2/

When I ran a "swlist -l fileset -a prerequisites -a corequisites -a exrequiisites -s /path/to/rsync.depot" before installation it reported that it only needed gettext as a corequisite (i.e. must have during runtime).
However I experienced already problems when issueing the swcopy to /var/spool/sw, where it claimed a missing prerequisite, but wouldn't specify which one :-(
Because I knew I had gettext already installed (from the same distributor) I ran swcopy with the enforce_dependencies=false switch.
Albeit the swinstall (without this switch) went without any errors.

When I tried to invoke rsync for the first time I got a core dump and a reported missing libpopt.sl

# /usr/local/bin/rsync -h
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libpopt.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)

A find over the filesystems didn't discover the missing lib.

# chatr /usr/local/bin/rsync|head
chatr(warning): dl_header_ext.size != sizeof(dl_header_ext). Please update your
version of the chatr tool.
/usr/local/bin/rsync:
shared executable
shared library dynamic path search:
SHLIB_PATH enabled first
embedded path disabled second Not Defined
shared library list:
dynamic /usr/local/lib/libintl.sl
dynamic /usr/local/lib/libpopt.sl
dynamic /usr/lib/libc.2
shared library binding:



This is what is installed with regard to rsync


# swlist -l fileset -a title -a corequisites -a state rsync
# Initializing...
# Contacting target "neptun"...
#
# Target: neptun:/
#

# rsync rsync
rsync.rsync-RUN gettext.gettext-SHLIBS configured

# swlist -l file rsync gettext|grep -c libpopt
0

I also googled for rsync on HP-UX and queried the HP knowledge base.
But with no promissing pointer.

Before I get the rsync sources and dig out the compiler, I would like to know if there are *complete and working* binaries for HP-UX 11.00 available.

Rgds.
Ralph
Madness, thy name is system administration
6 REPLIES 6
Geoff Wild
Honored Contributor

Re: rsync libpopt.sl missing

This might not help - but you could use the built in rdist instead.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Eric Antunes
Honored Contributor
Solution

Re: rsync libpopt.sl missing

HI Ralph,

Maybe it is the same issue than this one:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=628594

:)

Eric Antunes
Each and every day is a good day to learn.
Ralph Grothe
Honored Contributor

Re: rsync libpopt.sl missing

Eric,

exactly :-)

Looks as if the rsync depot was poorly packaged as it didn't reveal that rsync would rely on popt.
I haven't even heard of popt before.
But having dowloaded it I could verify the missing lib was in that very package.

[root@jupiter:/usr/local/doc/rsync]
# swlist -l file -s /var/spool/sw popt|grep libpopt
/usr/local/lib/libpopt.a
/usr/local/lib/libpopt.la
/usr/local/lib/libpopt.sl

# swlist -l fileset -a state popt
# Initializing...
# Contacting target "jupiter"...
#
# Target: jupiter:/
#

# popt
popt.popt-RUN configured

# /usr/local/bin/rsync --version
rsync version 2.6.2 protocol version 28
Copyright (C) 1996-2004 by Andrew Tridgell and others
<>
Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,
no IPv6, 32-bit system inums, 64-bit internal inums

rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. See the GNU
General Public Licence for details.

Madness, thy name is system administration
Geoff Wild
Honored Contributor

Re: rsync libpopt.sl missing

Try installing:

http://hpux.ee.ualberta.ca/hppd/hpux/Development/Libraries/popt-1.7/

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Ralph Grothe
Honored Contributor

Re: rsync libpopt.sl missing

Geoff,

thanks for the link.
But Erics pointer guided me to the relevant thread.
So installation of popt (which included libpopt) was the remedy.
I don't mind the few extra bytes, even if I never will use popt, as long as rsync is happy.
Madness, thy name is system administration
Ralph Grothe
Honored Contributor

Re: rsync libpopt.sl missing

oops, wanted to close this thread as solved
but it looks i need to place a final comment here.
that's it
Madness, thy name is system administration