This is the mail archive of the
mailing list for the binutils project.
- From: Krisztian Kocsis <krisztian dot kocsis at optimaster dot eu>
- To: binutils at sourceware dot org
- Date: Sun, 03 Jul 2011 14:53:18 +0200
- Subject: LD problem
I have a link dependency problem. If I try to link an application with
an .so file (exc. -lssl) the linker wants to link all its dependency
libraries not just libcrypto.so but libdl.so and libz.so also.
The toolchain is a crosstool-ng toolchain consists of:
If I add -Wl,--as-needed it does not help. There are still references in
the NEEDED entry for these libraries. I'v checked but there are no
referenced symbols from these libraries.
Do somebody know how can I restore the normal workflow, is any
configure option or something else?