[zeromq-dev] cross-compile for PowerPC

Crum, Gary A. (GSFC-5870) gary.a.crum at nasa.gov
Fri Oct 21 16:11:46 CEST 2011


>>I try ELDK and thanks to your precedent post (Mon Oct 17 20:11:30), I don't have any problem with cross-compilation. 

good to hear you are making progress

>>However, when I want to run
>>hwserver on my box :
>>
>> => GLIBC_2.4 not found (required)

sounds like you are missing some shared libraries on your embedded file system.

on your build system you can run ldd to find out what libs you need:

 ppc-linux-ldd hwserver 
	libpthread.so.0 => /opt/eldk/ppc_4xxFP/lib/libpthread.so.0
	libuuid.so.1 => /opt/eldk/ppc_4xxFP/lib/libuuid.so.1
	libstdc++.so.6 => /opt/eldk/ppc_4xxFP/lib/libstdc++.so.6
	libm.so.6 => /opt/eldk/ppc_4xxFP/lib/libm.so.6
	libgcc_s.so.1 => /opt/eldk/ppc_4xxFP/lib/libgcc_s.so.1
	libc.so.6 => /opt/eldk/ppc_4xxFP/lib/libc.so.6
	ld.so.1 => /opt/eldk/ppc_4xxFP/lib/ld.so.1


some of the files listed above are symbolic links to the real lib, so copy the sym links and everything they point to 
to your embedded file system and it should work.

thanks
gary


More information about the zeromq-dev mailing list