Hi Joshua, Am Freitag, den 17.09.2010, 12:25 -0800 schrieb Joshua J. Kugler: > On Friday 17 September 2010, Marcus Priesch elucidated thus: > > > > there is a new version which fixes this - are you sure you are > > > > using the latest ?!?! > > > > > > I'm using 0.1.4. > > > > ok, that sound fine - could you provide the error (message) you got - > > and what you did to make it work in the end ... > > What I got: > > >>> ctypes.cdll.LoadLibrary ("libowcapi.so") > Traceback (most recent call last): > File "<input>", line 1, in <module> > File "/usr/lib/python2.6/ctypes/__init__.py", line 431, in LoadLibrary > return self._dlltype(name) > File "/usr/lib/python2.6/ctypes/__init__.py", line 353, in __init__ > self._handle = _dlopen(self._name, mode) > OSError: libowcapi.so: cannot open shared object file: No such file or > directory > > Which is the same call you make in your module. > > To get it working, either works: > > copy /usr/local/lib/libow* to /usr/lib, and re-run ldconfig > > or symlink libowcapi.so into /usr/lib and re-run ldconfig >
when installing in /usr/local you should use export LD_LIBRARY_PATH=/usr/local/lib in your shell (assuming bash in the example above) then it should work without symlinking ... i think the output of "make install" tells this also ... ;) > Then the ctypes LoadLibrary call will work. > > > > It is odd, and even more odd that OWFS's ow module is picking up > > > the type, and pyowfs is not. Strange. > > > > then, can you provide the output of > > > > list (s.iter_entries()) > > > > of the specifiy sensors ... > > Not today...I had to give the equipment back, but should be able to > early next week. ok, no problem ... regards, m. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers