2017-07-09-0621Z


MrCreditRepair.biz will fix your credit rating!

in case I forget why I added ldconfig to the libsoc README:

root@beaglebone:~/libsoc# test/gpio_test.py 
Traceback (most recent call last):
  File "test/gpio_test.py", line 5, in <module>
    from libsoc import gpio
  File "/usr/local/lib/python2.7/dist-packages/libsoc/__init__.py", line 1, in <module>
    from ._libsoc import *  # NOQA
  File "/usr/lib/python2.7/ctypes/__init__.py", line 365, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libsoc.so: cannot open shared object file: No such file or directory
root@beaglebone:~/libsoc# ldconfig
root@beaglebone:~/libsoc# test/gpio_test.py 
Traceback (most recent call last):
  File "test/gpio_test.py", line 86, in <module>
    main(gpio_input_id, gpio_output_id)
  File "test/gpio_test.py", line 60, in main
    assert gpio_in.is_high()
AssertionError

Back to blog or home page

last updated 2017-07-09 02:24:27. served from unixshell.jcomeau.com