[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] FreeType 2.3.8 released
From: |
mpsuzuki |
Subject: |
Re: [ft-devel] FreeType 2.3.8 released |
Date: |
Fri, 16 Jan 2009 11:24:26 +0900 |
Hi,
Before all, thank you for report. Could you describe more detail
on your "multilib"? The compiler's pathname x86_64-slamd64-linux-gcc
looks like as if it is cross-building (on i386 machine), but other
pathnames (e.g. /usr/lib, etc) look like as if it is native-building.
On Fri, 16 Jan 2009 11:05:05 +1000
"Andrey V. Panov" <address@hidden> wrote:
>The build of ft2demos on platform with multilib is broken:
>
>../freetype2/builds/unix/libtool --mode=link
>x86_64-slamd64-linux-gcc -s -lz -o /usr/local/src/ft2demos-2.3.8/bin/ftmulti
>/usr/local/src/ft2demos-2.3.8/obj/ftmulti.o
>/usr/local/src/ft2demos-2.3.8/obj/common.o
>/usr/local/src/freetype2/objs/libfreetype.la
>/usr/local/src/ft2demos-2.3.8/obj/graph.a -R/usr/lib -R/usr/X11R6/lib
>-L/usr/lib -L/usr/X11R6/lib -lX11 -lm
>libtool: link:
>x86_64-slamd64-linux-gcc -s -o /usr/local/src/ft2demos-2.3.8/bin/.libs/ftview
>/usr/local/src/ft2demos-2.3.8/obj/ftview.o
>/usr/local/src/ft2demos-2.3.8/obj/common.o
>/usr/local/src/ft2demos-2.3.8/obj/ftcommon.o
>/usr/local/src/freetype2/objs/.libs/libfreetype.so -lz
>/usr/local/src/ft2demos-2.3.8/obj/graph.a -L/usr/lib -L/usr/X11R6/lib
>/usr/lib/libX11.so /usr/lib/libxcb-xlib.so /usr/lib/libxcb.so
>/usr/lib/libXau.so -ldl -lm -Wl,-rpath -Wl,/usr/lib64 -Wl,-rpath -Wl,/usr/lib
>-Wl,-rpath -Wl,/usr/X11R6/lib
>/usr/lib/libX11.so: could not read symbols: File in wrong format
>X11_LIB in graph/x11/rules.mk should point into lib64/ in this case.
Yes, you are right, "in this case". I think there are various
manners to separate i386 & amd64 libraries in the systems
# Debian GNU/Linux on amd64 puts libX11.so to /usr/lib, and
# /usr/lib64 is a symbolic to /usr/lib. /usr/lib32 is a symbolic
# link to /emul/ia32-linux/usr/lib.
so I think writing hardwired rules in graph/x11/rules.mk is not
so flexible. Maybe, let freetype-x.y.z/configure to search would
be better.
I'm interested in the improvement of FreeType2 configure to do
such, but I want to collect possible manners of library locations
for multilib development, before start the working. Please let
me know the detail of your case.
Regards,
mpsuzuki