[Expat-discuss] Linux Arm & Expat

Mark Buster mbuster at mchsi.com
Tue Jan 8 16:01:47 CET 2008


Hopefully this isn't too stupid of a request.
I am new to cross compiling & linux in general.
I have installed expat with the following sequence (hopefully correctly) 
as needed for my Cross compiler. Maybe this is where I'm lost..

./configure --prefix=/usr/local/arm/3.4 --host=arm-linux
CC=arm-linux-gcc make
CC=arm-linux-gcc make install

I am able to compile and link an example program like so:

arm-linux-gcc ./outline.c -lexpat -o outline

This compiles with no errors.
When I transfer the executable over to the target and run it, I get the 
following error:

" can't load library 'libexpat.so.1' "

Now it is my understanding that this should have all been included 
during the build. Am I linking improperly?
I'm not overly familiar with the process. Any help would be greatly 
appreciated.

-- 
Mark Buster
Systems Design & Consulting
217 Swan Street
West Burlington, IA 52655
(319) 572-6617
mbuster at mchsi.com



More information about the Expat-discuss mailing list