From owner-freebsd-newbies@FreeBSD.ORG Tue Jul 15 23:11:44 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96DF337B401 for ; Tue, 15 Jul 2003 23:11:44 -0700 (PDT) Received: from prioris.mini.pw.edu.pl (prioris.mini.pw.edu.pl [194.29.178.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D61D443F93 for ; Tue, 15 Jul 2003 23:11:43 -0700 (PDT) (envelope-from G.Czaplinski@prioris.mini.pw.edu.pl) Received: from localhost (localhost.mini.pw.edu.pl [127.0.0.1]) by prioris.mini.pw.edu.pl (Postfix) with ESMTP id 81B63243C8; Wed, 16 Jul 2003 08:11:42 +0200 (CEST) Received: by prioris.mini.pw.edu.pl (Postfix, from userid 1368) id 67FA0243C7; Wed, 16 Jul 2003 08:11:37 +0200 (CEST) Date: Wed, 16 Jul 2003 08:11:37 +0200 From: Grzegorz Czaplinski To: Jonathan Villa Message-ID: <20030716061137.GR19812@prioris.mini.pw.edu.pl> References: <1058334114.1084.11.camel@in-hov-vince> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JGRpDW+vuEVQ9uQb" Content-Disposition: inline In-Reply-To: <1058334114.1084.11.camel@in-hov-vince> User-Agent: Mutt/1.4.1i X-PGP: http://prioris.mini.pw.edu.pl/~gregory/pgp.txt X-3w: http://prioris.mini.pw.edu.pl/~gregory/ X-voice: +48 692 412 424 X-Virus-Scanned: by AMaViS (prioris) cc: freebsd-newbies@freebsd.org Subject: Re: Linuxthreads? X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2003 06:11:44 -0000 --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 "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--