![]() The program version is 64 bits and the interpreter exists according to "file command. Main: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib/ld64.so.1, not stripped I searched a lot on internet and i found this useful answer Ask Ubuntu Answer but unfortunately this didnt solve my problem. The problem is i get always "No such file or directory" error when i try to run my program. I searched a lot and i found that the solution to load all c libs is to pass -lc as option to ld which has honestly muted all the warnings and errors and generated my executable. i am trying to link my object file (small program compiled with nasm) with ld linker and using c functions. I am facing a problem that consumed a lot of my tine.
0 Comments
Leave a Reply. |