Operating System - Linux
1752587 Members
3852 Online
108788 Solutions
New Discussion юеВ

Re: Using Expect on HP-UX

 
Steve Mowl
Occasional Contributor

Using Expect on HP-UX

I'm trying to do some testing of expect and getting some library errors. I downloaded the compiled depots of Expect and TCL from hpux.cs.utah.edu. I'm using a PA-RISC machine and get this error:
#./expect
/usr/lib/dld.sl: Bad system id for shared library: /usr/local/lib/libtcl.sl
/usr/lib/dld.sl: Exec format error
Abort(coredump)

But the library is there. Any ideas.

4 REPLIES 4
Matti_Kurkela
Honored Contributor

Re: Using Expect on HP-UX

Did you install an Itanium version of the library by mistake?

(I recently discovered that it is possible to install at least some of hpux.cs.utah.edu's Itanium software packages on a PA-RISC host.)
MK
Geoff Wild
Honored Contributor

Re: Using Expect on HP-UX

Do you have all the Expect run time dependencies?

Run-time dependencies: pth tcltk libgcc gettext libiconv make

http://hpux.ee.ualberta.ca/hppd/hpux/Tcl/expect-5.43/

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.
Geoff Wild
Honored Contributor

Re: Using Expect on HP-UX

I think you install 11.23 binaries on a 11.11 system.

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.
Geoff Wild
Honored Contributor

Re: Using Expect on HP-UX

I just tested 11.23 binaries on an 11.11 system - almost same results:

# expect
/usr/lib/dld.sl: Unresolved symbol: strtoll (plabel) from /usr/local/lib/libtcl.sl
/usr/lib/dld.sl: Unresolved symbol: strtoull (plabel) from /usr/local/lib/libtcl.sl
/usr/lib/dld.sl: Unresolved module for symbol: Tcl_ScanObjCmd (plabel) from /usr/local/lib/libtcl.sl
/usr/lib/dld.sl: Unresolved module for symbol: Tcl_CreateInterp (code) from expect
Abort(coredump)

swremove expect
swremove tcltk

(I bundled my expect and tcl in one depot)

swinstall -s svr1005:/var/software/HP/expect-5.43-hppa-11.11 \* @`uname -n`

# expect
expect1.1> exit


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.