Issue with sasldb...
Marcel Moolenaar
xcllnt at mac.com
Fri Jun 6 17:36:05 UTC 2008
On Jun 5, 2008, at 6:03 AM, Niels S. Eliasen wrote:
> Hi guys
> I have a small problem trying to setup postfix/courier etc on
> FreeBSD(PowerPC):
>
> Jun 5 14:46:07 munin postfix/smtpd[41575]: unable to dlopen /usr/
> local/lib/sasl2/libsasldb.so.2:
> /usr/local/lib/sasl2/libsasldb.so.2: Unsupported relocation type 6
> in non-PLT relocations
It looks like libsasldb.so.2 contains code that hasn't been
compiled with -fPIC. This typically happens when a shared
library is constructed by linking against an archive library.
The fix is to review the build of the port and see where non-
PIC code may find its way into a shared object and then change
how those source are being compiled (by adding -fPIC).
FYI,
--
Marcel Moolenaar
xcllnt at mac.com
More information about the freebsd-ppc
mailing list