Closed okyeron closed 3 years ago
I assume joyosc
and lsjs
are installed to /usr/local/bin
?
Yes indeed:
pi@raspberrypi:~/joyosc $ ls -la /usr/local/bin
total 23952
drwxr-xr-x 3 root root 4096 Aug 18 12:16 .
drwxr-xr-x 12 root root 4096 Aug 16 19:21 ..
-rwxr-xr-x 1 root root 5313092 Aug 18 12:16 joyosc
-rwxr-xr-x 1 root root 233160 Aug 18 12:16 lsjs
Did you run configure with --prefix=/usr/local
?
It might be related to this SO post where ldconfig
is not being run for some reason.
Same here.
It seems you need to run sudo ldconfig
on your system to add the installed helper libraries in /usr/local/lib
to the lib cache. If that works, I can add the info to the readme. I don't think this step should be done automatically by make install as not all systems may require it.
sudo ldconfig
Yes - That worked!
Now as expected:
pi@raspberrypi:~/joyosc/src/joyosc $ joyosc -e
listening port: 7770
listening multicast group: none
listening addr: /joyosc
sending ip: 127.0.0.1
sending port: 8880
sending address for notifications: /joyosc/notifications
sending address for devices: /joyosc/devices
print events?: yes
joysticks only?: no
sleep us: 10000
device addresses: 0
Ok thanks. I updated the readme.
Note: This should no monger be a problem with joyosc 0.5.0+ as the tinyobject and lopack helper libraries are no longer used.
Device: Raspberry Pi 4 w/ 5.4.79-v7l+ (desktop)
With a fresh install - when I try to run joyosc, I get a shared libraries error for
liblopack.so.0
. However, if I run it from the binary injoyosc/src/joyosc
it works.liblopack.so.0
exists at/usr/local/lib/
Is this a build error somewhere?