> I am having a problem on SOLARIS with symbol collision. I am building
> a server that links dynamically to two shared libraries which have the
> same symbol XMLReader. As a result of this symbol collision I get a
> segmentation violation. These two libraries are third party libraries
> and therefore I do not have the source code to change the name.
Your first step is to complain loudly to the vendors of these
libraries -- there is really no excuse for not prefixing every
externally-visible symbol with VendorName_ (assuming the vendor
intends his library to be linked to customer code).
Quote:> If any
> one has dealt with these kind of situations, any help would be
Your choices are quite limited, and depend on whether your code
needs access to either of these symbols. If not, you could try to
localize one (or both) of the symbols with 'objcopy -L XMLReader'
In order to understand recursion you must first understand recursion.