On Jun 29, 2007, at 12:09 PM, Mark Hatle wrote:
> I want to add a comment here. The file, db and lua symbols may now
> collide w/ stand-a-lone versions of the libraries. (zlib has custom
> names). The only solution I know is to wrap all of the functions like
> zlib's are wrapped.. (see zlib/zconf.h)
>
> Anyone know of a way to rename symbols using the linker?
>
I point out that the symbols were (at least mostly) previously intra-
library,
not inter-library.
Adding librpmmisc also necessitates dragging in sqlite/bdb in order
to -lrpmio.
I'd rather not get into the intricacies of changing symbol names on the
fly post-compilation. The portability problems there are daunting.
But I'm sure there is a way to change symbols, either by wrapping, or
by loader maps, if necessary.
73 de Jeff
Received on Fri Jun 29 21:59:53 2007