<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
hi all<br>
<br>
i have a strange issue with libtool. when i compile with -m64, some
packages (kdelibs, kdebase, dbus-1-qt3 & others)want link wrong
against /usr/X11R7/lib/libXmu.so. and every this lib!?<br>
my 'workaround' for this was a temporarily symlink from /usr/X11/lib at
/usr/X11/lib64 during compile time. the 32libs are in /usr/X11/libb and
normaly /usr/X11/lib points to /usr/X11/libb.<br>
<br>
for example dbus-1-qt3:<br>
sed -i "/search_libs/s/lib/&64/g" configure &&<br>
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \<br>
./configure --prefix=/usr --libdir=/usr/lib64
--with-qt-libraries=${QTDIR}/lib64 &&<br>
make<br>
..<br>
..<br>
<b>/bin/sh ./libtool </b>--silent --tag=CXX --mode=link g++ -m64 
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common    -o
dbusxml2qt3 -L/opt/qt/lib64 classgen.o main.o methodgen.o -lqt-mt  -lz
-lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread -L/usr/X11/lib64<br>
/usr/X11R7/lib/libXmu.so: could not read symbols: File in wrong format<br>
collect2: ld returned 1 exit status<br>
make: *** [dbusxml2qt3] error 1<br>
<br>
when i go in dbus-1-qt3-0.9 and run:<br>
<br>
<b>libtool </b>--silent --tag=CXX --mode=link g++ -m64 
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common    -o
dbusxml2qt3 -L/opt/qt/lib64 classgen.o main.o methodgen.o -lqt-mt  -lz
-lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread -L/usr/X11/lib64<br>
<br>
then all is fine.<br>
so, i think my 'workaround' is not so clever.<br>
what can i do after configure  resp. general for all packages?<br>
<br>
thx!<br>
<br>
</body>
</html>