lss just sets TRACE_LOADED_OBJECTS environment variable and then execs
the binary.
FreeBSD's dynamic linker then checks for that variable and, if set,
just prints out loaded objects and then exists.

When you run ldd on a linux binary, it's *Linux* dynamic linker that
gets launched and it may have different way of triggering the trace.

That said, ldd seems to work fine on linux binaries on FreeBSD-7, but
does indeed launch linux binary in 8-STABLE, so something has changed.

If you do 'env LD_TRACE_LOADED_OBJECTS=1 /compat/linux/bin/cp' on
8-STABLE it still works fine.

--Artem

On Tue, Feb 28, 2012 at 1:40 AM, Yuri <y...@rawbw.com> wrote:
> I noticed the strange thing.
> ldd(1) launches all linux apps I tried (skype, acroread9). And it doesn't
> launch BSD apps.
>
> Is this a knows issue?
>
> Yuri
> _______________________________________________
> freebsd-emulation@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
> To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"
_______________________________________________
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"

Reply via email to