From: David C. <cl...@au...> - 2004-08-10 00:34:30
|
Hi Pierre, First the short answer: Installing the latest popt rpm image will give you the dependency you need. A link to the image: ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/rpm/popt-1.7-1.aix4.3.ppc.rpm Now the longer answer: rpm.rte itself only depends on libpopt.so.0 and never included libpopt.a... and consequently there was no libpopt.a(libpopt.so.0). The version of popt provided originally in the Toolbox was 1.5, without libpopt.a. Last year, popt was updated to 1.7, which now included libpopt.a. Since the older rsync was built with the older popt installed, it just used libpopt.so.0 and didn't care about libpopt.a(libpopt.so.0).... and even worked without installing the 'popt' rpm because the dependency was met by rpm.rte. But when rsync was updated later, it was built using the newer version of popt, with libpopt.a. That means at runtime, it also needs the popt 1.7 rpm installed as a dependency. Sometimes when a package is updated, it pulls in new dependencies that it didn't have before, and this is one of those cases (though I hadn't noticed this particular one before). Installing 1.7 won't hurt your rpm.rte. In fact, the libpopt.so.0 within rpm.rte 3.0.5.36 is the one from popt version 1.7. -- David Clissold cl...@au... On Mon, Aug 09, 2004 at 03:38:18PM -0400, Pierre Hildebrand wrote: > Hello... > > I'm trying to install the latest rsync package on a AIX 5.1 system: > > root@pierreh(/tempspace)$ rpm -Uvh rsync-2.5.4-3.aix5.1.ppc.rpm > error: failed dependencies: > libpopt.a(libpopt.so.0) is needed by rsync-2.5.4-3 > > and yet: > > root@pierreh(/tempspace)$ ls -l /opt/freeware/lib/*pop* > lrwxrwxrwx 1 root system 16 Jun 22 14:35 > /opt/freeware/lib/libpopt.so -> libpopt.so.0.0.0 > lrwxrwxrwx 1 root system 16 Jun 22 14:35 > /opt/freeware/lib/libpopt.so.0 -> libpopt.so.0.0.0 > -rwxr-xr-x 1 root system 53386 Sep 08 2003 > /opt/freeware/lib/libpopt.so.0.0.0 > lrwxrwxrwx 1 root system 11 Jun 22 14:35 > /opt/freeware/lib/rpmpopt -> rpm/rpmpopt > > After some digging, it looks like the libraries are delivered in rpm.rte. > I'm running with 3.0.5.36. > > Am I missing something here? Is it simply a matter of a missing link > between libpopt.a and libpopt.so.0? I noticed that this doesn't occur with > rsync-2.5.4-1.aix4.3.ppc.rpm, but happens with > rsync-2.5.4-?.aix5.1.ppc.rpm. > > Thanks in advance, > > Pierre > > > Pierre Hildebrand B.Eng 514-938-6144 > Technical Sales Specialist - pSeries e-servers > IBM Canada Ltd. > pi...@ca... |