libexpat.so

Pervez, Salman Salman.Pervez at citadelgroup.com
Tue Mar 20 09:59:23 PDT 2012


Hi everyone, I am trying to do a source build of dbus-0.31 and getting the following error.

then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototyp\
es -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare   -o dbus-daemon  activation.o bus.o co\
nfig-parser.o connection.o desktop-file.o dispatch.o driver.o expirelist.o policy.o selinux.o services.o signals.o te\
st.o utils.o config-loader-expat.o main.o  -lexpat -lselinux -lpthread ../dbus/libdbus-convenience.la -lnsl
gcc -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcas\
t-align -Wfloat-equal -Wsign-compare -o dbus-daemon activation.o bus.o config-parser.o connection.o desktop-file.o di\
spatch.o driver.o expirelist.o policy.o selinux.o services.o signals.o test.o utils.o config-loader-expat.o main.o  /\
usr/lib/libexpat.so -lselinux -lpthread ../dbus/.libs/libdbus-convenience.a -lnsl
/usr/lib/libexpat.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [dbus-daemon] Error 1
make[2]: Leaving directory `/home/spervez1/dbus-0.31/bus'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/spervez1/dbus-0.31'
make: *** [all] Error 2

I've read elsewhere that this could be due to /usr/lib/libexpat.so being 32-bit. There is a corresponding file in /usr/lib64 but I'm not sure how to tell configure to look for it. I've tried -with-expat=builtin, --with-expat=/usr/lib64 -with-expat-lib=/usr/lib64 but none of them seems to do the trick. Has anyone encountered a similar error? I'd appreciate any pointers. Thanks!

Salman

________________________________

CONFIDENTIALITY AND SECURITY NOTICE

The contents of this message and any attachments may be confidential and proprietary and also may be covered by the Electronic Communications Privacy Act. This message is not intended to be used by, and should not be relied upon in any way, by any third party. If you are not an intended recipient, please inform the sender of the transmission error and delete this message immediately without reading, disseminating, distributing or copying the contents. Citadel makes no assurances that this e-mail and any attachments are free of viruses and other harmful code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20120320/d22f11d7/attachment.html>


More information about the dbus mailing list