Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2004 15:49:28 +0400
From:      Sergey Zaharchenko <doublef@tele-kom.ru>
To:        Adam Smith <adam@internode.com.au>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Linux library compatibility (libgmodule-2.0.so.0)
Message-ID:  <20040512114928.GA678@Shark.localdomain>
In-Reply-To: <20040512045546.GE686@internode.com.au>
References:  <20040511130016.GA3263@internode.com.au> <20040512021229.GA888@Shark.localdomain> <20040512045546.GE686@internode.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040512114928.GA678>