NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: execname not specified in AUX vector



In article <x63a8g999n.fsf%dynalabs.de@localhost>,
Michael Piotrowski  <mxp%dynalabs.de@localhost> wrote:
>On 2009-07-27, christos%astron.com@localhost (Christos Zoulas) wrote:
>
>>> For most of my shell scripts I'm using ksh93, built from the original
>>> ast sources (not from pkgsrc; currently Version JM 93t+ 2009-05-01).  It
>>> is installed as /opt/ast/bin/ksh, so that's also what the shebang line
>>> says.
>>> 
>>> Now, if I try to run such a script from the current directory, e.g.,
>>> 
>>>  $ ./script
>>> 
>>> I get the error message
>>> 
>>>  execname not specified in AUX vector: No such file or directory
>>> [...]
>>
>> You could turn on the #ifdef notyet's in kern_exec.c,
>
>I just tried this suggestion and it works, thank you very much!
>
>> or make ksh not use $ORIGIN.
>
>I'm wondering now, is this a, umm, peculiarity with NetBSD 5, or is this
>a problem with ksh?

It is an incomplete implementation of $ORIGIN on NetBSD... 

christos



Home | Main Index | Thread Index | Old Index