Menu

Help! cross compile sphinxbase

Help
Ramzi
2012-04-09
2012-09-22
  • Ramzi

    Ramzi - 2012-04-09

    Hi to all,

    I need to cross compile pocketsphinx to arm9 linux, I'm new to all the cross
    compiling, so please help,
    all the configure, make sudo make install now go fine but when I want to try
    it it says

    ./sphinx_feARM: error while loading shared libraries: libsphinxbase.so.1: cannot open shared object file: No such file or directory
    

    this is the configure command that I use

    ./configure CC=arm-none-linux-gnueabi-gcc CPP=arm-none-linux-gnueabi-cpp --host=arm-linux LDFLAGS=-L/usr/local/arm/4.4.3/4.4.3/arm-none-linux-gnueabi/lib CPPFLAGS=-I/usr/local/arm/4.4.3/4.4.3/arm-none-linux-gnueabi/include LD_LIBRARY_PATH=/home/ramziiss/Desktop/test3/arm/lib/ --program-suffix=ARM --prefix=/home/ramziiss/Desktop/test3/exec --enable-fixed --exec-prefix=/home/ramziiss/Desktop/test3/arm CFLAGS=-O3
     LIBS=-lposix
    

    I've tried the command without the

    LD_LIBRARY_PATH=/home/ramziiss/Desktop/test3/arm/lib/
    

    and added

    LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/home/ramziiss/Desktop/test3/arm/lib/"
    

    but still the same,

    plz help I've been stuck here for a long time now,

    and thanks, Best Regards

    Ramzi

     
  • Ramzi

    Ramzi - 2012-04-09

    anyone with a clue ?

     
  • Ramzi

    Ramzi - 2012-04-10

    At last I found a solution, And thanks for your help everyone!

     

Log in to post a comment.