opencv on slackware64 trouble

asked 2016-09-21 03:34:47 -0600

andys6677 gravatar image

updated 2018-01-30 03:27:26 -0600

I am trying to install opencv from source codes on slackware64 14.2 which is running in VirtualBox.

cd opencv-2.4.13 make . make -j2 sudo make install

but libraries have been installed to /usr/local/lib instead /usr/local/lib64 so I cannot compile examples. What the reason autoconfiguration was wrong?

edit retag flag offensive close merge delete

Comments

"so I cannot compile examples." -- why would those be looking at /usr/local/lib64 at all ?

berak gravatar imageberak ( 2016-09-21 03:41:57 -0600 )edit

ldconfig does not take into account libs at /usr/local/lib in 64 bit system. I have seen in file CmakeLists.txt code which check existence of lib64 directory and so on, but result is negative. May be some configuration keys are missing?

andys6677 gravatar imageandys6677 ( 2016-09-21 04:10:21 -0600 )edit