Perl-RPM rpm

Chris Garrigues cwg-pld at deepeddy.com
Wed May 9 22:55:26 CEST 2001


I'm gradually migrating from a redhat-based configuration to a PLD-based 
configuration.  I just updated RPM to rpm-4.0.2-12.

I'm finding one minor problem.  I've been using Perl-RPM and it now gets this 
message occasionally:

perl: error while loading shared libraries: /usr/lib/perl5/site_perl/i386-pld-linux/5.6.1/auto/RPM/RPM.so: undefined symbol: rpmError

Since this only comes up when something is wrong, it's not a fatal error, but 
it is pretty annoying.  I tried rebuilding the Perl-RPM rpm, but I get this:

.
.
.
gcc -c -I/usr/src/redhat/BUILD/Perl-RPM-0.29 -I/usr/include/rp -fno-strict-aliasing -O2 -march=i386   -DVERSION=\"0.29\" -DXS_VERSION=\"0.29\" -fPIC -I/usr/lib/perl5/5.6.1/i386-pld-linux/CORE -DRPM_MAJOR=4 -DRPM_MINOR=0 -DRPM_PATCH=2 RPM/Header.c -o RPM/Header.o
Header.xs: In function `new_from_fd_t':
Header.xs:192: `RPMERR_READERROR' undeclared (first use in this function)
Header.xs:192: (Each undeclared identifier is reported only once
Header.xs:192: for each function it appears in.)
Header.xs: In function `rpmhdr_FIRSTKEY':
Header.xs:853: warning: passing arg 4 of `headerNextIterator' from incompatible pointer type
Header.xs:855: warning: passing arg 4 of `headerNextIterator' from incompatible pointer type
Header.xs: In function `rpmhdr_NEXTKEY':
Header.xs:885: warning: passing arg 4 of `headerNextIterator' from incompatible pointer type
make: *** [RPM/Header.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.31019 (%build)

Any thoughts?

Chris

-- 
Chris Garrigues                 http://www.DeepEddy.Com/~cwg/
virCIO                          http://www.virCIO.Com
4314 Avenue C                   
Austin, TX  78751-3709		+1 512 374 0500

  My email address is an experiment in SPAM elimination.  For an
  explanation of what we're doing, see http://www.DeepEddy.Com/tms.html 

    Nobody ever got fired for buying Microsoft,
      but they could get fired for relying on Microsoft.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
Url : /mailman/pipermail/pld-users-en/attachments/20040626/52c5c2fd/attachment.bin


More information about the pld-users-en mailing list