RPM Community Forums

Mailing List Message of <rpm-devel>

Re: [CVS] RPM: rpm/misc/ librpmmisc.vers

From: Jeff Johnson <n3npq@mac.com>
Date: Fri 29 Jun 2007 - 21:59:47 CEST
Message-Id: <0DC2B738-0FF6-42F9-82CA-C3B62F42FA35@mac.com>

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
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.