Tuesday, April 17, 2007

Alternative to LD_LIBRARY_PATH

Trying out pymssql example. After installing the prerequisite freetds. I got this fun error: 'libsybdb.so.5: cannot open shared object file'. Which ment it didn't like where my libsydbd.so file was installed. So I had to update the load library path. Instead of something like this: export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH. I edited '/etc/ld.so.conf' adding /usr/local/lib. Then I ran ldconfig. No more error.

No comments: