Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: runtime problem with zsh on an sgi



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