From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: sonu vishwakarma <vishwasonu2000@gmail.com>
Cc: poky@yoctoproject.org
Subject: Re: /usr/lib/libz.so: could not read symbols: File in wrong format
Date: Thu, 01 Mar 2012 11:43:09 +0000 [thread overview]
Message-ID: <1330602189.31767.1.camel@ted> (raw)
In-Reply-To: <CABRtByPEMS04d0bSC1NgXSQf-HCnTduYGkNS5Y+a1GCX6T86rQ@mail.gmail.com>
On Thu, 2012-03-01 at 16:06 +0530, sonu vishwakarma wrote:
> Hi ,
>
>
> I am building poky working on bernard branch on Ubuntu 10.10 ,64 bit
> host.
> I get the error in do_compile in xbmc-10.1 something like this :
>
>
> ***************************************
> | /usr/lib/libz.so: could not read symbols: File in wrong format
> | collect2: ld returned 1 exit status
> | make[4]: *** [libid3tag.la] Error 1
> | make[4]: Leaving directory
> `/home/poky_xbmc_01Dec2011/build/tmp/work/atom-poky-linux/xbmc-10.1-r0/confluence-10.1/xbmc/lib/libid3tag/libid3tag'
> | make[3]: *** [all-recursive] Error 1
> | make[3]: Leaving directory
> `/home/poky_xbmc_01Dec2011/build/tmp/work/atom-poky-linux/xbmc-10.1-r0/confluence-10.1/xbmc/lib/libid3tag/libid3tag'
> | make[2]: *** [all] Error 2
> | make[2]: Leaving directory
> `/home/poky_xbmc_01Dec2011/build/tmp/work/atom-poky-linux/xbmc-10.1-r0/confluence-10.1/xbmc/lib/libid3tag/libid3tag'
> | make[1]: *** [libid3tag/.libs/libid3tag.so] Error 2
> | make[1]: Leaving directory
> `/home/poky_xbmc_01Dec2011/build/tmp/work/atom-poky-linux/xbmc-10.1-r0/confluence-10.1/xbmc/lib/libid3tag'
> | make: *** [libid3tag] Error 2
> | FATAL: oe_runmake failed
> | ERROR: Function 'do_compile' failed
> **************************************
>
>
> When i tried this build on 32bit host it worked fine , so is there any
> option to enable this for 64bit host.
> I'm attaching the error log for reference.
It should be referencing the libz in the sysroot, not the one from the
host system. This probably means its using the wrong linker (ld). You
need to ensure it uses the correct linker (the cross one from the
sysroot, not /usr/bin/ld).
Cheers,
Richard
prev parent reply other threads:[~2012-03-01 11:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-01 10:36 /usr/lib/libz.so: could not read symbols: File in wrong format sonu vishwakarma
2012-03-01 11:43 ` Richard Purdie [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1330602189.31767.1.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=poky@yoctoproject.org \
--cc=vishwasonu2000@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.