From owner-freebsd-questions@FreeBSD.ORG Tue Jul 18 13:40:39 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23EBB16A4DF for ; Tue, 18 Jul 2006 13:40:39 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4774343D46 for ; Tue, 18 Jul 2006 13:40:37 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.139] (helo=anti-virus01-10) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1G2poS-0003TJ-8C; Tue, 18 Jul 2006 14:40:36 +0100 Received: from [82.41.34.175] (helo=[192.168.0.2]) by asmtp-out6.blueyonder.co.uk with esmtp (Exim 4.52) id 1G2poR-0006aG-Gp; Tue, 18 Jul 2006 14:40:35 +0100 Message-ID: <44BCE4D2.40404@dial.pipex.com> Date: Tue, 18 Jul 2006 14:40:34 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20060515 X-Accept-Language: en MIME-Version: 1.0 To: Bob References: <44BA98A9.9040903@tamara-b.org> <17594.43423.928991.591165@bhuda.mired.org> <44BACE63.9030800@tania.servebbs.org> <17595.42791.720165.478108@bhuda.mired.org> <44BBFE49.4080602@tania.servebbs.org> <17596.3659.286257.639099@bhuda.mired.org> <44BC1A90.9090206@tania.servebbs.org> In-Reply-To: <44BC1A90.9090206@tania.servebbs.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: LinkLib Issues In freebsd Lazarus X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 13:40:39 -0000 Bob wrote: >Mike Meyer wrote: > > > >>Well, one solution is to distribute sources - which works especially >>well if you provide a port. See below for more on that. >> >> >Yes, but the sources Makefile would have to be not only version aware, >but also "port-status" aware as well, and then call ld with the proper >args. Worse, if 6.5 comes out, and the libs are renamed to libgdk.1.2.0 >for instance, then no one will know what to look for until something >breaks. > > IIUC correctly, the libraries you are complaining about are from *ports* and not the base system, so the version of FreeBSD is irrelevant. Why not look to see how *other* ports which use libgdk do things? You might find more help on the ports mailing list. For your pre-compiled binary would libmap.conf help? For a src port, I would bet that there's already a "right way to do it" that gets around your problem, even if it's just some ifdefs or similar in the Makefile. --Alex