UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Explorer
Explorer
1,707 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