From owner-freebsd-ppc@FreeBSD.ORG Fri Jun 6 17:36:05 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A6941065676 for ; Fri, 6 Jun 2008 17:36:05 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpoutm.mac.com (smtpoutm.mac.com [17.148.16.66]) by mx1.freebsd.org (Postfix) with ESMTP id A144C8FC16 for ; Fri, 6 Jun 2008 17:36:05 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtp013.mac.com (asmtp013-bge351000 [10.150.69.76]) by smtpoutm.mac.com (Xserve/smtpout003/MantshX 4.0) with ESMTP id m56Ha525021145 for ; Fri, 6 Jun 2008 10:36:05 -0700 (PDT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp013.mac.com (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K210032JY842FJ1@asmtp013.mac.com> for freebsd-ppc@freebsd.org; Fri, 06 Jun 2008 10:36:04 -0700 (PDT) Message-id: <00CFF0B8-6236-4031-BCCB-79984B7CF641@mac.com> From: Marcel Moolenaar To: "Niels S. Eliasen" In-reply-to: <2D03106C-0299-4ADA-9B22-C76E331BD17D@delfi-konsult.com> Date: Fri, 06 Jun 2008 10:36:04 -0700 References: <2D03106C-0299-4ADA-9B22-C76E331BD17D@delfi-konsult.com> X-Mailer: Apple Mail (2.924) Cc: freebsd-ppc@freebsd.org Subject: Re: Issue with sasldb... X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2008 17:36:05 -0000 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