Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: runtime problem with zsh on an sgi
- X-seq: zsh-users 7358
- From: William Scott <wgscott@xxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: runtime problem with zsh on an sgi
- Date: Thu, 15 Apr 2004 11:57:39 -0700
- Cc: Oliver Kiddle <okiddle@xxxxxxxxxxx>, Peter Stephenson <pws@xxxxxxx>
- In-reply-to: <5522.1082043459@xxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <3884.1082025310@xxxxxxx> <5522.1082043459@xxxxxxxxxxxxxxxxxxxxx>
Dear Peter, Oliver et al:
Thanks very much.
It turns out in both cases (version 4.1.1, which works, and 4.2, which
has the problem) I am linking to libcurses.so.
For version 4.1.1 I have this:
% elfdump -Dl /usr/local/bin/zsh
/usr/local/bin/zsh:
**** MIPS LIBLIST INFORMATION ****
.liblist :
[INDEX] Timestamp Checksum Flags Name
Version
[1] Apr 29 23:44:56 1998 0xd244571a ----- libsocket.so
sgi1.0
[2] Apr 29 21:05:51 1998 0x65b9334f ----- libdl.so
sgi1.0
[3] Aug 2 10:26:13 2002 0x64ff32c8 ----- libcurses.so
sgi1.0
[4] Aug 2 10:26:24 2002 0xa74005b5 ----- libm.so sgi1.0
[5] Apr 4 11:20:43 2002 0xe5db3147 ----- libc.so.1
sgi1.0
proudhon 3% which zsh
/usr/local/bin/zsh
For version 4.2, I have this:
% elfdump -Dl /usr/bin/zsh
/usr/bin/zsh:
**** MIPS LIBLIST INFORMATION ****
.liblist :
[INDEX] Timestamp Checksum Flags Name
Version
[1] Apr 29 23:44:56 1998 0xd244571a ----- libsocket.so
sgi1.0
[2] Apr 29 21:05:51 1998 0x65b9334f ----- libdl.so
sgi1.0
[3] Aug 1 11:46:52 2002 0x64ff32c8 ----- libcurses.so
sgi1.0
[4] Aug 1 11:47:02 2002 0xa74005b5 ----- libm.so sgi1.0
[5] Apr 4 11:20:43 2002 0xe5db3147 ----- libc.so.1
sgi1.0
These are actually on two different machines, but normally both behave
identically.
Also I noticed the version of zsh 4.2 on my Mac (which works as
expected) compiles with ncurses. Would that make a difference? Should
I try with termcap (I am not sure if SGI has these).
Thanks very much for your help.
Bill Scott
On Apr 15, 2004, at 8:37 AM, Oliver Kiddle wrote:
Peter wrote:
If you want to investigate (and I may be barking up the wrong tree),
look inside the file config.status. You should find a line containing
@LIBS@ which tells what libraries are being linked in (e.g. -lcurses
or
-ltermcap).
You might be able to use elfdump to see what libraries are linked in.
If you've still got the old zsh around, that might be easier. The
command is something like elfdump -Dl zsh, or maybe -DL. I don't have
easy access to IRIX anymore so I'm going on memory. You may need to
check the elfdump manpage.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author