Subject: Re: Building emacs 20.2 fails while linking
To: None <>
From: Greg A. Woods <>
List: current-users
Date: 04/05/1998 16:13:57
[ On Sun, April 5, 1998 at 14:15:12 (+0200), wrote: ]
> Subject: Building emacs 20.2 fails while linking
> Adding a -L/usr/lib will make it succeed. Has -nostdlib been ``enhanced''
> to not searching /usr/lib ? Any other ideas ?

It's just doing its job correctly:

             Do not search the built-in path (usually ``/usr/lib'') for -l
             specified libraries.

There was discussion about this some time ago on one of the lists, and
the most recent version of pkgsrc-current (Mar 16'th) includes a patch
for emacs that does approximately as you did (adjusts src/ to
contain: "#define LD_SWITCH_SYSTEM_TEMACS -L/usr/lib").

							Greg A. Woods

+1 416 443-1734      VE3TCP      <>      <robohack!woods>
Planix, Inc. <>; Secrets of the Weird <>