Subject: Re: Lib mysqlclient Problem
To: Lubomir Sedlacik <salo@Xtrmntr.org>
From: Diego Linke - GAMK <linke@calnet.com.br>
List: netbsd-help
Date: 05/08/2003 09:20:08
Hi all,

With option -R it's work fine!!! Thanks :D

I looked in man page of the GCC more I did not find nothing on option -R. For what it serves accurately ?

Thanks

--
[ Diego Linke - GAMK ]
System/Network/Security Administrator
E-Mail/Site: gamk@gamk.com.br - http://www.gamk.com.br
Public Key: http://www.gamk.com.br/gamk.asc
Phone Number: (+5541) 9967-3464

On Thu, 8 May 2003 13:52:36 +0200
Lubomir Sedlacik <salo@Xtrmntr.org> wrote:

> On Thu, May 08, 2003 at 08:33:13AM -0300, Diego Linke - GAMK wrote:
> > 
> > I instaled MySQL using pkgsrc (NetBSD 1.6.1_STABLE), but i have a
> > problem!!! Se below:
> > 
> > work# pkg_info | grep mysql
> > mysql-client-3.23.49nb3 MySQL, a free SQL database (client)
> > mysql-server-3.23.49nb3 MySQL, a free SQL database (server)
> > work# gcc filtro.c -o filtro -I /usr/pkg/include/mysql -L /usr/pkg/lib/mysql -lmysqlclient
> 
> make it: gcc filtro.c -o filtro -I /usr/pkg/include/mysql -L /usr/pkg/lib/mysql
>          -Wl,-R/usr/pkg/lib/mysql -lmysqlclient
> 
> > work# ./filtro
> > Shared object "libmysqlclient.so.10" not found
> > work# ldconfig -m /usr/pkg/lib/
> > work# ldconfig -m /usr/pkg/lib/mysql
> 
> ldconfig(8):
> 
> NAME
>      ldconfig - configure the a.out shared library cache
>                               ^^^^^
> 
> i guess you are already using ELF.
> 
> 
> regards,
> 
> -- 
> -- Lubomir Sedlacik <salo@Xtrmntr.org>                   --
> --                  <salo@silcnet.org>                   --
>