Subject: Re: About ld.so?
To: None <netbsd-help@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-help
Date: 03/30/1999 13:35:42
In article <37004966.2978AECD@ms25.hinet.net> rsguo@ms25.hinet.net (Ruey-Shyang Guo) writes:
>Hi,
>I use this script to start xemacs:
>#!/bin/sh
>LD_PRELOAD=$LD_PRELOAD:/usr/local/lib/libXAEmacs.so
>export LD_PRELOAD
>xemacs ${1+"$@"}
>
>The shared object 'libXAEmacs.so' is compiled correctly and the path is
>correct, too. But it just printed such message:
>/usr/libexec/ld.so: preload: cannot map object
>Can someone help me?
>I use NetBSD-1.3.3/i386

>From looking at the code I think that ld.so tries to map "" because of
your first : Try:

#!/bin/sh
LD_PRELOAD=/usr/local/lib/libXAEmacs.so
export LD_PRELOAD
xemacs ${1+"$@"}

If that works, maybe you should send-pr it.

christos