[Buildroot] Glibc LD_LIBRARAY_PATH error

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Jun 28 14:28:43 UTC 2014


Dear Panahi Parsa,

On Sat, 28 Jun 2014 18:55:53 +0430, Panahi Parsa wrote:

> I looked at my LD_LIBRARY_PATH variable which I've set in /etc/bash.bashrc
> and it is:
> 
> export PYLON_ROOT=/opt/pylon3
> export GENICAM_ROOT_V2_3=${PYLON_ROOT}/genicam
> export GENICAM_CACHE=${PYLON_ROOT}/xml_cache
> 
> export
> LD_LIBRARY_PATH=${PYLON_ROOT}/lib64:${GENICAM_ROOT_V2_3}/bin/Linux64_x64:${GENICAM_ROOT_V2_3}/bin/Linux64_x64/GenApi/Generic
> 
> export LD_LIBRARY_PATH=/home/parsa/Softwares/OPENCV/build/lib

If you really have this code, then LD_LIBRARY_PATH would be equal to
just /home/parsa/Softwares/OPENCV/build/lib, because this last command
overrides any previous value of LD_LIBRARY_PATH. So clearly, you have
other pieces of code that are touching LD_LIBRARY_PATH.

Can you try, within the Buildroot source directory:

unset LD_LIBRARY_PATH
make clean all

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list