Subject: Re: elf linking
To: None <netbsd-help@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-help
Date: 04/14/2003 02:55:22
In article <Pine.NEB.4.44.0304141216370.280-100000@chikara>,
Ian Grant <idgrant@optusnet.com.au> wrote:
>Hi
>
>I've compiled the mesa demo teapot and get this when executed:
>
>chikara# ./teapot
>Shared object "libGL.so.1" not found
>
>this tells me that ld.elf_so cannot find the said shared object
>why is this ?
>
>when I compiled the .c file i used the -L/usr/X11R6/lib flag
>what could have caused this error ?

-Wl,-R/usr/X11R6/lib

christos