After much head scratching... managed to get it to work - here's the solution
for anyone else trying to solve the same problem in the future:
I needed to created a symbolic link named
/usr/lib/arm-linux-gnueabihf/libowcapi.so
linked to
/usr/lib/arm-linux-gnueabihf/libowcapi-2.8.so.15.0.0
I don't know if this is the right solution, but it seems to work!
I also struggled to work out what is expected in the connection argument in
python.
The following works for devices on i2c bus #1:
root = Connection ("--i2c=/dev/i2c-1:ALL")
Regards,
Kevin
--- On Fri, 16/11/12, kevin <[email protected]> wrote:
> From: kevin <[email protected]>
> Subject: Re: [Owfs-developers] pyowfs on a Raspberry Pi
> To: [email protected]
> Date: Friday, 16 November, 2012, 23:51
> I've found that I do have the
> following...
>
> ./usr/lib/arm-linux-gnueabihf/libowcapi-2.8.so.15
> ./usr/lib/arm-linux-gnueabihf/libowcapi-2.8.so.15.0.0
>
> Kevin
>
>
> --- On Fri, 16/11/12, kevin <[email protected]>
> wrote:
>
> > From: kevin <[email protected]>
> > Subject: [Owfs-developers] pyowfs on a Raspberry Pi
> > To: [email protected]
> > Date: Friday, 16 November, 2012, 22:47
> >
> > I've got owfs working perfectly on my Raspberry Pi
> very
> > easily (on interface /dev/i2c-1:ALL)
> >
> > I now want to use this from Python, and pyowfs looks
> like a
> > good option - however i can't get it to work...
> >
> > Firstly, I've installed package libowcapi-2.8-15
> >
> > Then i've downloaded pyowfs-0.1.5, unzipped it and
> run:
> > python setup.py install
> > Which seemed to work ok.
> >
> > Then, following the examples:
> >
> > >>> from pyowfs import Connection
> > >>> root = Connection ("/dev/i2c-1:ALL")
> >
> > Results in the following error:
> > libowcapi.so: cannot open shared object file
> >
> > I don't know where this file, libowcapi.so is supposed
> to
> > be, if it exists or not.
> >
> > Any suggestions how to get this working?
> >
> > Kevin.
> >
> >
> >
> ------------------------------------------------------------------------------
> > Monitor your physical, virtual and cloud infrastructure
> from
> > a single
> > web console. Get in-depth insight into apps, servers,
> > databases, vmware,
> > SAP, cloud infrastructure, etc. Download 30-day Free
> Trial.
> > Pricing starts from $795 for 25 servers or
> applications!
> > http://p.sf.net/sfu/zoho_dev2dev_nov
> > _______________________________________________
> > Owfs-developers mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> >
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from
> a single
> web console. Get in-depth insight into apps, servers,
> databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers