Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jun 2008 10:36:04 -0700
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        "Niels S. Eliasen" <nse@delfi-konsult.com>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: Issue with sasldb...
Message-ID:  <00CFF0B8-6236-4031-BCCB-79984B7CF641@mac.com>
In-Reply-To: <2D03106C-0299-4ADA-9B22-C76E331BD17D@delfi-konsult.com>
References:  <2D03106C-0299-4ADA-9B22-C76E331BD17D@delfi-konsult.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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@mac.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00CFF0B8-6236-4031-BCCB-79984B7CF641>