zsh-users
 help / color / mirror / code / Atom feed
From: William Scott <wgscott@chemistry.ucsc.edu>
To: zsh-users@sunsite.dk
Cc: Oliver Kiddle <okiddle@yahoo.co.uk>, Peter Stephenson <pws@csr.com>
Subject: Re: runtime problem with zsh on an sgi
Date: Thu, 15 Apr 2004 11:57:39 -0700	[thread overview]
Message-ID: <C49BA702-8F0E-11D8-9677-000393ABF2F0@chemistry.ucsc.edu> (raw)
In-Reply-To: <5522.1082043459@trentino.logica.co.uk>

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
>
>






      parent reply	other threads:[~2004-04-15 18:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-09  0:35 William Scott
2004-04-15 10:35 ` Peter Stephenson
     [not found]   ` <5522.1082043459@trentino.logica.co.uk>
2004-04-15 18:57     ` William Scott [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C49BA702-8F0E-11D8-9677-000393ABF2F0@chemistry.ucsc.edu \
    --to=wgscott@chemistry.ucsc.edu \
    --cc=okiddle@yahoo.co.uk \
    --cc=pws@csr.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).