Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 438702 - sys-auth/nss_ldap-265 encodes wrong libc version in library name if compiling for $ROOT
Summary: sys-auth/nss_ldap-265 encodes wrong libc version in library name if compiling...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo LDAP project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-17 13:10 UTC by Dennis Schridde
Modified: 2013-11-03 07:31 UTC (History)
2 users (show)

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 Dennis Schridde 2012-10-17 13:10:19 UTC
sys-auth/nss_ldap-265's toplevel Makefile.am contains:
LIBC_VERS = $(shell ls /lib/$(MULTI_OS_DIRECTORY)/libc-*.so | tail -n 1 | sed -e 's|.*libc-\(.*\)\.so|\1|')
NSS_LDAP_LIBC_VERSIONED = libnss_ldap-$(LIBC_VERS).so

This will get the wrong LIBC_VERS if the libc in $ROOT and / have a different version. Since it is $ROOT related, which is Gentoo specific, I did not file a complaint upstream. However, maybe this can be fixed by adding a $(PREFIX) at the appropriate position in the Makefile.am, which would be a fix that is upstreamable.

Reproducible: Always