[OE-core] [PATCH] libxml2: add shared library version info to libxml shared libraries
McClintock Matthew-B29882
B29882 at freescale.com
Tue Jan 3 20:41:33 UTC 2012
On Tue, Jan 3, 2012 at 11:31 AM, Martin Jansa <martin.jansa at gmail.com> wrote:
> On Tue, Jan 03, 2012 at 04:21:16PM +0000, McClintock Matthew-B29882 wrote:
>> On Mon, Jan 2, 2012 at 5:25 PM, Martin Jansa <martin.jansa at gmail.com> wrote:
>> > On Tue, Jan 03, 2012 at 12:22:28AM +0100, Martin Jansa wrote:
>> >> On Mon, Jan 02, 2012 at 04:05:16PM -0600, Matthew McClintock wrote:
>> >> > This fixes an issue with RPM where it checks version imformation for
>> >> > binaries linked against libxml and fails because it's missing info
>> >> >
>> >> > | error: Failed dependencies:
>> >> > | libxml2.so.2(LIBXML2_2.6.0) is needed by fmc-0.9.7+2-r2.1.ppce500mc
>> >> > | libxml2.so.2(LIBXML2_2.4.30) is needed by fmc-0.9.7+2-r2.1.ppce500mc
>> >> > | ERROR: Function 'do_rootfs' failed (see
>> >> >
>> >> > Note: fmc is just an example recipe/name
>> >>
>> >> Weird that I haven't noticed this in oe-core before, but probably
>> >> because in oe-core it was always without version. But it looks the same
>> >> as this
>> >> http://git.openembedded.org/openembedded/commit/?id=50ed401cdaaefb1f5ac33de2838af259a52b1c3a
>> >> so
>>
>> You won't see this when building against oe-core stuff from source.
>> This issue is seen when we bring in a prebuilt binary and link against
>> libxml2 in the system.
>
> what about all binaries built before this change which are already
> available in binary feed created with OE?
If you are building from source within oe-core everything is going to
link against the version built by oe-core. I see this issue when I
bring in some prebuilt binary and it's actually linked against an
older version of libxml2.
-M
More information about the Openembedded-core
mailing list