How to install libusb-0.1.so.4. onto Yocto fsl-image-qt5 sysroot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to install libusb-0.1.so.4. onto Yocto fsl-image-qt5 sysroot

Jump to solution
6,068 Views
hjpark71
Contributor III

Hi Guys,

I'm running Yocto fsl-image-qt5 on I.MAX6UL board and need libusb-0.1.so.4.

Please let me know how to install  libusb-0.1.so.4 on Yocto fsl-image-qt5 sysroot..

thanks a lot.

Best Regards,

HJ

Labels (1)
Tags (3)
1 Solution
3,712 Views
Yuri
NXP Employee
NXP Employee

Hello,

  If this package (libusb) is not present in the conf/local.conf file - it will not be included in rootfs.

So, please use standard procedure to include a package :

i.MX Yocto Project: How do I add an existing package to an image?

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

4 Replies
3,713 Views
Yuri
NXP Employee
NXP Employee

Hello,

  If this package (libusb) is not present in the conf/local.conf file - it will not be included in rootfs.

So, please use standard procedure to include a package :

i.MX Yocto Project: How do I add an existing package to an image?

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

3,711 Views
hjpark71
Contributor III

Hi Yuri,

I found the right name of image. it is "libusb-compat".

the one of difficulty is to find the right name of image to install some libs what I want.

3,711 Views
hjpark71
Contributor III

Hi Yuri,

Many thanks for your answer..

I added libusb-0.1-4 on the conf/local.conf and run "bitbate fsl-image-qt5". but, it says "ERROR: Nothing RPROVIDES 'libusb-0.1-4' " like below

<'libusb-0.1-4'>

ERROR: Nothing RPROVIDES 'libusb-0.1-4' (but /home/hj/var-dart-6ul-yocto-fido-52/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-qt5.bb RDEPENDS on or otherwise requires it)

NOTE: Runtime target 'libusb-0.1-4' is unbuildable, removing...

Missing or unbuildable dependency chain was: ['libusb-0.1-4']

ERROR: Required build target 'fsl-image-qt5' has no buildable providers.

Missing or unbuildable dependency chain was: ['fsl-image-qt5', 'libusb-0.1-4']



and, I added libusb on the conf/local.conf and run "bitbate fsl-image-qt5". but, it says "ERROR: Nothing RPROVIDES 'libusb' " like below

<'libusb'>

ERROR: Nothing RPROVIDES 'libusb' (but /home/hj/var-dart-6ul-yocto-fido-52/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-qt5.bb RDEPENDS on or otherwise requires it)

NOTE: Runtime target 'libusb' is unbuildable, removing...

Missing or unbuildable dependency chain was: ['libusb']

ERROR: Required build target 'fsl-image-qt5' has no buildable providers.

Missing or unbuildable dependency chain was: ['fsl-image-qt5', 'libusb']



form this words

"Missing or unbuildable dependency chain was"

I need to put buildable chain but I don't know what's the right name of libusb-0.1-4 for Yocto

How can I know the buildable chains of libs for Yocto?

0 Kudos
Reply
3,711 Views
Yuri
NXP Employee
NXP Employee

Hello,

please try using name of package just "libusb".

Regards,

Yuri.

0 Kudos
Reply