error : OSError: libdns_sd.so.1: cannot open shared object file: No such file or directory

262 views
Skip to first unread message

Gerald Fuchs

unread,
Jun 17, 2014, 3:20:03 PM6/17/14
to pybo...@googlegroups.com
Hi,

I installed pybonjour on a raspberry and try to run the the attached code. 
when it try to import pybonjour I get the below error.
I assume, that is try to load the library "libdns_sd.so.1" which is not there. 

Does it try to load the right lib? if yes, how do I get it onto the Rasperry Pi?


-----------------------------

pi@raspair ~/bonj $ python resolve.py _test._tcp

Traceback (most recent call last):

  File "resolve.py", line 3, in <module>

    import pybonjour

  File "/home/pi/bonj/pybonjour.py", line 109, in <module>

    _libdnssd = ctypes.cdll.LoadLibrary(_libdnssd)

  File "/usr/lib/python2.7/ctypes/__init__.py", line 443, in LoadLibrary

    return self._dlltype(name)

  File "/usr/lib/python2.7/ctypes/__init__.py", line 365, in __init__

    self._handle = _dlopen(self._name, mode)

OSError: libdns_sd.so.1: cannot open shared object file: No such file or directory

resolve.py
Reply all
Reply to author
Forward
0 new messages