Does Ubuntu Core "snappy" 16.04 LTS support libusb-1.0 (ver1.0.9)? if yes how can it be installed in snappy?

Asked by Edwin

 I have applications running in Ubuntu 16 Desktop using libusb-1.0. I want to run such applications in Ubuntu Core 16.04 but Ubuntu Core has older libusb-0.1.

Does Ubuntu Core 16.04 LTS support libusb-1.0 ? if yes how I can install it ?

Thanks,

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug to get the package upgraded. Maybe others can advise

Revision history for this message
Edwin (ed88) said :
#2

In the Snappy Bug section. I was advised to somehow bundle Library to snap. Sorry I am not familiar with snaps..
I have been trying to use snapcraft but not clear how to add the library into snap.
I am using a Ubuntu 16.04 Desktop to create the snap.. and target is a Ubuntu Snappy 16.04 LTS
Any ideas welcome ?

--
name: name
version: 2017.01
summary: tool
description: |
   download tool
grade: devel
confinement: devmode # to change to strict when ready
apps:
  fwdownload:
    command: bin/download
parts:
  fwdownload:
    source: src/
    plugin: cmake
    build-packages: --> Is this to check build host has libusb-1.0 ?
         - libusb-1.0
    stage-packages: --> Is this to bundle library to snap - will run into target device?
         - libusb-1.0

Thanks

Revision history for this message
Edwin (ed88) said :
#3

for got to mention using this snapcraft.yaml. - snapcraft reports

the Ubuntu package libusb-1.0 was not found

any ideas welcome ?

Thanks

Revision history for this message
michael (yellupcm-gmail) said :
#4
Revision history for this message
Edwin (ed88) said :
#5

I am still stuck not able to bundle libusb-1.0 into application. snapfract does not recognize the library although it has been installed. I have followed steps from : https://tutorials.ubuntu.com/tutorial/create-first-snap#0

If anyone has any input how to bundle a libusb-1.0 using snapcraft please advise.
or an example how to include a library into snap....

Thanks,

Revision history for this message
Launchpad Janitor (janitor) said :
#6

This question was expired because it remained in the 'Open' state without activity for the last 15 days.