Subject: Re: Lib mysqlclient Problem
To: Diego Linke - GAMK <linke@calnet.com.br>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-help
Date: 05/08/2003 13:52:36
--VgNP6wxEowREGVu+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, May 08, 2003 at 08:33:13AM -0300, Diego Linke - GAMK wrote:
>=20
> I instaled MySQL using pkgsrc (NetBSD 1.6.1_STABLE), but i have a
> problem!!! Se below:
>=20
> 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/my=
sql -lmysqlclient
make it: gcc filtro.c -o filtro -I /usr/pkg/include/mysql -L /usr/pkg/lib/m=
ysql
-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,
--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org> --
-- <salo@silcnet.org> --
--VgNP6wxEowREGVu+
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)
iD8DBQE+ukUEiwjDDlS8cmMRArAFAJ9UQer/PrL28eJZOIae337RPL+npQCfUkU1
g6PfiGJT5uJlsI41z2L1tzg=
=baxA
-----END PGP SIGNATURE-----
--VgNP6wxEowREGVu+--