Compile dies with "cannot find -lm/libxml2.la"

jamie bennett jamie at linuxuk.org
Thu Aug 11 02:24:02 PDT 2005


Quoting James Robertson <jwrober at linuxfromscratch.org>:

> Andrew Jergens wrote:
> 
> >
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
> 
> 
> You are probably the first person to compile on a x64 box.  Do you have 
> 32bit libraries installed?  I know very little about the platform.

I've done 64 bit builds for some time now. 

To fix your problem just edit the make file and change

XML2_LIB = -lxml2 -lz -lpthread -lm/libxml2.la 

to

XML2_LIB = -lxml2 -lz -lpthread -lm
 
> James

Jamie



More information about the alfs-discuss mailing list