"None of CBLAS libraries could be loaded" Error

General information about Neurotechnology and its software

"None of CBLAS libraries could be loaded" Error

Postby gohj82 » Oct 29, 2018 01:07

Hi.
There is a problem using the Iris SDK.
I use ARM architecture on Embedded Linux platform.
I have a Iris license dongle and have confirmed that it is recognized by plugging it into the device.
Among the Tutorials examples, we ran the EnrollIrisFromImage program, and the following error occurs:
///////////////////////////////////////////////////////////////////////////////
# ./EnrollIrisFromImage 0004_R_000.png ttt
EnrollIrisFromImage tutorial
description: Demonstrates enrollment from one image.
version: 10.0.0.0
copyright: Copyright (C) 2008-2017 Neurotechnology

arguments:
0004_R_000.png
ttt

NBiometricEngineCreateTemplate() failed (result = -33)!
NError[624]: [TID: 3069779968] (-33) One or more errors occurred
---> InnerError[0]: (-27) None of CBLAS libraries could be loaded<---
////////////////////////////////////////////////////////////////////////////////////////
Of course the library is located in the path /usr/lib.
I don"t know why such an error occurs.
Please answer me if you know how to solve this problem.
gohj82
 
Posts: 5
Joined: Oct 29, 2018 00:40

Re: "None of CBLAS libraries could be loaded" Error

Postby Martynas » Oct 29, 2018 10:22

Hello,

is your OS 32 or 64 bit?

gohj82 wrote:Of course the library is located in the path /usr/lib.


Does the libopenblas.so from SDK exist in it?
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2234
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: "None of CBLAS libraries could be loaded" Error

Postby gohj82 » Oct 29, 2018 23:51

The OS on my device is embedded Linux 32bit.
libopenblas.so is located in the path /usr/lib on my device.
The kernel version used in my device is 3.4.39.
Processor is Cortex-A9 Quad Core CPU @ 1.4GHz
Just in case, the libopenblas.so is located in the same path as the EnrollIrisFromImage program, but the same error occurs.
Pls answer.
gohj82
 
Posts: 5
Joined: Oct 29, 2018 00:40

Re: "None of CBLAS libraries could be loaded" Error

Postby Martynas » Oct 30, 2018 08:11

Hello,

try to perform these steps on your device:

1. copy the full SDK to your device
2. compile EnrollIrisFromImage tutorial
3. execute command to set LD_LIBRARY_PATH and execute tutorial. f.e. sudo LD_LIBRARY_PATH=path_to_SDKs_armhf_libfolder ./EnrollIrisFromImage
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2234
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: "None of CBLAS libraries could be loaded" Error

Postby gohj82 » Oct 30, 2018 09:42

Hi.
Thanks you for your answer.
remain unresolved.

My terminal is not equipped with Cross compiler.
So I copied the full SDK to my terminal after compiling EnrollIrisFromImage on my PC.
Then, as you said, I specified the path LD_LIBRARY_PATH as "/mnt/nfs/Neurotec_Biometric_10_0_SDK/Lib/Linux_armhf".
EnrollIrisFromImage runs but results in the same error.

---> InnerError[0]: (-27) None of CBLAS libraries could be loaded<---
gohj82
 
Posts: 5
Joined: Oct 29, 2018 00:40

Re: "None of CBLAS libraries could be loaded" Error

Postby Martynas » Oct 30, 2018 12:21

Hello,

gohj82 wrote:My terminal is not equipped with Cross compiler.So I copied the full SDK to my terminal after compiling EnrollIrisFromImage on my PC.


what programing language are you using?

gohj82 wrote:EnrollIrisFromImage runs but results in the same error.


we cannot reproduce the same issue on our side. The only thing which we can think about now is that the your usr/local/lib can contain some other library, which can be in conflict with the libopenblas.so. Try to delete libopenblas.so from Usr/local/lib and then execute the same command I have wrote in previous post.
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2234
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: "None of CBLAS libraries could be loaded" Error

Postby gohj82 » Oct 31, 2018 00:45

Hello ^^.
I am using C language.
I am using an "arm-cortex_a9-linux-gnueabi-gcc" as a cross compiler.

Thank you for your efforts.
From now on, we will solve the problem through domestic dealers.
gohj82
 
Posts: 5
Joined: Oct 29, 2018 00:40

Re: "None of CBLAS libraries could be loaded" Error

Postby rawand » Oct 31, 2018 07:10

Hi bro!
is your OS 32 or 64 bit????
rawand
 
Posts: 1
Joined: Oct 31, 2018 06:59

Re: "None of CBLAS libraries could be loaded" Error

Postby Martynas » Oct 31, 2018 08:26

gohj82 wrote:Hello ^^.
I am using C language.
I am using an "arm-cortex_a9-linux-gnueabi-gcc" as a cross compiler.

Thank you for your efforts.
From now on, we will solve the problem through domestic dealers.


Have you tried to do steps I have wrote in my previous email?
I would like to ask you to try to compile the tutorials directly on the device. Or at least try to run our provided Java samples (again set LD_LIBRARY_PATH to point to uploaded SDK lib\arm_hf folder).
Maybe this issue is related to the fact that you are building not on that device directly. If Java samples do not throw the same error, then probably issue is in the compiled application.
Maybe you can provide the compiled tutorial so I could try to use it on our side to try to reproduce the same issue?
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2234
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: "None of CBLAS libraries could be loaded" Error

Postby gohj82 » Nov 01, 2018 06:35

I tried as you said before, but it wasn't resolved.
We don't use Android platform. our devices do not support Java. We can only develop in C language.

I took a test.
It was a test to check libopenblas.so.
I made an example program that calls the CBLAS interface(calling cblas_dgemm) and executed it on my device and I found it working well.
libopenblas.so seems fine.

How should I send you a sample of Touorials?
I don't know your email address. Can you give me your email address?
Then I will send you a built Tutorial sample.

** I have 2 dongle.
MegaMatcher 10.0 Extended SDK dongle , VeriEye 10.0 Extended SDK dongle
SDK revision number : 167245
gohj82
 
Posts: 5
Joined: Oct 29, 2018 00:40

Re: "None of CBLAS libraries could be loaded" Error

Postby Martynas » Nov 02, 2018 07:19

Hi,

send the built tutorial binary to support@neurotechnology.com with issue description.
Also send the libopenbals.so, which is located in your Usr/local/lib.
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2234
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania


Return to Public

Who is online

Users browsing this forum: WilliamnuTag and 2 guests