2

I am trying to build PyVlfeat and it is failing with the following error.

/usr/bin/ld: cannot find -lboost_python-mt-py34
collect2: error: ld returned 1 exit status
error: command 'c++' failed with exit status 1

I have seen threads mentioning similar issue, but none of those seem to provide a proper solution and they seem to be quite old.

The issue here is that the installation script refers to "-lboost_python-mt-py26" option (parameter?) at one point. Some threads seem to reach a solution by changing their python interpreter version. (eg: py27 instead of py26).

However this doesn't work for me and I am unable to correct this reference. I have installed Boost by the command "sudo apt-get install libboost-all-dev".

How to fix this problem?

Erdnase
  • 615
  • 1
  • 10
  • 22

1 Answers1

1

As it was mentioned, changing the reference to "-lboost_python-py27" helps to solve the problem.

The source of the information is Cannot find boost-thread-mt library

Erdnase
  • 615
  • 1
  • 10
  • 22