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.

cross compile linux top command

Hi.

I have a board based on the am335x evm. I ported U-boot and Linux, my version of u-boot is 2013.01 of the ti-sdk (psp06.00.00.00) and I'm using the arago linux distro from the TI board port labs ( kernel 3.2 ).

I'm trying to get the top command to work on my board for performance measurements. I downloaded the source code from http://procps.sourceforge.net/index.html and executed the following commands:

cd ~/Downloads/procps-3.2.7/

make ARCH=arm CC=/home/laurens/ti-sdk-am335x-evm/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux-gnueabihf-gcc DESTDIR=/media/laurens/rootfs/

sudo make ARCH=arm CC=/home/laurens/ti-sdk-am335x-evm/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux-gnueabihf-gcc DESTDIR=/media/laurens/rootfs/ install

It compiles fine but when I execute it on my board:

root@am335x-evm:~# top
top: error while loading shared libraries: libproc-3.2.7.so: cannot open shared object file: No such file or directory
root@am335x-evm:~# ls /lib/ | grep libproc-3.2.7.so
root@am335x-evm:~# ls /lib64/ | grep libproc-3.2.7.so
libproc-3.2.7.so

It can't find the libproc and it isn't installed in lib/ but in lib64/. I'm probably forgetting something obvious in my make command.

Thanks in advance,

Laurens