- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- question about install 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
04-21-2002 08:34 PM
04-21-2002 08:34 PM
question about install expect?
I download pre-compiled binary depot of expect and tcl and tk from http://hpux.connect.org.uk ,
I store the depot in /ys, the swinstall -s
depot,
when I exec expect, it failed :
hp_ov:/var/ys/expect-5.36/home/ys/bin# ./expect
/usr/lib/dld.sl: Can't open shared library: /home/ys/lib/libtcl8.3.sl
/usr/lib/dld.sl: No such file or directory
can anybody tell me why?
thanks
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2002 08:42 PM
04-21-2002 08:42 PM
Re: question about install expect?
It seems to be a PATH problem ... Do you have all your environment variables needed for expect exported correctly ...
Do a echo $PATH ...
Thanks,
Shabu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2002 09:04 PM
04-21-2002 09:04 PM
Re: question about install expect?
hp_ov:/var/ys/lib# echo $PATH
.:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/bin
:/opt/fcms/bin:/opt/upgrade/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/pd/bin:/o
pt/graphics/phigs/bin:/opt/resmon/bin:/usr/sbin/stm/uut/bin/progs:/opt/hparray/b
in:/opt/ignite/bin:/opt/OV/bin/OpC:/opt/perf/bin:/sbin:/home/root:/var/ys:/patro
l/p4ito:/patrol/patrol/PATROL3.4/HPUX-V11-64/bin:/opt/netscape:/opt/OV/bin:/opt/
OV/bin/OpC:/opt/OV/bin/OpC/install:/usr/netm/hp
I can find the /var/ys/expect-5.36/home/ys/lib/libtcl8.3.sl file, but expect look for the /home/ys/lib/libtcl8.3.sl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2002 09:51 PM
04-21-2002 09:51 PM
Re: question about install expect?
You need to install Tcl and Tk which are required for Expect to run properly.
You can download the Tcl/Tk toolkit from here:
http://hpux.connect.org.uk/hppd/hpux/Tcl/
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2002 10:20 PM
04-21-2002 10:20 PM
Re: question about install expect?
I installed the expect and tcl and tk,
but the problem exist.
thanks
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2002 10:29 PM
04-21-2002 10:29 PM
Re: question about install expect?
Try setting your LD_LIBRARY_PATH and SHLIB_PATH and see if it works.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2002 10:45 PM
04-21-2002 10:45 PM
Re: question about install expect?
If that doesn't work, my guess is that probably the depot creator hardcoded some of the absolute path of the libraries during the conversion.
If this issue is unresolved, I would use either Ansi-C or gcc to compile tcl, tk and expect straight from downloaded sources (instead of binaries) using the usual ./configure, make and make install.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2002 11:41 PM
04-21-2002 11:41 PM
Re: question about install expect?
How to use gcc if I have not cc. must I chang the make file or sth ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2002 11:54 PM
04-21-2002 11:54 PM
Re: question about install expect?
If you do not have gcc or ansi-c, then you will need to download and swinstall the depot from the free depot software site.
If you already have gcc, it will be installed as /usr/local/bin/gcc. Just make sure that it is in your PATH.
./configure will automatically detect whether your gcc works and use it.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 01:07 AM
04-22-2002 01:07 AM
Re: question about install expect?
I installed tk and tcl , then installed expect, follow messge appeared, it seem that
swinstall can not find tk and tcl
"expect.expect-RUN,r=5.33" cannot be successfully resolved. ?
??? ERROR: The dependencies for fileset "expect.expect-RUN,r=5.33" cannot ?
??? be resolved (see previous lines). ?
??? You must resolve the above dependencies before operating on ?
??? this fileset or change the "enforce_dependencies" option to ?
??? "false".
Thanks
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 01:25 AM
04-22-2002 01:25 AM
Re: question about install expect?
I remove expect, tcl , tk, then install inthe sequence: tcl, tk , expect.
and now it 's ok
Thanks
Sunny