Date: Wed, 16 Jul 2003 08:11:37 +0200 From: Grzegorz Czaplinski <G.Czaplinski@prioris.mini.pw.edu.pl> To: Jonathan Villa <jvilla@isdesigndev.com> Cc: freebsd-newbies@freebsd.org Subject: Re: Linuxthreads? Message-ID: <20030716061137.GR19812@prioris.mini.pw.edu.pl> In-Reply-To: <1058334114.1084.11.camel@in-hov-vince> References: <1058334114.1084.11.camel@in-hov-vince>
next in thread | previous in thread | raw e-mail | index | archive | help
--JGRpDW+vuEVQ9uQb Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 16, 2003 at 12:41:54AM -0500, Jonathan Villa wrote: > Ok, I am trying to install MySQL on FreeBSD 5.0 and received some errors > about missing files... >=20 > /usr/libexec/ld-elf.so.1: Shared object "libc_r.so.4" not found > /usr/libexec/ld-elf.so.1: Shared object "libstdc++.so.3" not found >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > so I posted to the MySQL mailing list and received this response... >=20 > install linuxthreads from ports and use this option: > --with-named-thread-libs=3D'-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R=20 > -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads=20 > -L/usr/local/lib -llthread -llgcc_r' >=20 > You can take a look in the ports Makefile for more details. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > So, I am posting that here because I think it's more a FreeBSD related > question... Any ideas anyone? >=20 Hi! Go to /usr/ports/devel/linuxthreads; as root type: # make --with-named-thread-libs=3D'-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R \ -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads \ -L/usr/local/lib -llthread -llgcc_r' Then install it and install MySQL. It should have gone to questions mailing list. gregory -- Grzegorz Czaplinski <gregory at prioris.mini.pw.edu.pl> "The Power to Serve, Right for the Power Users!" - http://www.FreeBSD.org/ Fingerprint: EB77 E19D CFA2 5736 810F 847C A70F A275 2489 469F --JGRpDW+vuEVQ9uQb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/FOyYpw+idSSJRp8RAuLkAJ94468TMuBg8QFD2t8Mb5Wabhtd5gCgvTGJ cAfr/SkEGB8lu9/IJIaEigw= =GCYf -----END PGP SIGNATURE----- --JGRpDW+vuEVQ9uQb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030716061137.GR19812>