01-09-2024 02:54 AM - edited 01-09-2024 03:04 AM
We have a LabVIEW 2020 SP1 project on Linux that compiles well on Ubuntu 20 (not officially supported)
We compile as an application and also as a shared library
We use the application (with UI) for test and debug and in production we run the shared library as a service
We do not use any DAQ or any other NI driver
We moved to CentOS 8 (officially supported), fresh install of LabVIEW 2020 SP1 and here the application compiles well but the compiling as a shared library fails, the compilation process runs till the end (or seems to) and then returns the following error :
Error 42 occurred at System Exec.vi. Command was "gcc -m64 -shared -g -O2 -fPIC -Wl,-Bsymbolic -I/usr/local/natinst/LabVIEW-2020-64/cintools "synchrohub.c" /usr/local/natinst/LabVIEW-2020-64/AppLibs/lvdll.a -o "synchrohub.so" -lstdc++ -ldl"
Any one has any idea what the issue could be?
cross-posted to LAVA forum
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
01-10-2024 02:48 AM
it appears that the system exec.vi just doesn't work, even in the IDE
and therefore fails when the build process calls it
as shown below, the system exec.vi is runnable but fails with error 42, whatever cmd I try to run :
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus