November 24, 2003

HP-UX and swinstall    [ Software ]

Finally starting to play around with my HP-UX box a little more, I grabbed some precompiled GNU + open-source software from the Software Porting And Archive Centre For HP-UX so that I could get a GNU-based compiler toolchain going.   Since it's been almost a year since I did any real work with HP-UX 11, I had to google for the invocation to avoid going through swinstall's curses-GUI screens:

# swinstall -s /var/spool/sw/full-name-of-package.depot \*

And then it'll happily install the contents of the HP software depot, log the session to /var/tmp/swagent.log, and put some more info in /var/adm/sw/sessions/swinstall.last and /var/adm/sw/swagent.log.

One other buglet - after installed OpenSSH 3.7.1p2 from the HP-UX software archive, I got the following errors when trying to run any SSH app:

/usr/lib/dld.sl: Can't find path for shared library: libcrypto.sl.0.9.7
/usr/lib/dld.sl: No such file or directory
Abort(coredump)

I went into /usr/local/lib and did a:

# ln -s libcrypto.sl libcrypto.sl.0.9.7

to link the library properly.   SSH was all happiness after that.

Posted by edobbs at November 24, 2003 05:32 PM