From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Sat, 28 Jun 2014 16:28:43 +0200 Subject: [Buildroot] Glibc LD_LIBRARAY_PATH error In-Reply-To: References: <20140628000126.4bfd6329@free-electrons.com> <20140628083612.167f7b88@free-electrons.com> Message-ID: <20140628162843.41a203d7@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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