[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: error with rpm 4.0.3 libs
- From: Jeff Johnson <jbj JBJ ORG>
- To: rpm-list redhat com
- Subject: Re: error with rpm 4.0.3 libs
- Date: Fri, 14 Dec 2001 19:57:19 -0500
On Thu, Dec 13, 2001 at 07:06:18PM -0200, root wrote:
> Hi,
>
> I'm trying to use the APIs from the rpmlib, with dlopen call.
> my problem is that in the 4.0.3 release there is a cross reference
> between librpm.so and
> librpmdb.so (librpm.so uses an symbol called chroot_prefix that is
> defined in librpmdb.so and librpmdb.so
> uses the symbol _noDirTokens defined in librpm.so). Because of that
> dlopen cant load these libs, even when using the RTLD_LAZY option.
Nasty loops are known, actually fixed in rpm-4.1, but that code
ain't even close to being cooked yet.
Meanwhile you're *insane* to attempt anything sophisticated with
rpm shared libraries. Don't even think about it, roll your own
modules if you must. Better yet, figger a way to statically
link.
HTH
73 de Jeff
--
Jeff Johnson ARS N3NPQ
jbj@jbj.org (jbj@redhat.com)
Chapel Hill, NC
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]