When building a trimmed down system, with X explicitly disabled as an emerge, ld.so.conf becomes broken. This is due to the fact that the LDPATH (which feeds into ld.so.conf) for /usr/lib only sits in 10xorg. This should be in something closer, such as basesystem. Reproducible: Always Steps to Reproduce: 1. Setup a system with -X (selinux/x86/hardened in this case) 2. Run bootstrap.sh 3. Attempt to emerge -u system, things will start breaking at some point. Actual Results: Python breaks because it cannot locate libpython.so.1.0 Expected Results: System should emerge normally (sans any broken packages)
you dont need /usr/lib in ld.so.conf