- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cannot start expect
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2007 02:22 AM
01-15-2007 02:22 AM
Cannot start expect
Error:
/usr/lib/hpux32/dld.so: Unable to find library 'libtcl.sl'.
Killed
Runtime dependency depots for expect installed: pth, tcltk, libgcc, gettext, libiconv and make.
(installed of http://hpux.connect.org.uk/hppd/hpux/Tcl/expect-5.43/)
Which is the problem?
I need help pls.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2007 02:26 AM
01-15-2007 02:26 AM
Re: Cannot start expect
It is also possible that you installed a PA-RISC version of one of the libraries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2007 02:32 AM
01-15-2007 02:32 AM
Re: Cannot start expect
I think A. Clay meant 'ldd' instead of 'ndd'. Based on filename alone, I'd say the problem is in the tcltk package.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2007 03:55 AM
01-15-2007 03:55 AM
Re: Cannot start expect
Result:
libexpect.sl =>
/usr/local/lib/hpux32/libexpect.sl
Unable to find library 'libtcl.sl'
`find / -name libtcl.sl'
Result:
/usr/obam/lib/libtcl.sl
Version remove and reinstalled of
tcltk-8.4.14-ia64-11.23.depot.gz
Run expect:
/usr/lib/hpux32/dld.so: Unable to find library 'libtcl.sl'.
Killed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2007 05:01 AM
01-15-2007 05:01 AM
Re: Cannot start expect
SHLIB_PATH=/usr/lib:/usr/local/lib:/usr/lib/obam
export SHLIB_PATH
or if you already have SHLIB_PATH set then augment it thusly:
export SHLIB_PATH=${SHLIB_PATH}:/usr/lib/obam
before you execute expect. You could add the export to your .profile.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2007 07:27 PM
01-15-2007 07:27 PM
Re: Cannot start expect
[/usr/lib]>$ expect
/usr/lib/hpux32/dld.so: Unable to find library 'libtcl.sl'.
Killed
[/usr/lib]>$ echo $SHLIB_PATH
/usr/lib:/usr/local/lib:/usr/lib/obam
[/usr/lib]>$
I'm desesperate.
Thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2007 08:47 PM
01-15-2007 08:47 PM
Re: Cannot start expect
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2007 09:00 PM
01-15-2007 09:00 PM
Re: Cannot start expect
It continues without working:
[/usr/local/bin]>$ export SHLIB_PATH=/usr/lib:/usr/local/lib:/usr/obam/lib
[/usr/local/bin]>$ echo $SHLIB_PATH
/usr/lib:/usr/local/lib:/usr/obam/lib
[/usr/local/bin]>$ expect
/usr/lib/hpux32/dld.so: Unable to find library 'libtcl.sl'.
Killed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2007 09:02 PM
01-16-2007 09:02 PM
Re: Cannot start expect
This may be the problem. Can you do:
file /usr/obam/lib/libtcl.sl
As Clay says, this may be a PA lib and not IPF.
Also, IPF libs are typically in in lib/hpux32 or lib/hpux64 and not directly in lib/.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2007 09:12 PM
01-16-2007 09:12 PM
Re: Cannot start expect
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2007 10:13 PM
01-16-2007 10:13 PM
Re: Cannot start expect
/usr/obam/lib/libtcl.sl: PA-RISC1.1 shared library
why the lib do not installing well when I install the package tcltk-8.4.14-ia64-11.23.depot.gz??
I downloaded the tcl8.4.12 source from http://www.tcl.tk/software/tcltk/downloadnow84.html
I have copied manually the file libtcl.sl to /usr/local/lib/hpux32/libtcl.sl
Now the expect works well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2007 07:17 AM
01-17-2007 07:17 AM
Re: Cannot start expect
/usr/obam/lib/libtcl.sl: PA-RISC1.1 shared library
This is a PA lib. As Clay and I said, you need an IPF version of that lib
>why the lib do not installing well when I install the package tcltk-8.4.14-ia64-11.23.depot.gz??
Did it put the library where you didn't expect it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2007 08:26 PM
01-17-2007 08:26 PM
Re: Cannot start expect
I execute the command find and the only lib that it finds is /usr/obam/lib/libtcl.sl, that is a file PA-RISC and don't work with the program "Expect"
I downloaded the tcl8.4.12 source from http://www.tcl.tk/software/tcltk/downloadnow84.html and i have unziped the package and i have put the library where expect it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2007 08:52 PM
01-17-2007 08:52 PM
Re: Cannot start expect
I don't see why it wouldn't. I just downloaded:
http://hpux.connect.org.uk/hppd/cgi-bin/redirect?hpux/Tcl/tcltk-8.4.14/tcltk-8.4.14-ia64-11.23.depot.gz
gunzipping and using swlist shows:
$ /usr/sbin/swlist -l file -s $PWD/tcltk-8.4.14-ia64-11.23.depot | fgrep libtc
tcltk.tcltk-RUN: /usr/local/lib/hpux32/libtcl.so
tcltk.tcltk-RUN: /usr/local/lib/hpux32/libtclstub.a
So if you install tcltk.tcltk-RUN, you should have those libs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2007 09:09 PM
01-17-2007 09:09 PM
Re: Cannot start expect
This might also explain the .so vs. .sl mismatch.
You need to install all of the package dependencies from the porting centre, or use the HP versions instead.
Andy