Re: Making a fax printer for PMfax for Linux, and some oddments



On Mon, 25 Feb 2008 20:30:20 UTC, Allodoxaphobia <bit-bucket@xxxxxxxxxx>
wrote:

On Mon, 25 Feb 2008 10:18:55 +0200, Stan Goodman wrote:
Bob Eager wrote:

On Linux, it should. FreeBSD can run Linux binaries with no perceptible
overhead - it has a dual system call interface, and if it recognises a
Linux binary it will run as such. The problem I'm getting is a missing
library, which I can fix once I find out what it is.

There must be a way that I could query what libraries a given program uses,
though I don't know what it is. If you like, I could ask around among the
SuSE brethren.

`ldd`

$ ldd /usr/bin/rexx
linux-gate.so.1 => (0xffffe000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7fb2000)
libnsl.so.1 => /lib/libnsl.so.1 (0xb7f9d000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7f6f000)
libdl.so.2 => /lib/libdl.so.2 (0xb7f6b000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7e41000)
/lib/ld-linux.so.2 (0xb7fec000)

Naturally. But as I said in my subsequent post, the binary in question
is statically linked. So ldd would show nothing.

--
Bob Eager


.



Relevant Pages

  • Re: [OT] Re: c program - command line prompt - need help
    ... This was how the ldd program worked. ... and that has worked on the Linux systems I've tried. ... list of dynamic libraries, and not program's programmatically defined argc ...
    (comp.lang.c)
  • Linux v2.6.27-rc1: fails to compile
    ... module-init-tools 3.2.2 ... Dynamic linker (ldd) 2.3.6 ... Linux C++ Library 6.0.3 ...
    (Linux-Kernel)
  • Re: Making a fax printer for PMfax for Linux, and some oddments
    ... On Linux, it should. ... overhead - it has a dual system call interface, and if it recognises a ... There must be a way that I could query what libraries a given program uses, ... $ ldd /usr/bin/rexx ...
    (comp.os.os2.misc)
  • Re: linux binary equivalent to ldd?
    ... Jesse Guardiani disturbed my sleep to write: ... Hm...if you've got the Linux compatibility stuff, ... just to confirm that ldd really can't find it. ... Saint Aardvark the Carpeted ...
    (freebsd-questions)
  • mcc created shared library issue
    ... I'm trying to turn a .m file into a C shared library on Linux, ... the ability to distribute that shared library along side the contents of ... int main{ ... I also ran ldd on my executable and librank.so and every appears fine. ...
    (comp.soft-sys.matlab)