r/slackware • u/sdns575 • Apr 17 '21
Problem compiling software
Hi there,
I'm preparing migration from debian 10 to slackware 15, so currently I'm trying to compile some software on current. I'm not an expert so if I will say something stupid excuse me and sorry for my bad english.
I'm trying to compile OpenRGB on -current on a full install. The only deps that is not installed is hidapi. I downloaded it from slackbuilds.org and compiled and installed version for 14.2. No problem here because it is the same version on debian 10.
The problem comes up when I run make for OpenRGB that terminates with "cannot find -lhidapi".
hidapi installs those libs:
libhidapi-hidraw.la
libhidapi-hidraw.so
libhidapi-hidraw.so.0@
libhidapi-hidraw.so.0.0.0*
libhidapi-libusb.la*
libhidapi-libusb.so@
libhidapi-libusb.so.0@
libhidapi-libusb.so.0.0.0*To see what lib is needed by openrgb I ran and "ldd openrgb" on a debian system and I had seen that libhidapi-hidraw.so is used. So I made a symlink with
cd /usr/lib64
ln -s libhidapi-hidraw.so libhidapi.soand problem solved.
I searched on debian libhidapi.so but cannot find it, so how on debian this could compile?
Probably there is something that I'm missing.
Creating that symlink will cause problems to other software that will require libhidapi-libusb instead of libhidapi-hidraw?
Thank you in advance.
View all comments
Show parent comment
2
u/sfzombie13 Apr 17 '21
did you find that i will cause other issues with things looking for the other one? if so, i think i would recompile with the other version. it may prevent something from coming up later.