2019-12-21 06:22 AM
Installing STM32CubeMx on OpenSuse Tumbleweed using
/st-stm32cubeide_1.1.0_4551_20191014_1140_amd64.rpm_bundle.s
is missing libusbx
sudo ./st-stm32cubeide_1.1.0_4551_20191014_1140_amd64.rpm_bundle.sh
[sudo] Passwort für root:
Creating directory st-stm32cubeide_1.1.0_4551_20191014_1140_amd64.rpm_bundle.sh.root
Verifying archive integrity... All good.
Uncompressing STM32CubeIDE installer 100%
Verifying... ################################# [100%]
Preparing... ################################# [100%]
package segger-jlink-udev-rules-6.44c-4.noarch is already installed
error: Failed dependencies:
libusbx >= 1.0 is needed by st-stlink-server-1.2.0-3.amd64
Verifying... ################################# [100%]
Preparing... ################################# [100%]
package st-stlink-udev-rules-1.0.2-2.noarch is already installed
error: Failed dependencies:
st-stlink-server is needed by st-stm32cubeide_1.1.0-1.1.0-4551_20191014_1140.x86_64
libusbx is not available for OpenSuse. On https://sourceforge.net/projects/libusbx/
SourceForge: libusbx is OBSOLETE and has been superseded by http://libusb.info
What can I do?
2020-02-15 11:55 AM
I am trying to install STM32 software on openSUSE Leap 15.1 and previously on 15.0
Same problem with STMCubeIDE
I tried to install libusbx from the link above. The source code will ./configure & make but during make install it has no permission to remove the native library
cannot remove '/usr/local/lib64/libusb-1.0.so.0.1.0': Permission denied
Well I could manually but it will mess up other software which installed correctly.
2020-02-15 12:06 PM
Normally I would expect to be able to edit the .sh file as a shell script and perhaps remove the dependency.
Unfortunately the .sh file is not a shell script as it should be, it is something I cannot open, modify or correct.
2020-02-15 01:34 PM
Thank you anyway for trying to help.
Unfortunately nobody at ST takes care of this problem.
2020-03-14 01:34 PM
@hj I use OpenSUSE leap 15.1 and had the exact same problem as you with the rpm bundle.
error: Failed dependencies:
libusbx >= 1.0 is needed by st-stlink-server-1.2.0-3.amd64
I used STM32CubeIDE Generic Linux Installer instead and it worked without any problems.
2020-09-06 09:47 AM
I try to install STM32CubeIDE 1.4.0
Unfortunately,
libusbx is no more maintained. Waiting ST for upgrade st-link server
2021-05-04 02:42 AM
A year has passed, still the same problem. Is there any workaround to install STM32CubeIDE on openSUSE?
2021-07-08 04:15 AM
I gave up with Linux. But still interested !
2023-01-31 06:19 PM
It's been 3 years and still no solution? I might be making a move to a different vendor if this keeps up.
We have transitioned away from Windows 100% now, so while we do have 2 ubuntu based machines, without proper RPM support my developers will walk away from our Cortex based projects.
Can someone from ST please tell us why its so hard to change to libusbx depend?
I also had to change a lot of the install shell code to ignore the $licence section because there was no way to accept on Xterm or Terminology.
2023-02-02 02:19 AM
Should I take the time and try it again?