[OE-core] [PATCH] libxml2: add shared library version info to libxml shared libraries

McClintock Matthew-B29882 B29882 at freescale.com
Tue Jan 3 16:21:16 UTC 2012


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.

>> Acked-by: Martin Jansa <Martin.Jansa at gmail.com>
>
> but also double check if all recipes depending on it needs PR bump too,
> I've expected that it's needed only for transition from versioned to not
> versioned symbols, but according to:
> http://git.openembedded.org/openembedded/commit/?id=4373bc4d0cde98dfa188d9a06266afa06f970bfe
> http://git.openembedded.org/openembedded/commit/?id=7e673ab79c7d76ffc2b733fb32d0b41514eb0db0
> it was needed also other way around

Because of the reason above, I don't think we need to bump PR's for
all these recipes. People just should not normally be seeing this
issue. If they are well, then they won't be able to make an RPM based
rfs (maybe others)

Let me know if that seems reasonable...

-M




More information about the Openembedded-core mailing list