Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 104433

Summary: GIT requires zlib > 1.1.4, Portage left files from zlib-1.1.4 in /usr/lib
Product: Gentoo Linux Reporter: Gustavo Sverzut Barbieri <barbieri>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gustavo Sverzut Barbieri 2005-08-31 16:43:59 UTC
After compiling GIT I got:

git-update-cache: symbol lookup error: git-update-cache: undefined symbol:
deflateBound

Investigating further I've found that my version of /usr/lib/libz.so.1 links to
1.1.4, and it doesn't have deflateBound symbol. After some more checks I've
found that it's due my real installed zlib bein in /lib/libz.so and the one in
/usr/lib was left by portage, and Gentoo is linking against it.

This bug may not have any solution within its ebuild, but should be stated to
help other users with same problem.

Reproducible: Always
Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-08-31 23:26:20 UTC
So does it work after deleting the stale lib?
Comment 2 Gustavo Sverzut Barbieri 2005-09-01 03:46:41 UTC
Yes it does.

rm -f /usr/lib/libz.*

and emerge dev-util/git again, it will work as expected.