NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

How to add a Dynamic Library (SO) and needed additional libraries (i.e. boost) on a NI Linux RT?

Solved!
Go to solution

Unfortunately you are rigth Brain,

But we found out that ldd -r does show more infos. We got a lot undefined symbols. And the first line is exactly what I got from LabVIEW...

grafik.png

I guess "boost" will be loaded dynamic. More interesting is that the supplyer of the .so has a runing exe even with this undefind symbols. But my LV is not running. Any idea on that? He has not a RT system. Could that be a RT System problem?

0 Kudos
Message 11 of 12
(755 Views)
Solution
Accepted by topic author Petric

Hi all and -Brian,

 

After some trial's and new test's it woks.

Two steps were additionaly made:

- The SO was not just compiled with the "standart" Boost_1.63.0, exactly with the one from the NI Target!

- We add the Path where the SO's Links should be found with "sudo ldconfig /usr/lib" and "sudo ldconfig /lib"

 

I'm finaly happy that it works and also surprised that it took so long. As an "traditional" LabVIEW user with no Linux background that was kind of an oddysee 🙂 So I hope this tread can help somebody else. Good Luck!

 

 

Message 12 of 12
(728 Views)