Roger Koehler wrote:
> I am trying to install BLFS with prefix=/opt instead of /usr.  I've gotten
> as far as xcb-proto, but it depends on Python, which I also tried
> installing in /opt.  Everything seemed fine until I tried running python.
>   I get this message:
>
> python: error while loading shared libraries: libpython2.7.so.1.0: cannot
> open shared object file: No such file or directory
>
> Yet, if I look in /opt/lib I see:
>
> /opt/lib/libpython2.7.so  /opt/lib/libpython2.7.so.1.0
>
> 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.

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to