[Top][All Lists]

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

RE: Libool picking the wrong library for dbus

From: Sandeep Puddupakkam (spuddupa)
Subject: RE: Libool picking the wrong library for dbus
Date: Wed, 16 Jul 2008 13:35:58 -0700

Your suggestion worked. Since we build libdbus, I modified the libdbus
build to set libdir=/nobackup/spuddupa/nova/linkfarm/ppc/usr/lib in the file.
Compiling upstart now works fine.
One question though.
Are *.la file only used for linking by libtool?
Since all the files in /nobackup/spuddupa/nova/linkfarm/ppc/* are copied
to the target hardware into the root directory.
The file on the target hardware (/usr/lib/
would still have the


-----Original Message-----
From: Peter O'Gorman [mailto:address@hidden 
Sent: Wednesday, July 16, 2008 7:53 AM
To: Sandeep Puddupakkam (spuddupa)
Cc: address@hidden
Subject: Re: Libool picking the wrong library for dbus

Sandeep Puddupakkam (spuddupa) wrote:
> *** Reposting with zipped (winzip) logfile***
> Hi,
> I am trying to cross-compile upstart for ppc.
> Upstart requires libdbus-1 which I compiled for ppc and it is located
> the directory
> /nobackup/spuddupa/nova/linkfarm/ppc/usr/lib

Thanks for posting the log file.
/nobackup/spuddupa/nova/linkfarm/ppc/usr/lib/ contains:


So libtool goes and looks in libdir for

libtool does not do well building to a sysroot like this. You could
modify all the .la files in the root so that they contain the actual
location of the libraries in libdir.

Peter O'Gorman

reply via email to

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