Undefined symbol
Carlo Kok
ck@remobjects.com
Wed Feb 22 11:25:00 GMT 2017
On 2017-02-13 08:45, Carlo Kok wrote:
> Hi,
>
> 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)
>
> How can I figure out what's wrong with these executables?
>
> Full log:
> https://gist.github.com/carlokok/1dd510a16e1922271b520f1c00b14656
>
> readelf -s for ConsoleApplication347:
> https://gist.github.com/carlokok/0950e4b33e0bf421852b3ac58fc18aea
>
> readelf -s for ClassLibrary22.so:
> https://gist.github.com/carlokok/109a03620abb95bdad6479426e3dce11
>
This turned out to be due to a bad relocation:
0000002755d0 01f900000007 R_X86_64_JUMP_SLO 0000000000274800
pthread_mutex_timedloc + 0
0000002755d8 000000000007 R_X86_64_JUMP_SLO 0 <<<
0000002755e0 022900000007 R_X86_64_JUMP_SLO 0000000000274820 uname + 0
--
Carlo Kok
RemObjects Software
More information about the Libc-help
mailing list