| Bug#: 149929 | Product: Gentoo Linux | Version: unspecified | Platform: All |
| OS/Version: Linux | Status: RESOLVED | Severity: normal | Priority: P2 |
| Resolution: FIXED | Assigned To: base-system@gentoo.org | Reported By: galtgendo@o2.pl | |
| Component: Ebuilds | |||
| URL: | |||
| Summary: sys-libs/zlib 1.2.3 fails to export post-1.2.2 symbols | |||
| Keywords: | |||
| Status Whiteboard: | |||
| Opened: 2006-10-03 01:08 0000 | |||
| Description: | Opened: 2006-10-03 01:08 0000 |
Well, zlib.h defines gzdirect, inflateGetheader and more, but zlib-1.2.2-mapfile.patch doesn't have them. Due to that many post-1.2.2 symbols are not exported, resulting in linker errors (undefined reference). I created zlib-1.2.3-mapfile.patch by reading zlib's Changelog and adding all functions listed as added post 1.2.2. Don't know if it's any good.
Created an attachment (id=98690) [details]
Above mentioned patch
It seems to work.
going the mapfile route isnt really maintainable ... i doubt most people who would bump zlib would even realize they need to update it i'll see about adding a visibility/hidden test to the configure script and then tagging all the symbols that arent supposed to be exported as hidden ...
*** Bug 151190 has been marked as a duplicate of this bug. ***