[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Re: binutils induced libz dependency

From: Jerry James
Subject: [Gcl-devel] Re: binutils induced libz dependency
Date: Wed, 18 Feb 2009 13:47:22 -0700

On Wed, Feb 18, 2009 at 11:18 AM, Camm Maguire <address@hidden> wrote:
> Greetings!  It also appears that using newer binutils requires a
> dynamic link dependency against libz.  I suppose there is no way
> around this. (?)

Ugh, yes, I hit this.  On Fedora 10 (but not Fedora 9 or earlier),
/usr/lib64/libbfd.so is a linker script that pulls in
/usr/lib64/libbfd.a (ha, you thought you were getting a shared
library!) and libz.  So for my development platform of choice, the
right thing to do is choose to link against a dynamic system libbfd.

This is not universally the case across distributions, so I guess
configure will have to check for one of these libbfds and pull in libz
as necessary.
Jerry James

reply via email to

[Prev in Thread] Current Thread [Next in Thread]