Hi,folks:
When i use bifrost with root permission,i get problems as below:
File "test_pcap.py", line 2, in <module>
from code.file_write import FileWriteBlock
File "/home/ubuntu/Desktop/python_script/final_code/code/file_write.py", line 1, in <module>
from bifrost.pipeline import SinkBlock
File "/usr/local/lib/python2.7/dist-packages/bifrost-0.8.0-py2.7.egg/bifrost/__init__.py", line 34, in <module>
import core, memory, affinity, ring, block, address, udp_socket
File "/usr/local/lib/python2.7/dist-packages/bifrost-0.8.0-py2.7.egg/bifrost/core.py", line 29, in <module>
from libbifrost import _bf
File "/usr/local/lib/python2.7/dist-packages/bifrost-0.8.0-py2.7.egg/bifrost/libbifrost.py", line 38, in <module>
import libbifrost_generated as _bf
File "/usr/local/lib/python2.7/dist-packages/bifrost-0.8.0-py2.7.egg/bifrost/libbifrost_generated.py", line 609, in <module>
_libs["bifrost"] = load_library("bifrost")
File "/usr/local/lib/python2.7/dist-packages/bifrost-0.8.0-py2.7.egg/bifrost/libbifrost_generated.py", line 369, in load_library
raise ImportError("%s not found." % libname)
ImportError: bifrost not found.
It sounds like a LD_LIBRARY_PATH problem as with #109. Have you tried updating this environment variable to include the installation path of libbifrost.so?
Hi,folks: When i use bifrost with root permission,i get problems as below:
Any hints,and how to solve it? Thanks, Lee