Installing PCRE - Problem :)

David Fix g4ta4az02 at sneakemail.com
Fri Feb 3 11:44:44 PST 2006


Hey guys...  :)  I'm going through the book
CLFS-SVN-20060202-x86_64-Multilib, and I wanted to install PCRE before I
installed grep and whatnot in chapter 10.  So here's what I did...

# CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr
--enable-utf8

So that I could get the 32-bit libraries installed first, right?  :)

However, I got the following error:
------
/bin/sh ./libtool --mode=link g++ -m32  -I. -I. -rpath /usr/lib libpcre.la
-version-info \
        '0:0:0' -o libpcrecpp.la pcrecpp.lo pcre_scanner.lo
pcre_stringpiece.lo
g++ -m32 -shared -nostdlib
/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.0.2/../../../../lib/crti.o
/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.0.2/32/crtbeginS.o
.libs/pcrecpp.o .libs/pcre_scanner.o .libs/pcre_stringpiece.o  -Wl,--rpath
-Wl,/sources/pcre-6.5/.libs -Wl,--rpath -Wl,/usr/lib64/../lib64 -Wl,--rpath
-Wl,/usr/lib64/../lib64 ./.libs/libpcre.so
-L/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.0.2/32
-L/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.0.2
-L/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.0.2/../../../../lib
-L/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.0.2/../../.. -L/lib/../lib
-L/usr/lib/../lib /usr/lib64/../lib64/libstdc++.so
-L/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src
-L/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/sources/gcc-build/gcc -L/usr/lib64/../lib64 -L/usr/lib64 -L/lib/../lib64
-L/usr/lib/../lib64 -lm -lc -lgcc_s
/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.0.2/32/crtendS.o
/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.0.2/../../../../lib/crtn.o  -m32
-Wl,-soname -Wl,libpcrecpp.so.0 -o .libs/libpcrecpp.so.0.0.0
/usr/lib64/../lib64/libstdc++.so: could not read symbols: File in wrong
format
collect2: ld returned 1 exit status
------

Any idea what I could do to fix that before I continue?  :)

	Dave




More information about the cross-lfs mailing list