From: Gary Thomas <gary@mlbassoc.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: modphp
Date: Fri, 07 Dec 2012 13:28:46 -0700 [thread overview]
Message-ID: <50C2517E.5060903@mlbassoc.com> (raw)
In-Reply-To: <50C23C92.4020101@mlbassoc.com>
On 2012-12-07 11:59, Gary Thomas wrote:
> On 2012-12-07 11:15, Eric Bénard wrote:
>> Hi,
>>
>> Le Fri, 07 Dec 2012 10:35:52 -0700,
>> Gary Thomas <gary@mlbassoc.com> a écrit :
>>
>>> I just tried to build modphp_5.3.19.bb for my ARM target.
>>>
>>> It seems that the make is using the wrong tools (or libraries),
>>> as it fails with this error:
>>> | /usr/lib/libbz2.so: could not read symbols: File in wrong format
>>> | collect2: error: ld returned 1 exit status
>>> | make: *** [libphp5.la] Error 1
>>>
>>> Any ideas how to make this work? Has it ever been built/tested
>>> for a cross target? I can see that the cross paths for libz and libbz2
>>> are being passed to the configure step, but they don't seem to be reflected
>>> in the actual link step when making the modphp.so library.
>>>
>> it was build and run tested here on an ARM target before sending the
>> patches.
>
> So why did it not work for me? What can I do to diagnose this?
I found that there was a libbz2.la installed in the sysroot/usr/lib
This is what was causing the problem. I deleted it manually and reran
the build and now the modphp package builds.
I'll continue to look to see how that libbz2.la file got there..
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
prev parent reply other threads:[~2012-12-07 20:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-07 17:35 modphp Gary Thomas
2012-12-07 18:15 ` modphp Eric Bénard
2012-12-07 18:59 ` modphp Gary Thomas
2012-12-07 20:28 ` Gary Thomas [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=50C2517E.5060903@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=openembedded-devel@lists.openembedded.org \
/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.