From owner-freebsd-questions@FreeBSD.ORG Wed May 12 04:53:22 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87AA516A4CE for ; Wed, 12 May 2004 04:53:22 -0700 (PDT) Received: from ns3.tele-kom.ru (ns3.tele-kom.ru [217.107.251.251]) by mx1.FreeBSD.org (Postfix) with SMTP id 4F86E43D2F for ; Wed, 12 May 2004 04:53:20 -0700 (PDT) (envelope-from doublef@tele-kom.ru) Received: (qmail 31119 invoked from network); 12 May 2004 11:51:34 -0000 Received: from mx.tele-kom.ru (213.80.148.6) by ns.tele-kom.ru with SMTP; 12 May 2004 11:51:34 -0000 Received: (qmail 73733 invoked by uid 555); 12 May 2004 15:53:18 +0400 Received: from shark (213.80.149.208) by t-k.ru with TeleMail/2 id 1084362797-73720 for freebsd-questions@freebsd.org; Wed, 12 May 15:53:17 2004 +0400 (MSD) Received: by shark (Postfix, from userid 1000) id 400C12CF; Wed, 12 May 2004 15:49:29 +0400 (MSD) Date: Wed, 12 May 2004 15:49:28 +0400 From: Sergey Zaharchenko To: Adam Smith Message-ID: <20040512114928.GA678@Shark.localdomain> Mail-Followup-To: Sergey Zaharchenko , Adam Smith , freebsd-questions@freebsd.org References: <20040511130016.GA3263@internode.com.au> <20040512021229.GA888@Shark.localdomain> <20040512045546.GE686@internode.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline In-Reply-To: <20040512045546.GE686@internode.com.au> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: Linux library compatibility (libgmodule-2.0.so.0) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2004 11:53:22 -0000 --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 12, 2004 at 02:25:46PM +0930, Adam Smith probably wrote: > On Wed >=20 > > $ readelf -d /usr/local/bin/pdftex |grep NEEDED > >=20 > > 0x00000001 (NEEDED) Shared library: [libpng.so.5] > > 0x00000001 (NEEDED) Shared library: [libz.so.2] > > 0x00000001 (NEEDED) Shared library: [libm.so.2] > > 0x00000001 (NEEDED) Shared library: [libc.so.4] >=20 > Gah! There are quite a few. Still, some of these I'll already have so > it's still a case of installing libraries one by one :( >=20 > Do you (or anyone!) know exactly how to go about installing some of these > Linux libraries? I mean, I can't just go and download libgmodule-2.0.so.0 > and install it, can I? If so, how, or where do I need to go to get them? Downloading and installing the libraries is required, but I can't tell for sure if that's sufficient. > I guess I was kind of thinking, and I hate to use the analagy, of DLLs. > Being able to go and find one of these libraries, install it into my Linux > compat/lib directory and then run the application. Try it. It may require brandelf'ing those libraries. I once tried linux emulation, but shortly after I found everything I needed was also ported to FreeBSD to run natively, so I stopped using it. > 0x00000001 (NEEDED) Shared library: [libmanylibshere] One other concern is that you may need to readelf the newly downloaded libraries too, as they may reference other libraries not in your list yet. --=20 DoubleF Too much of everything is just enough. -- Bob Wier --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAog9Hwo7hT/9lVdwRAlC+AJ9qGQLu1DtA9m3hEt+TLBw1y1oibgCcCfdw JrseLVfsPTbrRLj6fyZmh8c= =IXdv -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6--