Subject: Re: How does ELF work?
To: gregory duchesnes <gregory@icilalune.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 07/06/2004 23:43:28
On Tue, Jul 06, 2004 at 11:06:19PM +0200, gregory duchesnes wrote:
> i'm compiling directly from sources.
> my platform is a bit weird, it's a cobalt Raq2 and not all softwares are
> available from pkgsrc.
>
> anyway, for the moment i use the following command line to tell the make
> what to do :
>
> make -f Makefile.init makefiles \
> 'CCARGS=-DHAS_MYSQL -I/usr/local/include/mysql' \
> 'AUXLIBS=-L/usr/local/lib/mysql/ -lmysqlclient -lz -lm'
>
> i don't see how to change it to follow your advice (sorry i'm a newbie)
Just change
AUXLIBS=-L/usr/local/lib/mysql/ -lmysqlclient -lz -lm
to
AUXLIBS=-L/usr/local/lib/mysql/ -Wl,-R/usr/local/lib/mysql -lmysqlclient -lz -lm
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--