Hi Zé,

Zé schrieb:
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).


Please ask this question on a ooo-build forum. Maybe you can disable mdbtools using a configure option. AFAICT the mdbtools module is not yet part of the vanilla OOo source tree. I assume that it hasn't been included into the 64 bit porting effort so far, because of this. Maybe mdbtools haven't been ported at all yet.

Also note that libtool generates the wrong library reference, so gcc has no chance to do the correct searching. Please fix your libtool or the mdbtools configure/makefile to behave correctly here (note that generally OOo doesn't use libtool for linking libraries).

HTH

- Jörg

--
Joerg Barfurth              Sun Microsystems - Desktop - Hamburg
>>>>>>>>>>>>>>>>>> using std::disclaimer <<<<<<<<<<<<<<<<<<<<<<<
Software Engineer                         [EMAIL PROTECTED]
OpenOffice.org Configuration          http://util.openoffice.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to