Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <richard@stommel.tamu.edu>
Subject: Re: Problems with statically linked OSF/1 and system()
Date: Fri, 16 May 1997 08:39:47 -0500 (CDT)	[thread overview]
Message-ID: <199705161339.IAA18666@stommel.tamu.edu> (raw)
In-Reply-To: <199705152056.QAA28081@eoeml.gtri.gatech.edu>

> When run under Red Hat 4.1 it produces:
> 
>   before call to system
>   after call to system

If you check the return value of system, you'll find that it is failing.

The reason is that the program is looking for /usr/bin/sh or /sbin/sh
and no other, which seems inordinately strange to me since /bin/sh has
been _the_ place to look since time immemoriable.  Never mind the fact
that DU installs a link from /bin to /usr/bin.

r~

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

      reply	other threads:[~1997-05-16 13:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-05-15 20:56 Problems with statically linked OSF/1 and system() Greg Galloway
1997-05-16 13:39 ` Richard Henderson [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox