This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OpenSSL- Make Install Error

Hi,

I was in the process of installing OpenSSL 1.0.0d on the AM335x Starter Kit based on the instructions mentioned in the following link:

http://processors.wiki.ti.com/index.php/Build_OpenSSL_for_Sitara


I was able to successfully compile it through the "make" command. But, during "make install" the following error occurs:

....

....

.....

make[2]: Leaving directory `/home/bh/openssl-1.0.1d/engines/ccgost'
make[1]: Leaving directory `/home/bh/openssl-1.0.1d/engines'
making install in apps...
make[1]: Entering directory `/home/bh/openssl-1.0.1d/apps'
installing openssl
installing CA.sh
installing CA.pl
installing tsget
make[1]: Leaving directory `/home/bh/openssl-1.0.1d/apps'
making install in test...
make[1]: Entering directory `/home/bh/openssl-1.0.1d/test'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/home/bh/openssl-1.0.1d/test'
making install in tools...
make[1]: Entering directory `/home/bh/openssl-1.0.1d/tools'
make[1]: Leaving directory `/home/bh/openssl-1.0.1d/tools'
installing libcrypto.a
/bin/sh: arm-linux-gnueabihf-ranlib: not found
installing libssl.a
/bin/sh: arm-linux-gnueabihf-ranlib: not found
make: *** [install_sw] Error 127


The error exists though arm-linux-gnueabihf-ranlib is accessible from the /bin directory. Any help on this will be appreciated.

Thanks

  • What is the $PATH value?

  • Hi,

    Thanks for responding.

    The $PATH value is as follows:

    [linux-devkit]:~> echo $PATH
    /home/bh/ti-sdk-am335x-evm-06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

  • Hmmm, the file should be located within first directory. I guess when you type arm-linux-gnueabihf-ranlib into console it is executed. Right?

    Can you post where system "sees" arm-linux-gnueabihf-ranlib using where or find commands?

    Regards,
    Maciej 

  • Hi MaciejKucia,

    arm-linux-gnueabihf-ranlib does get executed in the console.

    Refer to the log below. Thanks for following up.

    [linux-devkit]:~/openssl-1.0.1e> arm-linux-gnueabihf-ranlib
    Usage: arm-linux-gnueabihf-ranlib [options] archive
     Generate an index to speed access to archives
     The options are:
      @<file>                      Read options from <file>
      -D                           Use zero for symbol map timestamp
      -U                           Use actual symbol map timestamp (default)
      -t                           Update the archive's symbol map timestamp
      -h --help                    Print this help message
      -v --version                 Print version information
    arm-linux-gnueabihf-ranlib: supported targets: elf32-littlearm elf32-bigarm elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex
    [linux-devkit]:~/openssl-1.0.1e> which arm-linux-gnueabihf-ranlib
    /home/bh/ti-sdk-am335x-evm-06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux-gnueabihf-ranlib

    Regards

  • Do you have by accident arm-arago-linux-gnueabi-ranlib in makefile? If yes you can try to replace it with arm-linux-gnueabi-ranlib. If this does not help then sorry I am out of ideas.

    Regards,
    Maciej