On 01/07/2015 12:36 PM, Cyd Haselton wrote: > On Wed, Jan 7, 2015 at 6:19 AM, Andrew Haley <aph@xxxxxxxxxx> wrote: >> On 01/07/2015 12:17 PM, Andrew Haley wrote: >>> On 01/07/2015 12:14 PM, Cyd Haselton wrote: >>>> Here goes. >>> >>> You mailer mangled that. As an attachment please. >> >> We need to see all of it, including the error, run with "-v". >> > > See attached Much better. It is using "-ldl". Good. So it should pick up dlopen from somewhere. The library paths it is using are -L/bld/gcc/builddir-4.9/./gcc -L/usr/gcc-4.9.2/arm-linux-androideabi/bin -L/usr/gcc-4.9.2/arm-linux-androideabi/lib -L. -L/usr/gcc-4.9.2/sysroot/usr/lib "libdl.so" should exist somewhere. My best guess is that it will be in /usr/gcc-4.9.2/sysroot/usr/lib If it isn't, your sysroot is broken. Andrew.