Is it madatory for a executable file to have relocation section ?
Hi
I have a problem in finding a symbol in shared object . When i convert a dll made on windows to the shared object on linux . Also i have a application which i have converted in elf format but it is running properly if it is without any dependency on the user created dll . When an application depending on the user created dll on windows is converted into elf format then on executing it on linux it gives an error that ->
undefined symbol fopen_api eg,) this symbol is defined in the dll which has been converted to shared object . So when the elf file using that shared object on linux is executed the given error comes.
Although the executable gets shared library but it does not execute because on readelf it shows the dependencies and also the export information is also present in the shared object.
What might be the reason?
Also after error , segmentation fault occurs and program exits .
How can i debug the program without having debug section in my converted format of executable ?
Can anybody out there help me ?
|