Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2006 14:40:34 +0100
From:      Alex Zbyslaw <xfb52@dial.pipex.com>
To:        Bob <bob@tania.servebbs.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: LinkLib Issues In freebsd Lazarus
Message-ID:  <44BCE4D2.40404@dial.pipex.com>
In-Reply-To: <44BC1A90.9090206@tania.servebbs.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44BCE4D2.40404>