Operating System - HP-UX
1833860 Members
2222 Online
110063 Solutions
New Discussion

hp-ux 11.23 Itanium, expect and libtcl.sl

 
SOLVED
Go to solution
borut kurnik_1
Frequent Advisor

hp-ux 11.23 Itanium, expect and libtcl.sl

Hi!

I'm trying to install http://hpux.connect.org.uk/hppd/hpux/Tcl/expect-5.43 binary on HP-UX 11.23 ia64 (Itanium rx4640).

I've installed all the dependecies(pth tcltk libgcc gettext libiconv make) before installing
expect as , but none of them contains (swlist -l file ...) libtcl.sl .

[root@grinch /tmp]# expect
/usr/lib/hpux32/dld.so: Unable to find library 'libtcl.sl'.
Killed

[root@grinch /tmp]# chatr `which expect`
/usr/local/bin/expect:
32-bit ELF executable
shared library dynamic path search:
LD_LIBRARY_PATH enabled first
SHLIB_PATH enabled second
embedded path enabled third /usr/local/lib/hpux32:/usr/local/lib:.
shared library list:
libexpect.sl
libtcl.sl
libdl.so.1
libxnet.so.1
libm.so.1
libc.so.1
shared library binding:
deferred
...

Regards and thanks,

Borut
4 REPLIES 4
Ivan Krastev
Honored Contributor

Re: hp-ux 11.23 Itanium, expect and libtcl.sl

Create symlink in /usr/local/lib:

ln -s libtcl8.4.sl libtcl.sl


regards,
ivan
borut kurnik_1
Frequent Advisor

Re: hp-ux 11.23 Itanium, expect and libtcl.sl

Hi!

Thanks, Ivan.

tcltk for Itanium only comes with libtcl.so.1,
which is ok, but expect wants '.sl' format
(mostly used on pa-risc), which didn't come
with the distribution.

Looks like I'll have to make it from the
source distro.

Regards,

Borut



Dennis Handly
Acclaimed Contributor
Solution

Re: hp-ux 11.23 Itanium, expect and libtcl.sl

>tcltk for Itanium only comes with libtcl.so.1,
which is ok, but expect wants '.sl' format

Then as Ivan mentioned, just create a symlink. In your case in /usr/local/lib/hpux32/:
$ ln -s libtcl.so.1 libtcl.sl
borut kurnik_1
Frequent Advisor

Re: hp-ux 11.23 Itanium, expect and libtcl.sl

Thanks.