Bruce Dubbs <bruce.dubbs <at> gmail.com> writes: > Roger Koehler wrote: > > How do I configure Python to use /opt/lib? > > Try 'export LIBRARY_PATH=/opt/lib' > > Note that LD_LIBRARY_PATH and /etc/ld.so.conf are used at runtime, not > build time.
Thank you, Bruce. That fixed python. Unfortunately, I am still unable to install xcb-proto. I tried re-installing python with the path variables defined as you describe and then trying xcb-proto again. I get the following messages after running 'make install': make[2]: Nothing to be done for `install-exec-am'. /bin/mkdir -p '/opt/lib/python2.7/site-packages/xcbgen' /usr/bin/install -c -m 644 __init__.py error.py expr.py matcher.py state.py xtypes.py '/opt/lib/python2.7/site-packages/xcbgen' /opt/bin/python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory make[2]: *** [install-pkgpythonPYTHON] Error 127 -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page