Error compiling autoconf in Chapter 10

Ken Moffat ken at
Mon Apr 3 14:19:44 PDT 2006

On Mon, 3 Apr 2006, michi_w2001 at wrote:

> I'm using the book CLFS-SVN-20060401-x86_64-Multilib (actually, I began 
> with version 20060327).
> I followed the instructions in the book (at least I hope so), using the 
> "package-user" package management.
> When trying to compile autoconf-2.59 I get the following error:
> make[3]: Leaving directory `/usr/src/autoconf/autoconf-2.59/lib'
> ../../tests/autom4te                            \
>         --language=m4sugar                      \
>         --freeze                        \
>         --output=m4sugar.m4f
> Can't load 
> '/usr/lib64/perl5/5.8.8/x86_64-linux-ld/auto/File/Glob/' for 
> module 
> File::Glob: /usr/lib64/perl5/5.8.8/x86_64-linux-ld/auto/File/Glob/ 
> wrong ELF class: ELFCLASS64 
> at /usr/lib64/perl5/5.8.8/x86_64-linux-ld/ line 70.

 I'm not an expert in multilib, (actually, these days I'm not an expert 
in much at all), but I'll hazard a guess that you've built a 32-bit 
perl.  Not sure quite what can do that, but I'll guess that perhaps you 
missed the configure_multilib patch in s10.34 (the temporary perl is 
built as 32-bit, the final perl as 64-bit).

 Normally, I'd tell you to use 'file' on, but if you don't have 
that I'll hazard a guess that 'ldd' will show it linking to 

 Alternatively, and from what the message actually says, maybe you 
somehow tried to build autoconf with $BUILD32 ? 

das eine Mal als Tragödie, das andere Mal als Farce

More information about the cross-lfs mailing list