python-3.xboostcaffepycaffe

/usr/bin/ld: cannot find -lboost_python3


I have installed libboost_python3 and am trying to link it to my program but get this error:

/usr/bin/ld: cannot find -lboost_python3

Can anyone help me link to lboost_python3?

Thanks


Solution

  • I could find a solution to this problem in ubuntu. Just add in terminal:

    sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/libboost_python3.so