One possible temporary solution for this would be to add the following to /etc/bash/bashrc
export LD_LIBRARY_PATH=/opt/owfs/lib I found that adding that made owpython work for my gentoo system. George Bobeck On 1/16/06, Peter Kropf <[EMAIL PROTECTED]> wrote: > Hi George! > > I finally got a gentoo system built and ran into the same problem as you. I > think it's because of an error that happened during the build step for the > Python module. > > building '_OW' extension > creating build/temp.linux- i686-2.3 > i386-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -fPIC > -I../../owlib/src/include -I../../../src/include -I/usr/include/python2.3 -c > ow_wrap.c -o build/temp.linux-i686-2.3/ow_wrap.o > i386-pc-linux-gnu-gcc -pthread -shared build/temp.linux- i686-2.3/ow_wrap.o > -L../../owlib/src/c/.libs -R/opt/owfs/lib -low -o > build/lib.linux-i686-2.3/ow/_OW.so > i386-pc-linux-gnu-gcc: unrecognized option `-R/opt/owfs/lib' > > I'm not yet certain on the purpose of the -R option or why it's not > recognized. The python module is built and when make install is run, > everything is installed into the correct directories. But running Python > gives: > > [EMAIL PROTECTED] ~/src/owfs $ python -c "import ow; print ow.__version__" > Traceback (most recent call last): > File "<string>", line 1, in ? > File "/usr/lib/python2.3/site-packages/ow/__init__.py", > line 31, in ? > import _OW > ImportError: libow.so.0: cannot open shared object file: No such file or > directory > > For now, there's a quick workaround in defining LD_LIBRARY_PATH to include > /opt/owfs/lib. > > [EMAIL PROTECTED] ~/src/owfs $ LD_LIBRARY_PATH=/opt/owfs/lib python -c > "import ow; > print ow.__version__" > 2.2p0RC-1.7 > > In the mean time, I'll try to figure out what's going on with building on > gentoo. If anyone has any ideas as to the purpose of the -R option, where > its coming from and why gcc on gentoo is rejecting it, please send along an > email... > > - Peter ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers