Re: Can't add shared libraries into final image
Py Mordret
Thanks Nicolas
You're right. Now if you don't know ...
toggle quoted message
Show quoted text
You're right. Now if you don't know ...
-----Original Message-----
From: Nicolas Dechesne [mailto:nicolas.dechesne@...]
Sent: mardi 1 juillet 2014 17:47
To: Pierre Yves MORDRET
Cc: yocto@...
Subject: Re: [yocto] Can't add shared libraries into final image
On Tue, Jul 1, 2014 at 5:24 PM, Pierre Yves MORDRET <pierre-
yves.mordret@...> wrote:I'm in front of an issue that I really don't understand. I wrote a quite simplerecipe to integrate an RPM package.At the end of compilation/install/packaging/rootfs, I saw my sharedlibraries were not part of the final image.I understood quickly after checking FILES_${PN}-dev. Since my sharedlibraries are .so (and not .so.X) , all of them fall into -dev package.sure this would solve my issue, but don't .
Thus I naively add FILES_${PN} + =" ${libdir}/lib*.so " into my recipe ... I wasInstead my shared libraries still remain in -dev package.The -dev package is processed first during the packaging, so even though you
Does anyone can't tell me why ? or point me out my mistake ?
try to add the .so in the main package, the files will be packaged in -dev first.
you need to make sure that the .so are not pulled into the -dev package:
FILES_SOLIBSDEV = ""
FILES_${PN} += "${libdir}/*.so"