All of lore.kernel.org
 help / color / mirror / Atom feed
* Symbolic link to ld-linux-armhf.so.3
@ 2017-04-15 18:47 Alvaro Garcia
  2017-04-17  6:47 ` Fabien Lahoudere
  0 siblings, 1 reply; 2+ messages in thread
From: Alvaro Garcia @ 2017-04-15 18:47 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 791 bytes --]

Hi, I made a recipe for hamachi. Hamachi looks for /lib/ld-linux.so.3 but
in my poky build this file is /lib/ld-linux-armhf.so.3.

If I do ln -s /lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3 hamachi runs fine
so the solution its just a symbolic link. My problem is that I cant make
this link from my recipe.

Into my do_install I do: ln -s /lib/ld-linux-armhf.so.3
${D}/lib/ld-linux.so.3
But later it does not exist in the rootfs. But if I do:
ln -sf/lib/ld-linux-armhf.so.3 ${D}/lib/MYPRETTYLIB
then the link "MYPRETTYLIB" is there. Its like "ld-linux.so.3" is forbidden
for some reason.

I read that some guy had this problem and solved it by using a glibc
bbappend but it didnt work for me.

Do I need to do something special to get the "ld-linux.so.3" link?

Thank you

[-- Attachment #2: Type: text/html, Size: 981 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Symbolic link to ld-linux-armhf.so.3
  2017-04-15 18:47 Symbolic link to ld-linux-armhf.so.3 Alvaro Garcia
@ 2017-04-17  6:47 ` Fabien Lahoudere
  0 siblings, 0 replies; 2+ messages in thread
From: Fabien Lahoudere @ 2017-04-17  6:47 UTC (permalink / raw)
  To: yocto

On Sat, 2017-04-15 at 20:47 +0200, Alvaro Garcia wrote:
> Hi, I made a recipe for hamachi. Hamachi looks for /lib/ld-linux.so.3 but in my poky build this
> file is /lib/ld-linux-armhf.so.3.
> 
> If I do ln -s /lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3 hamachi runs fine so the solution its
> just a symbolic link. My problem is that I cant make this link from my recipe.
> 
> Into my do_install I do: ln -s /lib/ld-linux-armhf.so.3 ${D}/lib/ld-linux.so.3
> But later it does not exist in the rootfs. But if I do:
> ln -sf/lib/ld-linux-armhf.so.3 ${D}/lib/MYPRETTYLIB
> then the link "MYPRETTYLIB" is there. Its like "ld-linux.so.3" is forbidden for some reason.
> 
> I read that some guy had this problem and solved it by using a glibc bbappend but it didnt work
> for me.
> 
> Do I need to do something special to get the "ld-linux.so.3" link?
> 

As Khem Raj said in a previous discussion:
"
    that may not be enough. .so are treated as symlinks and shoved into
    -dev packages by default. if you need unversioned libraries then you
    have to let the system know that its not a dev library symlink

    FILES_${PN} += "${libdir}/*.so"
    FILES_SOLIBSDEV = ""
    INSANE_SKIP_${PN} += "dev-so"
"

> Thank you


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-17  6:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-15 18:47 Symbolic link to ld-linux-armhf.so.3 Alvaro Garcia
2017-04-17  6:47 ` Fabien Lahoudere

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.