[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

The postgresql/libcrypto problem




I managed to narrow down the exact cause of the postgresql configure
script failing to detect that "long long" is 64 bits on the Sparc.

It seems that libcrypto.so is dynamically exporting __muldi3 and other
symbols that it pulls in from libgcc.a, but v[89]/libcrypto.so do not
contain these symbols.  So the conftest.c compiles, but fails to load
because of a missing symbol.

My proposed solution (bug 167831) is to use a simple version script
that makes symbols starting with "__" local when linking libcrypto.so
on the Sparc.

This problem may occur with any other library that provides different
versions for v8/v9.


Steve
dunham@debian.org



Reply to: