Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104433 - GIT requires zlib > 1.1.4, Portage left files from zlib-1.1.4 in /usr/lib
Summary: GIT requires zlib > 1.1.4, Portage left files from zlib-1.1.4 in /usr/lib
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-31 16:43 UTC by Gustavo Sverzut Barbieri
Modified: 2005-09-01 03:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.