showrev(1M) missing on Solaris 10

Today I realized I was missing the showrev command on a Solaris 10 machine I installed.
I found it in the SUNWadmc package but recieved the following error:

ld.so.1: showrev: fatal: libadmapm.so.2: open failed: No such file or directory

Then I found the following page:
showrev(1M) missing on Solaris 8
Adding the SUNWadmfw package as mentioned still left me with the following error:

ld.so.1: showrev: fatal: libadmutil.so.2: open failed: No such file or directory

It turns out I was missing the SUNWadmlib-sysid package.

SUMMARY

If you are missing showrev check if you have the following packages:
SUNWadmlib-sysid SUNWadmc SUNWadmfw

Good luck!

Be Sociable, Share!
  • Twitter
  • Facebook
  • email
  • LinkedIn
  • HackerNews
  • Reddit

5 comments for “showrev(1M) missing on Solaris 10

  1. Anonymous
    November 14, 2008 at 7:08 am

    Could you post the information about how you located and installed those packages? This is the only decent google search result on the topic.

  2. Judas
    November 26, 2008 at 10:12 am

    I figured it out, so I figured I'd follow-up on my earlier query.

    Here's how I did it :
    – mkdir /tmp/showrev
    – Mount the DVD, or iso
    – cd /path/to/dvd/Solaris_10/Product
    – cp -r SUNWadmfw /tmp/showrev
    – cp -r SUNWadmc /tmp/showrev
    – cp -r SUNWadmlib-sysid /tmp/showrev
    – pkgadd -d /tmp/showrev
    – step throuh installation(all, yes, yes, yes)
    – test showrev
    # showrev
    Hostname: solaris10
    Hostid: 50a1c8f
    Release: 5.10
    Kernel architecture: i86pc
    Application architecture: i386
    Hardware provider:
    Domain:
    Kernel version: SunOS 5.10 Generic_118855-33

    Note: If you can mount the DVD, that makes it easier. I couldn't on this machine, so I copied the relevant packages via SFTP.

  3. Anonymous
    October 21, 2009 at 1:39 pm

    Not to necro this thread. But the information is still valid and solved my showrev issues.

  4. ashu
    November 2, 2011 at 8:49 pm

    Good.. Just one point..If the packages are still there, just go ahead and install the same packages. As in my case the packages were there but command failing. I went ahead and installed the above mentiones packages and it worked. Thanks for the same.

  5. frozenfall
    May 15, 2013 at 11:20 pm

    what differents betwin showrev showrev -p showrev -a patchadd -p?

Leave a Reply

Your email address will not be published.