This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Undefined symbol


On 02/13/2017 01:48 PM, Carlo Kok wrote:


On 2017-02-13 13:46, Florian Weimer wrote:
On 02/13/2017 01:44 PM, Carlo Kok wrote:


On 2017-02-13 12:47, Florian Weimer wrote:
On 02/13/2017 08:45 AM, Carlo Kok wrote:
When running my own generated library/executable I'm getting:

LD_LIBRARY_PATH=. ./ConsoleApplication347
./ConsoleApplication347: symbol lookup error: ./ConsoleApplication347:
undefined symbol:

(theres nothing after undefined symbol)

Interesting problem.  Can you post the log output for “LD_BIND_NOW=1
LD_DEBUG=all”?  I hope that this will provide more information about
which object contains the problematic relocation.

https://gist.github.com/carlokok/19abd7eda4e4ae5d1aa3d7867e04dbd1

I don't see any error message in that log.

Does this mean that the application works with LD_BIND_NOW=1?

Sorry; that went to stdout while the rest went to stderr. It failed with:

Segmentation fault (core dumped)

Okay, that's confusing. Please install relevant debugging information and re-run the test case under valgrind, with and without LD_BIND_NOW. Maybe this way, we'll obtain additional information.

Thanks,
Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]