libusbx >= 1.0 is needed by st-stlink-server-2.0.2-1.x86_64

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

libusbx >= 1.0 is needed by st-stlink-server-2.0.2-1.x86_64

Postby DiBosco » Apr 22nd, '21, 13:27

Folks,

Am trying to install ST Cube on my Mageia 7 machine. I get the error:

Code: Select all
error: Failed dependencies:
        libusbx >= 1.0 is needed by st-stlink-server-2.0.2-1.x86_64


Googling around it looks like libusbx is just libusb now. I tried putting in a symbolic lin in /usr/lib and /usr/lib64 as follows:

Code: Select all
ln -s libusb-1.0.so libusbx-1.0.so


However, that doesn't help.

Is anyone able to help me sort this please?
DiBosco
 
Posts: 323
Joined: Aug 31st, '11, 10:22

Re: libusbx >= 1.0 is needed by st-stlink-server-2.0.2-1.x86

Postby doktor5000 » Apr 22nd, '21, 16:44

That symlink is irrelevant to rpm - that package expects something to provide the facility libusbx >= 1.0. As nothing provides this facility, you have to install that package with urpmi --allow-nodeps and care manually about installing the necessary dependencies that are skipped that way.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: libusbx >= 1.0 is needed by st-stlink-server-2.0.2-1.x86

Postby DiBosco » Apr 22nd, '21, 19:47

doktor5000 wrote:That symlink is irrelevant to rpm - that package expects something to provide the facility libusbx >= 1.0. As nothing provides this facility, you have to install that package with urpmi --allow-nodeps and care manually about installing the necessary dependencies that are skipped that way.


OK, understood, thanks.

So, as that rpm is not in our repositories, the only possibility is to compile linusbx from source?
DiBosco
 
Posts: 323
Joined: Aug 31st, '11, 10:22

Re: libusbx >= 1.0 is needed by st-stlink-server-2.0.2-1.x86

Postby doktor5000 » Apr 22nd, '21, 22:48

DiBosco wrote:the only possibility is to compile linusbx from source?

No. libusbx is obsoleted by libusb. Did you actually try to install your st-stlink-server with urpmi --allow-nodeps and what was the result, and does it start?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron