Search Results

Search: Posts Made By: sds
5,247
Posted By sds
it turned out that one has to link the executable...
it turned out that one has to link the executable with
ld -export-dynamic
or
cc -Wl,-export-dynamic

---------- Post updated at 12:29 PM ---------- Previous update was at 12:22 PM ----------
...
5,247
Posted By sds
dlsym() returns 0 for an existing function
Sometimes I observe this in gdb:
(gdb) br my_function
Breakpoint .. at 0x...: file ..., line ...
i.e., "my_function" does exist in the current executable.
however, dlsym does not find it:
(gdb)...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 08:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy