Menu

#49 missing lib*.a entries

open
nobody
RPM (48)
5
2002-09-11
2002-09-11
Anonymous
No

Installed latest rpm.rte on AIX 4.3.3 box. When I attempted to install ssh-utils-2.0-9.aix4.3.ppc.rpm, rpm bitched about missing dependencies (libc.a, which can be found in the /lib directory). It appears rpm installation does **NOT** detect libraries on the machine and does **NOT** initialize its database to indicate that they are present.

For laughs, I tried running /usr/sbin/updtvpkg hoping that it would detect the libraries and update the database, but that didn't work either! In order to get the rpm database primed, I wound up ftp'ing the rpm database from a co-worker who had been able to successfully install packages earlier.

If you need additional details, please contact David White @ tieline 446-5671

Discussion

  • David Clissold

    David Clissold - 2002-09-17

    RPM does detect system libraries and initialize its database with this info; if
    it did not for you, then something is wrong. When rpm is installed it runs
    /usr/sbin/updtvpkg to create a "virtual" rpm package called AIX-rpm, which
    lists all the system libraries as its 'provides'.
    You say that you ran /usr/sbin/updtvpkg and it didn't work. What did it say?
    Did it print any error messages?

    Does "rpm -qa" show AIX-rpm as being installed? Do you get anything at
    all listed when you run "rpm -q --provides AIX-rpm" ?

     
  • Nobody/Anonymous

    updtvpkg ran without complaint. (No error messages!) RPMs still complained about missing libraries and would not install after updtvpkg.

    "rpm -qa" shows AIX-rpm as being installed.
    "rpm -qa -provides AIX-rpm" returns 181 lines of information after running updtvpkg. It is missing multiple library files that I can see in /usr/lib though....
    Let me know if you'd like a copy of the non-working rpm database.

    P.S. - the link in the auto-mailed response is incorrect. It is missing the domain name. Clicking on the link in the note generates a "Not found" error message, indicating that developerworks has changed URLs. It took about 15 minutes worth of searching on the site to track down this page....

     
  • Nobody/Anonymous

    I also encountered this problem while trying to install xpdf. It requires libttf.a. I tried it both on AIX 4.3.3 ML_11 and 5.2. I am using rpm.rte 3.0.5.34. Running updtvpkg did not help. Any other suggestions. susan.dimaggio@lmco.com

     
  • David Clissold

    David Clissold - 2003-10-09

    The case of xpdf requiring libttf.a is a different issue:
    libttf.a is not provided by AIX (unlike libc.a). To get libttf.a, you simply
    need to install the RPM package that provides it, which in this case is
    the freetype-1.3.1 RPM image. Install that package, then install xpdf.
    Here is a link to the freetype image:

    ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/freetype/freetype-1.3.1-8.aix4.3.ppc.rpm

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.