[Pkg-qof-maintainers] Bug#614592: Referencing -L/usr/lib/ -lqofsql when cross-building

Neil Williams codehelp at debian.org
Tue Feb 22 13:56:17 UTC 2011


Package: qof
Version: 0.8.2
Severity: minor


libtool: relink: arm-linux-gnueabi-gcc -shared  .libs/qoflog.o .libs/guid.o
.libs/kvpframe.o .libs/kvputil.o .libs/md5.o .libs/qofnumeric.o
.libs/qofbackend.o .libs/qofclass.o .libs/qofchoice.o .libs/qoferror.o
.libs/qofevent.o .libs/qofgobj.o .libs/qofid.o .libs/qofinstance.o
.libs/qofquery.o .libs/qofbook.o .libs/qofobject.o .libs/qofquerycore.o
.libs/qofreference.o .libs/qofsession.o .libs/qofsql.o .libs/qofutil.o
.libs/qofbookmerge.o .libs/qofdate.o .libs/qoftime.o .libs/qofstrftime.o
.libs/qofstrptime.o .libs/qofundo.o   -Wl,-rpath
-Wl,/usr/arm-linux-gnueabi/lib -L/home/qof/qof-0.8.2/lib/libsql
-L/home/qof/qof-0.8.2/debian/tmp//usr/lib -L/usr/lib -lqofsql
-L/usr/arm-linux-gnueabi/lib
-L/home/qof/qof-0.8.2/debian/tmp//usr/arm-linux-gnueabi/lib -lgmodule-2.0
-lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lm
 -Wl,--version-script=./libqof.ver -Wl,--export-dynamic -pthread -pthread
-pthread -Wl,-soname -Wl,libqof.so.2 -o .libs/libqof.so.2.0.1
/usr/lib/librt.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
libtool: install: error: relink `libqof.la' with the above command before
installing it
make[4]: *** [install-libLTLIBRARIES] Error 1

-L/usr/lib -lqofsql

That's an internal, libtool, issue - it should be referencing
-L/home/qof/qof-0.8.2/lib/libsql
or wherever.

This was part of a test without libglib2.0-dev installed, only the
-armel-cross.

See also bug in dpkg about missing definition of PKG_CONFIG_LIBDIR

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored:
LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 

Neil Williams
=============
http://www.linux.codehelp.co.uk/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-qof-maintainers/attachments/20110222/bd4af6b4/attachment.htm>


More information about the Pkg-qof-maintainers mailing list