[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tries to link to 32-bit libs on 64-bit build

From: Peter O'Gorman
Subject: Re: tries to link to 32-bit libs on 64-bit build
Date: Wed, 7 Feb 2007 00:09:40 +0900

On Feb 6, 2007, at 11:38 PM, Paul Raines wrote:

I am trying to build libgnomedb from RPM on a 64-bit box. It dies as follows:

/bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -m64 -o libgnomedb-2.la -rpath /usr/lib64 -version-info 4:0:0 db-shell.lo sql-viewer.lo table-properties-dialog.lo tables-page.lo utils.lo gnome-db-combo.lo gnome-db-connection-properties.lo gnome-db- connection-selector.lo gnome-db-dsn-config.lo gnome-db-error.lo gnome-db-error-dialog.lo gnome-db-form.lo gnome-db-gray-bar.lo gnome-db-grid.lo gnome-db-find-dialog.lo gnome-db-init.lo gnome-db- list.lo gnome-db-model.lo gnome-db-provider-selector.lo gnome-db- query-builder.lo gnome-db-report-editor.lo gnome-db-stock.lo gnome- db-table-editor.lo gnome-db-util.lo gnome-db-browser.lo gnome-db- browser-procedures.lo gnome-db-browser-tables.lo gnome-db-browser- types.lo gnome-db-browser-views.lo gnome-db-config.lo gnome-db- control.lo gnome-db-control-widget.lo gnome-db-data-source- selector.lo gnome-db-dsn-config-druid.lo gnome-db-editor.lo gnome- db-icon-list.lo gnome-db-login.lo gnome-db-login-dialog.lo gnome-db- window.lo -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 - latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 - lgobject-2.0 -lgmodule-2.0 -ldl -lgda-2 -lglib-2.0 -lxslt -lxml2 - lpthread -lz -lm -Wl,--export-dynamic -lglade-2.0 -lgtk-x11-2.0 - lxml2 -lpthread -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm - lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 - ldl -lglib-2.0 -Wl,--export-dynamic -pthread -L/usr/X11R6/lib64 - lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lpthread -lz - lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk- x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 - lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lbonobo-2 -lgconf-2 - lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -ldl - lgthread-2.0 -lglib-2.0 gcc -shared .libs/db-shell.o .libs/sql-viewer.o .libs/table- properties-dialog.o .libs/tables-page.o .libs/utils.o .libs/gnome- db-combo.o .libs/gnome-db-connection-properties.o .libs/gnome-db- connection-selector.o .libs/gnome-db-dsn-config.o .libs/gnome-db- error.o .libs/gnome-db-error-dialog.o .libs/gnome-db-form.o .libs/ gnome-db-gray-bar.o .libs/gnome-db-grid.o .libs/gnome-db-find- dialog.o .libs/gnome-db-init.o .libs/gnome-db-list.o .libs/gnome-db- model.o .libs/gnome-db-provider-selector.o .libs/gnome-db-query- builder.o .libs/gnome-db-report-editor.o .libs/gnome-db- stock.o .libs/gnome-db-table-editor.o .libs/gnome-db-util.o .libs/ gnome-db-browser.o .libs/gnome-db-browser-procedures.o .libs/gnome- db-browser-tables.o .libs/gnome-db-browser-types.o .libs/gnome-db- browser-views.o .libs/gnome-db-config.o .libs/gnome-db- control.o .libs/gnome-db-control-widget.o .libs/gnome-db-data- source-selector.o .libs/gnome-db-dsn-config-druid.o .libs/gnome-db- editor.o .libs/gnome-db-icon-list.o .libs/gnome-db-login.o .libs/ gnome-db-login-dialog.o .libs/gnome-db-window.o -lgda-2 -lxslt - lglade-2.0 -pthread -L/usr/X11R6/lib64 -lgnomeui-2 -lSM -lICE - lbonoboui-2 -lxml2 -lpthread -lz -lgnomecanvas-2 -lgnome-2 /usr/lib/ libpopt.so -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 - latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 - lgobject-2.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation - lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -m64 - Wl,--export-dynamic -Wl,--export-dynamic -Wl,--export-dynamic -Wl,- soname -Wl,libgnomedb-2.so.4 -o .libs/libgnomedb-2.so.4.0.0
/usr/lib/libpopt.so: could not read symbols: File in wrong format

Why despite the fact that there is -rpath /usr/lib64 there and there is
a perfectly valid /usr/lib64/libpopt.o is libtool resolving to use

Please reconfirm this bug using a snapshot of libtool, see http:// www.gnu.org/software/libtool for a link to the snapshots. You will have to relibtoolize the source to test. You should also probably complain to whoever provided you with the rpm.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]