On 4/26/2013 5:30 AM, ANDY KENNEDY wrote:
I'm attempting to link static an app that contains backtrace. I
set LDFLAGS to "-lubacktrace -ldl" and I get a viable file which
does run. The app crashes. During the call to backtrace, I get
an error:
libgcc_s.so.1 must be installed for backtrace to work
I have attempted to launch the app with LD_LIBRARY_PATH, however,
it appears that this has an unobtainable path:
~/working/uClibc-0.9.33.2$ grep -R __LDSO_LIBRARY_PATH__ .
./ldso/libdl/libdl.c:#if !defined SHARED && defined __LDSO_LIBRARY_PATH__
Does anyone know why the __LDSO_LIBRARY_PATH__ is here?
Indeed there was a typo error in commit
e4aa966cf25e83cd0c72f34f7855a995ff93944d
</uClibc/commit/ldso/libdl/libdl.c?id=e4aa966cf25e83cd0c72f34f7855a995ff93944d>.
It should be __LDSO_LD_LIBRARY_PATH__, it has been introduced to disable
the use of
LD_LIBRARY_PATH on hardened systems.
We take care to fix it soon.
Thanks,
Andy
Regards,
Filippo
_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc
_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc