I use Mandriva 2006 x86_64 and i also have some x86 rpms installed since they
are needed to run some programs like wine that only exists for 32 bits, so
its normal that i have the 64 bit libraries installed in /usr/lib64 and the
32 bit libraries installed in /usr/lib.
So far i have managed to build all programs fine, some with more dificulty its
true, but in the end they all are packaged, now with openoffice-2.0.3
(ooc680-m6) in x86_64 its another talk...
In the error ill paste you can see that it searches in /usr/lib
instead /usr/lib64, im also attaching the file config.log for all configure
details.
At some point of build i get this error:
/bin/sh ../../libtool --mode=link
gcc -O2 -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fno-omit-frame-pointer -fno-strict-aliasing -DSQL -o
libmdb.la -rpath /usr/local/lib catalog.lo mem.lo file.lo kkd.lo table.lo
data.lo dump.lo backend.lo money.lo sargs.lo index.lo like.lo write.lo
stats.lo map.lo props.lo worktable.lo options.lo iconv.lo -lglib-2.0 -lm
gcc -shared .libs/catalog.o .libs/mem.o .libs/file.o .libs/kkd.o .libs/table.o
.libs/data.o .libs/dump.o .libs/backend.o .libs/money.o .libs/sargs.o
.libs/index.o .libs/like.o .libs/write.o .libs/stats.o .libs/map.o
.libs/props.o .libs/worktable.o .libs/options.o .libs/iconv.o
/usr/lib/libglib-2.0.so -lm -Wl,-soname -Wl,libmdb.0 -o .libs/libmdb.0.0.0
/usr/lib/libglib-2.0.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: ** [libmdb.la] Erro 1
make[3]: Leaving directory
`/home/mmodem/rpm/BUILD/ooo-build/build/ooc680-m6/mdbtools/unxlngx6.pro/misc/build/mdbtools-0.6pre1/src/libmdb'
make[2]: ** [all-recursive] Erro 1
make[2]: Leaving directory
`/home/mmodem/rpm/BUILD/ooo-build/build/ooc680-m6/mdbtools/unxlngx6.pro/misc/build/mdbtools-0.6pre1/src'
make[1]: ** [all-recursive] Erro 1
make[1]: Leaving directory
`/home/mmodem/rpm/BUILD/ooo-build/build/ooc680-m6/mdbtools/unxlngx6.pro/misc/build/mdbtools-0.6pre1'
dmake: Error code 2, while
making './unxlngx6.pro/misc/build/so_built_mdbtools'
'---* tg_merge.mk *---'
ERROR: Error 65280 occurred while
making /home/mmodem/rpm/BUILD/ooo-build/build/ooc680-m6/mdbtools
make: ** [stamp/build] Erro 1
As you see its looking in /usr/lib instead /usr/lib64, but since is use the
autogen.sh script the regenerates config entries i dont see how can i
workaround this unless i uninstall libglib2.0_0 (that is 32 bit), i have
lib64glib2 installed (x86_64).
kind regards,
--
Zé
Linux user #378762
MDE developer - www.mde.djura.org
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by ooo-build configure ooc680-m7, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure --build=x86_64-mandriva-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib64 --localstatedir=/var/lib --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib64 --with-distro=Mandriva64 --with-vendor=Mandriva --with-tag=ooc680-m6 --with-build-version=2.0.3.cvs20060629 --disable-quickstart --enable-java --with-java=gij --with-system-gcc --with-lang=en-US pt it --with-binsuffix=2.0 --with-installed-ooo-dirname=ooo-2.0 --with-system-glitz --disable-cairo --disable-canvas --with-system-boost --with-system-db --with-db-jar=/usr/share/java/db-4.2.jar --with-system-nas --with-dynamic-xinerama --enable-binfilter --enable-access --enable-hunspell --enable-mono
## - ##
## Platform. ##
## - ##
hostname = localhost
uname -m = x86_64
uname -r = 2.6.12-22mdk
uname -s = Linux
uname -v = #1 Tue May 23 15:04:05 MDT 2006
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin/
PATH: /usr/games
PATH: /usr/lib64/jdk-1.4.2/bin
PATH: /home/mmodem/bin
PATH: /usr/lib64/jdk-1.4.2/bin
PATH: /usr/lib/qt3//bin
## --- ##
## Core tests. ##
## --- ##
configure:1555: checking for a BSD-compatible install
configure:1610: result: /usr/bin/install -c
configure:1621: checking whether build environment is sane
configure:1664: result: yes
configure:1729: checking for gawk
configure:1745: found /usr/bin/gawk
configure:1755: result: gawk
configure:1765: checking whether make sets $(MAKE)
configure:1785: result: yes
configure:1948: checking how to create a ustar tar archive
configure:1961: tar --version
tar (GNU tar) 1.15.90
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software. You