microblaze: error while loading shared libraries: libmpc.so.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

 I have build a microblaze toolchain with Gcc version 4.6.2.
 I was successful in building the toolchain but when i try to compile
a program it is generating following message.

 [nagaraju]$ /home/gnu/microblaze/lin/bin/mb-gcc swap.c
/home/gnu/microblaze/lin/libexec/gcc/microblaze-xilinx-elf/4.6.2/cc1:
error while loading shared libraries: libmpc.so.2: cannot open shared
object file: No such file or directory

 If I add libmpc.so.2 path to my LD_LIBRARY_PATH it is working fine.
My question is, what should I add to build scripts so that I need not
explicitly add this library path to LD_LIBRARY_PATH.

 My configure options are:

. /configure                       \
    --with-gmp=/home/nagaraju/tools/abc/     \
    --with-mpfr=/home/nagaraju/tools/abc/    \
    --with-mpc=/home/nagaraju/tools/abc/     \
    --with-ppl=no               \
    --with-cloog=no     \
    --target=microblaze-xilinx-elf                   \
    --prefix=/home/gnu/microblaze/lin                    \
    --program-prefix=mb-       \
    --with-newlib                       \
    --enable-languages=c,c++           \
    --enable-multilib                   \
    --disable-libquadmath               \
    --enable-static                     \
    --with-sysroot=/home/gnu/microblaze/lin/microblaze-xilinx-elf


Thanks in Advance,
Nagaraju


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux