Skip to content Skip to sidebar Skip to footer

Error Importing Zookeeper Libzookeeper_mt.so.2 In Python

I am having issues trying to import this .so file in Python...I added this to my /etc/bashrc and source'd it to make it reload...no luck so far... LD_LIBRARY_PATH=$LD_LIBRARY_PATH:

Solution 1:

export LD_LIBRARY_PATH=/usr/local/lib may solve your problem


Solution 2:

  1. temporary way:export LD_LIBRARY_PATH=/usr/local/lib
  2. permanent way:edit /root/.bashrc, add following lines:
    • export LD_LIBRARY_PATH=/usr/local/lib

Post a Comment for "Error Importing Zookeeper Libzookeeper_mt.so.2 In Python"