[Expat-discuss] Statically linking against expat libs

Sebastian Pipping webmaster at hartwork.org
Fri Nov 2 21:51:45 CET 2007


Dan Clusin wrote:
> /usr/local/arm/3.4/bin-ccache/../lib/gcc/arm-linux-uclibc/3.4.3/../../..
> /../arm-linux-uclibc/bin/ld: cannot find
> -l/home/dclusin/Development/obvius_libs/expat/lib/libexpat.a

With a little luck that's an easy one. Try replacing

  -l/home/dclusin/Development/obvius_libs/expat/lib/libexpat.a

with

  -L/home/dclusin/Development/obvius_libs/expat/lib/ -lexpat

I hope that solves the problem.



Sebastian



More information about the Expat-discuss mailing list