I make a very simple program hello in C. When use ld in the exe file returns this
ld: error in hello(.eh_frame); no .eh_frame_hdr table will be created.
I don't define any LD_LIBRAY_PATH
or paths in /etc/ld.so.conf
I've tried the same with the ls and returns:
ld: error in /bin/ls(.eh_frame); no .eh_frame_hdr table will be created.
ld: warning: cannot find entry symbol _start; defaulting to 0000000000402920
What's happening? I'm using a Debian and my GCC version is (Debian 4.7.2-5).
I believe the utility you meant to use was ldd (LDD), not ld.
ldd will show all the shared linked libraries your exe uses.. or, at least, were linked it at compile time.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With