[yocto] libtool can't read a la files

Darren Hart dvhart at linux.intel.com
Thu Nov 3 06:28:19 PDT 2011


Hi Mike,

On 11/03/2011 02:50 AM, Mike Tsukerman wrote:
> Hello, I've build core-image-minimal-dev (it does not metter for what
> architecture, the same bugs appears in arm and i586) image and faced a
> problem. When i'm trying to build something from tarball, i get a
> libtool errors. It's not only for libz and not every time happens. What
> is going wrong?
> But all .la files exists.

When you run the bitbake command, there is a block of "OE Build
Configuration" which lists the version, the machine, and the layer
revisions being used to build the system. Please provide this
information when reporting a bug. It also helps to know which
distribution you are building on. If you've made any changes to your
local.conf or bblayers.conf to modify the way the image is being built,
please include that as well.

> 
> libtool: link: (cd ".libs" && rm -f "librpmbuild.so.2" && ln -s
> "librpmbuild.so.2.0.1" "librpmbuild.so.2")
> libtool: link: (cd ".libs" && rm -f "librpmbuild.so" && ln -s
> "librpmbuild.so.2.0.1" "librpmbuild.so")
> /bin/sed: can't read =/usr/lib/libz.la <http://libz.la>: No such file or
> directory
> libtool: link: `=/usr/lib/libz.la <http://libz.la>' is not a valid
> libtool archive
> make[2]: *** [librpmbuild.la <http://librpmbuild.la>] Error 1
> make[2]: Leaving directory `/home/root/rpm-4.9.1.2/build'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/root/rpm-4.9.1.2'
> make: *** [all] Error 2
> 
> 
-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel



More information about the yocto mailing list