Hi!
The drizzle-interface in PyPI is out of date... I'm waiting on Boots to
release the new version before I upload it again.
HOWEVER - if you happen to be on a RedHat-based system, you will find
that /usr/local/lib is not in your LD_LIBRARY_PATH by default. So try:
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
and then run python and do from drizzle import libdrizzle
If that's still broken, let me know - even though it's out of date,
what's up there should work.
Monty
On 03/18/2010 01:04 PM, Seth Washeck wrote:
Hey All,
I'm still having a heck of a time getting the python db bindings to work.
I've compiled drizzle and libdrizzle as follows:
bzr branch lp:libdrizzle
cd libdrizzle
./config/autorun.sh
./configure && make
sudo make install
bzr branch lp:drizzle
cd drizzle
./config/autorun.sh
./configure --with-libprotobuf-prefix=/usr/local && make
sudo make install
i can then fire up the drizzle server and connect via the drizzle
client, make dbs and tables, etc.
i then try to do the python thing ...
both of these work OK
easy_install python-libdrizzle
or the:
bzr branch lp:drizzle-interface
cd drizzle-interface
./config/autorun.sh
./configure --with-lua=false --with-r=false --with-ruby=false
--with-python3=false
make
cd python
python setup.py build
python setup.py install
they both "install" properly but then we fail at when i try to run the
test in the source
(e.g. from drizzle import libdrizzle) fails with
"ImportError: libdrizzle.so.0: cannot open shared file: No such file or
directory"
thank you in advance for the help
locate libdrizzle.so.0 finds it at ... /usr/local/lib/libdrizzle.so.0
i'm pretty sure i've not config'd the python source properly but i'm new
to this aspect of linux and so i dont know which config option to
specify in order to make this work
thank you in advance - you guys seem like a great team.
seth
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help : https://help.launchpad.net/ListHelp