On 12/15/2012 06:36 PM, Sagar Padhye wrote:
> Linux From Scratch - Version SVN-20121122
> Beyond Linux From Scratch - Version SVN-20121205
>
> I am trying to compile udev-extras package.
>
> root [ /sources/systemd-196 ]# /sbin/udevadm --version
> 196
> root [ /sources/systemd-196 ]# echo $LD_LIBRARY_PATH
> /usr/local/lib
> root [ /sources/systemd-196 ]# which python
> /usr/local/bin/python
> root [ /sources/systemd-196 ]# ldd /usr/local/bin/python
>       linux-gate.so.1 (0xb77b4000)
>       libpython2.7.so.1.0 => /usr/local/lib/libpython2.7.so.1.0 (0xb7600000)
>       libpthread.so.0 => /lib/libpthread.so.0 (0xb75e3000)
>       libdl.so.2 => /lib/libdl.so.2 (0xb75de000)
>       libutil.so.1 => /lib/libutil.so.1 (0xb75da000)
>       libm.so.6 => /lib/libm.so.6 (0xb759a000)
>       libc.so.6 => /lib/libc.so.6 (0xb73f6000)
>       /lib/ld-linux.so.2 (0xb77b5000)
> root [ /sources/systemd-196 ]# make -f udev-lfs-196/Makefile.lfs gir-data
> G-IR-SCANNER build/GUdev-1.0.gir
> /usr/local/bin/python: error while loading shared libraries:
> libpython2.7.so.1.0: cannot open shared object file: No such file or
> directory
> make: *** [build/GUdev-1.0.gir] Error 127
> root [ /sources/systemd-196 ]#
>
> I am not able to figure out why the so is not found by make. any idea?
>

I'm not going to ask why you installed python in /usr/local in first place.

echo "/usr/local/lib" >> /etc/ld.so.conf
ldconfig

This should've been done on glibc install in LFS.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to