From owner-freebsd-ports@FreeBSD.ORG Sun Aug 30 14:09:19 2009 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3A7B106566B for ; Sun, 30 Aug 2009 14:09:18 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 8D8628FC08 for ; Sun, 30 Aug 2009 14:09:18 +0000 (UTC) Received: by fxm6 with SMTP id 6so2206793fxm.43 for ; Sun, 30 Aug 2009 07:09:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=Q0oQFjOtECbhIEoO//8axAI3WREQcXjAGqxsuJ1zaKs=; b=Gz0tpU6I9f7jHuvMQ8NILebV9iriBJViksu4Wtr3xntuw7dZB/dN0zfRRBqRUQrYst WBpehsXjvgfg7KFs0bmM5wb7g3MjUbjZw5BVqIOf8IrWmeXegBrl9sJFU/xgVFTqG4iA /p8H4GhF6Wg9dD6eDW5Hi2MO59sWnT4MGelfk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=w8CH1a52z9E0NMS1OgY6QVedGq5JEeQkf13q69ygoqt5TxtOWwzv1Kel5fImKQvEe5 KvD9baCuzMwdPiPK72RoK95GPrnDtXz+cQm+gD7F1pNUw6CRjlj9iImWOdVGaIuwGTjR Ar6mOiwrAcQu7uBHtIX1v/Zdd4WW8aDfgVZ2U= MIME-Version: 1.0 Received: by 10.239.139.134 with SMTP id t6mr343951hbt.12.1251641357289; Sun, 30 Aug 2009 07:09:17 -0700 (PDT) Date: Sun, 30 Aug 2009 14:09:17 +0000 Message-ID: From: "b. f." To: freebsd-ports@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: Sylpheed doesn't compile on amd64 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 14:09:19 -0000 >So I wonder why there is still a /usr/local/lib/libonig.a when oniguruma >is deinstalled? ??? Probably because after deinstalling oniguruma, he tried to install sylpheed2 WITH_ONIGURUMA, so oniguruma was placed in sylpheed2's BUILD_DEPENDS, meaning that oniguruma was rebuilt and reinstalled as part of the sylpheed2 build. This is a non-default option, so it doesn't receive as much testing, and something may well be broken. Try rebuilding and reinstalling first oniguruma and then sylpheed2 with CFLAGS+=-fPIC, as the error message indicates. You may need to tinker with the linker flags as well. If that doesn't work, try removing oniguruma and then installing one of the later versions of oniguruma that uses shared libraries, as Oliver suggested. It may be that the API/ABI of these later versions will permit them to be used with sylpheed2 instead of the original oniguruma. Of course, you can always check this by looking at the code. b.