Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Community Manager
295 Views

NCSDK build error (liblapack and libblas linking issue)

Hi,

 

I cloned the latest github repo on my Ubuntu 16.04 machine and when I tried to build the code using "make install", I'm seeing the following errors:

 

[ 94%] Built target convert_mnist_siamese_data

 

make[3]: Entering directory '/opt/movidius/ssd-caffe/build'

 

make[3]: Leaving directory '/opt/movidius/ssd-caffe/build'

 

make[3]: Entering directory '/opt/movidius/ssd-caffe/build'

 

[ 94%] Linking CXX executable ssd/ssd_detect

 

/usr/bin/ld: /usr/local/lib/liblapack.a(sgetrf2.o): undefined reference to symbol 'sscal_'

 

//usr/lib/libopenblas.so.0: error adding symbols: DSO missing from command line

 

collect2: error: ld returned 1 exit status

 

examples/CMakeFiles/ssd_detect.dir/build.make:136: recipe for target 'examples/ssd/ssd_detect' failed

 

make[3]: *** [examples/ssd/ssd_detect] Error 1

 

make[3]: Leaving directory '/opt/movidius/ssd-caffe/build'

 

CMakeFiles/Makefile2:1075: recipe for target 'examples/CMakeFiles/ssd_detect.dir/all' failed

 

make[2]: *** [examples/CMakeFiles/ssd_detect.dir/all] Error 2

 

make[2]: Leaving directory '/opt/movidius/ssd-caffe/build'

 

Makefile:127: recipe for target 'all' failed

 

make[1]: *** [all] Error 2

 

make[1]: Leaving directory '/opt/movidius/ssd-caffe/build'

 

Installation failed. Error on line 498

 

I checked for the liblapack and libblas libraries and they look good. I spent two hours looking up for solutions online but in vain.

 

Can somebody please help me with this issue?

 

Thanks,

 

Venky
0 Kudos
3 Replies
Highlighted
Community Manager
7 Views

Re: NCSDK build error (liblapack and libblas linking issue)

@kodukulav Have you tried the NCSDK installation on a fresh machine? Also I was just wondering if you are you using Anaconda? There has been known issues with virtual environment software with the current NCSDK (1.12). If you can, I recommend trying the installation on a fresh machine.

0 Kudos
Highlighted
Community Manager
7 Views

Re: NCSDK build error (liblapack and libblas linking issue)

@Tome_at_Intel Thanks for your suggestion. I tried installing NCSDK on a virtual box with a Ubuntu 16.04 running on it. The installation is successful.

0 Kudos
Highlighted
Community Manager
7 Views

Re: NCSDK build error (liblapack and libblas linking issue)

@kodukulav Glad to hear that!

0 Kudos