LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Path where to install the run time engine (on Linux)


I have a cluster of Linux computers where I would like to run compiled LABview (8.20 at the moment) applications build
with the application builder.
Therefore I would like to install the LABview run time engine on a NFS mount file system seen from each computer.  But
the installation procedure of the run time engine does not propose to choise the installation directory, but force the installation
in  /usr/local/lib.

I try to workaround this problem and have copied the /usr/local/lib/LABview.8.2 directory to my NFS filesystem and
made the 'necessary' links.

Unfortunatly it doesn't run and  fails because  the liblvrt.so.8.2 library  can not access patched versions of the libOSMesa.so.4
and libGL.so.1 librairies but uses the standard ones in /usr/X11R6/lib.

Even by setting my LD_LIBRARY_PATH correctly to access the patched librairies versions it does not run because the
liblvrt8.2 library seems to be  linked with the following 'rpath'   (given by the command 'strings liblvrt.so.8.2 | grep patchlib')

$ORIGIN/LabVIEW-8.2/patchlib:$ORIGIN/patchlib:/usr/X11R6/lib:/usr/lib:$ORIGIN:$ORIGIN/LabVIEW-8.2/linux:$ORIGIN/linux:$ORIGIN/resource

which prevents to access the patched librairies versions if the $ORIGIN is not set. Therefore I tried to set $ORIGIN as an
environment variable but it doesn't change anything.

Therefore my question is: Did somebody have already had this type of problem,  what is $ORIGIN and how I can set it ?

Thanks in advance.







0 Kudos
Message 1 of 3
(2,817 Views)
Sir,
Please could tell me the distribution you use ?
Cordially,
Pierre R...

Certified LabVIEW Developer
0 Kudos
Message 2 of 3
(2,794 Views)
Thanks a lot to answer.
We are using Linux redhate workstation 4 (kernel 2.6)

hydra.operator> uname -a
Linux hydra 2.6.9-22.0.1.ELsmp #1 SMP Tue Oct 18 18:39:27 EDT 2005 i686 i686 i38
6 GNU/Linux

Cordialement

Francis Epaud
ESRF (Grenoble)
0 Kudos
Message 3 of 3
(2,788 Views)