[CentOS] How is this possible?

Sun May 25 20:35:29 UTC 2008
Tru Huynh <tru at centos.org>

On Sun, May 25, 2008 at 01:12:30PM -0700, MHR wrote:
> As an experiment, I am attempting to build a more recent version of
> GNOME than 2.16.0 on CentOS 5.1.  I've tried both garnome and jhbuild,
just my 1st and last warning: if you break your setup don't come complaining
here :)

> ...
> gcc -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align
> -Wfloat-equal -Wsign-compare -o .libs/dbus-binding-tool
> dbus-binding-tool-glib.o dbus-glib-tool.o  ./.libs/libdbus-gtool.a
> -L/lib64 ./.libs/libdbus-glib-1.so -ldbus-1 -lgobject-2.0 -lglib-2.0
> /usr/lib/libexpat.so -lnsl
> /usr/lib/libexpat.so: could not read symbols: File in wrong format
> collect2: ld returned 1 exit status

The error message is quite clear.
> ...
> $ file /lib/libexpat.so.0.5.0
> /lib/libexpat.so.0.5.0: ELF 32-bit LSB shared object, Intel 80386,
> version 1 (SYSV), stripped

you are running a 64 bits CentOS-5 machine and you are trying to
link a 64 bits objects with a 32 bits shared lib.

> What did I miss here?
good luck.

Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20080525/5a5d1538/attachment-0005.sig>