I'm having trouble installing the libphidget22. It's not my first time install this lib on the Linux machine. However, it's my first time install on a Debian Jessie machine which doesn't have GUI.
I followed the steps here: https://www.phidgets.com/docs/OS_-_Linu ... _Downloads
I always had the problem finding the libraries for general installing. So, I tried Specify a different install folder during compile, the command ran successfully but the program still can't find the module. I tried to add /usr/local/lib to the system-wide library path, but I kept getting permission denied even though I ran as root. Here's the assertion
Code: Select all
administrator@CPR-J100-0048:~$ sudo echo /usr/local/lib >> /etc/ld.so.conf && sudo ldfconfig
-bash: /etc/ld.so.conf: Permission denied
Code: Select all
sudo cho 'deb http://www.phidgets.com/debian jessie main' > /etc/apt/sources.list.d/phidgets.list
-bash: /etc/apt/sources.list.d/phidgets.list: Permission denied