[OE-core] ?Regression? Removed linker symbolic link

Ricardo Ribalda Delgado ricardo.ribalda at gmail.com
Mon Sep 22 12:14:05 UTC 2014


Hello

On my distribution I have a couple of binary packages (java and fglrx)
that expect the dynamic linker on /lib64/ld-linux-x86-64.so.2

Therefore I have added a dummy package that justs creates a link on
/lib/ld-linux-x86-64.so.2 and make both packages depend on this.

This was working ok, but since I updated to  poky 1.6.1 this has
stopped working :( The link seems to be removed from my rootfs.

It is removed when the function _run_ldconfig on rootfs.py is executed.

After some debugging I found that the cause  is this patch:


Date:   Mon May 5 10:30:33 2014 +0800

    ldconfig-native: also default to lib32 and lib64 directories

    make ldconfig default to /lib+/usr/lib, /lib32+/usr/lib32 and
    /lib64+/usr/lib64 on bi-ABI architectures.

    (From OE-Core rev: c90bb98d4ac14562ef4882691daed3aaa9d08504)

    (From OE-Core rev: 44202d78102fa58ba99040a79d5a61c44033f57d)

    Signed-off-by: Ming Liu <ming.liu at windriver.com>
    Signed-off-by: Saul Wold <sgw at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

Is there something I can do to avoid the removal of this file?
Any other better method to do this?

Thanks and best regards!



-- 
Ricardo Ribalda



More information about the Openembedded-core mailing list