[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linking Q. - merging global symbols.



Hi!

We develop product using Linux / GCC.

We have problems with run time linking with dll ( .so ) using
dlopen/dlsym. The problem is that global symbols of program and library 
with the same name are getting merged when dlopen() executed ( having
global symbols as a bad design is another question :{) ) As result API 
function from dll call causes changing of internal data in main program
which is obviously is not desirable at all.

How it can be prevented?

  Alexander Indenbaum
  baum@actcom.co.il


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il