Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Error while importing Shared Library: Library specified for this node cannot be found or cannot be loaded

Solved!
Go to solution

Hello,

 

I am using LV-2009 for Linux. I am trying to create a Wrapper Vi. I have a simple C++ addition function for which I have created a .h header file and a .so shared library.After importing the shared library, I am getting an error report, which I have attached here(Report.doc).

 

When I right click on the SubVi and click Configure to mention the path of the .so library, I see a window saying "File not found. The file might have been moved or delete", even though I have the library present in the path that I specified.

 

I have attached a screen shot of the error I am getting. Please suggest what can be done.

 

Thank you.

 

Regards,

 

-H.

 

 

 


Download All
0 Kudos
Message 1 of 28
(5,970 Views)

Thank you for your reply, I looked at the links you provided, but that didn't help me much.

 

I am getting Error 7 occured at Call Library Function node. The VI is not able to find out the shared library, even though I have hard coded the path to the Call Library Function Node.

 

Please suggest what can be done. 

 

Thanks

 

-H

Download All
0 Kudos
Message 4 of 28
(5,932 Views)
Are you trying to migrate from previous version of lv to lv 2009?
0 Kudos
Message 5 of 28
(5,920 Views)

Hello Muks,

 

I am still getting the same error. Smiley Sad

 

I am using LV 2009 trial version for Linux and I have not migrated from any of the older version.

 

I am hardcoding the file path. However, to be on a safer side I have also specified the path where the file is present in the /etc/ld.so.conf file.

 

Please suggest where I may be going wrong.

 

Thanks,

 

Regards,

 

H.

0 Kudos
Message 7 of 28
(5,908 Views)
I am still stuck with the same problem.   Can some one please help me with why I may be getting Error 7, even though I am hardcoding the file(.so library)path.
 
Thanks.
 
H
0 Kudos
Message 8 of 28
(5,857 Views)

Hi H P,

 

Can you post a screen shot of the Error 7 message box?  I would like to see the file it is looking for.  Thanks!

 

Kristen H.

0 Kudos
Message 9 of 28
(5,845 Views)

Hello Kristen.

 

Thank you for your post. 

 

I am attaching the error message along with the subVi wherethe message is generated.

 

Addition.Vi  is the Vi in which I am calling the subVi named addition C.vi which has the path to the library(libAdditionc.so)  hardcoded.

 

Regards,

 

H.

Download All
0 Kudos
Message 10 of 28
(5,839 Views)