RPM Community Forums

Mailing List Message of <rpm-users>

Re: Problem w/ Configure of RPM 5.0.3 on Solaris 8

From: Eliyahu Skoczylas <EliSko@Eli-Sko.com>
Date: Tue 01 Apr 2008 - 16:56:42 CEST
Message-Id: <1207061802.7626.1245444915@webmail.messagingengine.com>
Well, here's the relevant output from the library, which shows that the
library does indeed use "name-mangled" IOS functions from C++.  I don't
know WHY, but it is undeniable that the references require C++.
| % nm -u /usr/local/lib/libbeecrypt.so
|
| Undefined symbols from /usr/local/lib/libbeecrypt.so:
|    .div
|    .rem
|    .udiv
|    .umul
|    .urem
|    _Jv_RegisterClasses
|    _Unwind_Resume
|    _ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
|    _ZNSolsEm
|    _ZNSt8ios_base4InitC1Ev
|    _ZNSt8ios_base4InitD1Ev
|    ___errno
... and so on.

I tried the advice from this thread
<http://gcc.gnu.org/ml/gcc-bugs/2004-05/msg00123.html> and I tried just
changing my /usr/include/assert.h, which was indeed way out of date, but
that by itself wouldn't fix configure.  Apparently I need to rebuild Gcc
(which, incidentally, I got from SunFreeSource as a binary,) with the
updated assert.h.

What really bothers me, though, is that when I installed BeeCrypt, I ran
    make check
and I passed all the texts there without batting an eyelash.  Why didn't
this library problem get picked up then, by any of the 15 tests in the
suite?  When it says
    ===================
    All 15 tests passed
    ===================
I tend to take it at its word and assume that the installation is
correct.
    

Thanks for the assists and advice, everyone.  I'll let the list know
what happens when I get to the bottom of it.

-    Eliyahu

On Tue, 1 Apr 2008 06:09:28 -0400, "Jeff Johnson" <n3npq@mac.com> said:
> Hmmm, libstdc++ is certainly not needed or used by rpm => beecrypt.
> 
> I don't see why -lstdc++ is even searched offhand, perhaps its through
> external Berkeley DB in -L/usr/local/BerkeleyDB.4.6/lib somehow (but
> that's just guessing ...)
> 
> 73 de Jeff
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> User Communication List                             rpm-users@rpm5.org
-- 
  Eliyahu Skoczylas    Computer Consultant
  +972 (54) 659-4445   <EliSko@Eli-Sko.com>
Received on Tue Apr 1 16:56:43 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.