cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
1,730 Views
Registered: ‎10-08-2016

Missing Links in Petalinux 2016.4

My build system under Petalinux 2015.4 included a "libs" module with a Makefile that copied a library file, preserving the links:

 

cp -RP <source-path>/lib*.so* <destdir>

 

With that operation, when I booted my target Zedboard, I could look in /usr/lib and see proper links like:

 

libxxx.so --> libxxx.so.1.2.0

libxxx.so.1.2.0

 

Now, with Petalinux 2016.4 I can't replicate that behavior.  I have the same line in the .bb recipe, and only the versioned file gets copied, not the symlink.  I've worked around this issue by putting in my system startup Bash script a loop to reinstated the links, but that has "kludge" written all over it.

 

What is the "best" way to preserve those links?

0 Kudos
0 Replies