[LC++]need help on .so files

Jack Lloyd lloyd at acm.jhu.edu
Tue Aug 24 23:46:02 UTC 2004

There is no such thing, basically. By default, all symbols all exported from a
shared object (thank Eris -- dll{export,import} are a PITA). You *can* control
this using special ELF-specific commands, though (I think). The only
application I can think of that might do this is glibc, I know it does a lot of
strange ELF symbol manipulation.

Just in the off chance you are using this for 'security' purposes, I'll point
out that an application can still access said functions if it's motivated
enough (search through the .so, find out where the function is, and cast that
value to a function pointer).


On Tue, Aug 24, 2004 at 09:17:43AM -0000, shrikant vishwanathan wrote:
>  ?
> hi, 
> Anyone knows what is the equivalent of dllexport and dllimport(in Windos) in linux. I need selective exporting of library functions to the application.
> thanx for the time
> Regards,
> Shrikant

More information about the tuxCPProgramming mailing list