Re: Linux library compatibility (libgmodule-2.0.so.0)

2004-05-12 Thread Sergey Zaharchenko
On Wed, May 12, 2004 at 02:25:46PM +0930,
 Adam Smith probably wrote:
 On Wed
 
  $ readelf -d /usr/local/bin/pdftex |grep NEEDED
  
   0x0001 (NEEDED) Shared library: [libpng.so.5]
   0x0001 (NEEDED) Shared library: [libz.so.2]
   0x0001 (NEEDED) Shared library: [libm.so.2]
   0x0001 (NEEDED) Shared library: [libc.so.4]
 
 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 :(
 
 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.

  0x0001 (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.

-- 
DoubleF
Too much of everything is just enough.
-- Bob Wier


pgp0.pgp
Description: PGP signature


Linux library compatibility (libgmodule-2.0.so.0)

2004-05-11 Thread Adam Smith
Hello!

I have a Linux binary that I need to run on FreeBSD 5.2.  So far it's
required GTK 2.0+ (linux-gtk2-2.2.1_1), which is fine, and I have installed
the Linux libraries for that.  But it is now looking for more libraries,
and I was wondering if anyone could point me in the right direction as to
how to go about downloading and installing them.  I've done a bit of a net
search, but it hasn't helped much so far.

This binary is asking for libraries one by one, so I don't know what to
expect yet, until I get to the end.

My binary is looking for libgmodule-2.0.so.0.

How do I go about installing that for FreeBSD's Linux compatibility?



-- 
Adam Smith
Internode   : http://www.internode.on.net
Phone   : (08) 8228 2999

ԿԬ
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Linux library compatibility (libgmodule-2.0.so.0)

2004-05-11 Thread Sergey Zaharchenko
On Tue, May 11, 2004 at 10:30:16PM +0930,
 Adam Smith probably wrote:

 This binary is asking for libraries one by one, so I don't know what to
 expect yet, until I get to the end.

If what you mean are messages like `shared object not found' from the
interpreter, then you can probably do a readelf -d to find out which
libraries it actually uses:

$ readelf -d /usr/local/bin/pdftex |grep NEEDED

 0x0001 (NEEDED) Shared library: [libpng.so.5]
 0x0001 (NEEDED) Shared library: [libz.so.2]
 0x0001 (NEEDED) Shared library: [libm.so.2]
 0x0001 (NEEDED) Shared library: [libc.so.4]

HTH,

-- 
DoubleF
Democracy is a form of government that substitutes election by the
incompetent many for appointment by the corrupt few.
-- George Bernard Shaw


pgp0.pgp
Description: PGP signature


Re: Linux library compatibility (libgmodule-2.0.so.0)

2004-05-11 Thread Adam Smith
On Wed

 $ readelf -d /usr/local/bin/pdftex |grep NEEDED
 
  0x0001 (NEEDED) Shared library: [libpng.so.5]
  0x0001 (NEEDED) Shared library: [libz.so.2]
  0x0001 (NEEDED) Shared library: [libm.so.2]
  0x0001 (NEEDED) Shared library: [libc.so.4]

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

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?

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.


Cheers.

 0x0001 (NEEDED) Shared library: [libgtk-x11-2.0.so.0]
 0x0001 (NEEDED) Shared library: [libgdk-x11-2.0.so.0]
 0x0001 (NEEDED) Shared library: [libgmodule-2.0.so.0]
 0x0001 (NEEDED) Shared library: [libglib-2.0.so.0]
 0x0001 (NEEDED) Shared library: [libdl.so.2]
 0x0001 (NEEDED) Shared library: [libXi.so.6]
 0x0001 (NEEDED) Shared library: [libXext.so.6]
 0x0001 (NEEDED) Shared library: [libX11.so.6]
 0x0001 (NEEDED) Shared library: [libcups.so.2]
 0x0001 (NEEDED) Shared library: [libstdc++.so.5]
 0x0001 (NEEDED) Shared library: [libm.so.6]
 0x0001 (NEEDED) Shared library: [libgcc_s.so.1]
 0x0001 (NEEDED) Shared library: [libc.so.6]
 0x0001 (NEEDED) Shared library: [libgdk_pixbuf-2.0.so.0]
 0x0001 (NEEDED) Shared library: [libpango-1.0.so.0]
 0x0001 (NEEDED) Shared library: [libgobject-2.0.so.0]


-- 
Adam Smith
Internode   : http://www.internode.on.net
Phone   : (08) 8228 2999

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]