From: Sam Ravnborg Date: Wed, 06 Jul 2005 01:11:50 GMT Subject: Re: git-update-cache: Message-ID: <20050706011150.GA9081@mars.ravnborg.org> In-Reply-To: <20050705224220.GA22219@mars.ravnborg.org> On Wed, Jul 06, 2005 at 12:42:20AM +0200, Sam Ravnborg wrote: > > > > I receive the following error: > > git-update-cache: symbol lookup error: git-update-cache: undefined > > symbol: deflateBound > > > > > open("/usr/lib/libz.so.1", O_RDONLY) = 3 > > This is the reason. > > For a strange reason when git-update-chache was compiled is was linked > dynamically towards an older libz.so version. > Latest installed is libz.1.2.2 which includes deflateBound. > libz.so.1 points at 1.1.4 which does not. The solution was to let libz.so.1 point to latest libz.so file. In my gentoo distribution there seems to be inconsistency if /lib or /usr/lib is used. That was the root cause. Back to do some useful stuff.. Sam