LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

linux

Labview 8 professional for Linux in Fedora 4 installes but doesn not start.
To labview command responds with: "labview: symbol lookup error: /usr/X11R6/lib/libOSMesa.so.4: undefined symbol: _glapi_get_context"
Do you know why?

0 Kudos
Message 1 of 18
(4,864 Views)
What is the output when you run:

readelf -s /usr/X11R6/lib/libOSMesa.so.4 | grep _glapi_get_context

Shawn B.
National Instruments
Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 2 of 18
(4,826 Views)
Dear  Shawn B. :
To the commnad "readelf -s /usr/X11R6/lib/libOSMesa.so.4 | grep _glapi_get_context" system responds with:
"879: 00000000    36 FUNC    GLOBAL DEFAULT  UND _glapi_get_context".
That helps?
Thanks: Saltamontes.


 
0 Kudos
Message 3 of 18
(4,811 Views)

hi there

same problem with SuSeLinux 9.2 (installation README says 9.1 would be OK). there's no code for _glapi_get_context in libOSMesa.so.4. after upgrading to 9.3 all was fine.

 

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 4 of 18
(4,793 Views)
I think I found the problem.  I'm guessing you don't have libGL.so installed on your system.  You can confirm this by running locate libGL.so, or as root running find / -name libGL.so* -print  I'm not sure what package will install this library on fedora core, but on SUSE 10.0 it is installed with the xorg-x11-Mesa rpm.  You may be able to do a search for what provides libGL.so in your package manager if it is installed with something else on fedora.

Shawn B.
National Instruments
Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 5 of 18
(4,783 Views)

hi there,

i'm sorry, but libGL.so is installed on the SuSe 9.1 system. we tested LabVIEW on a SuSe 9.3 system with success, so we'll update to 9.3.

thanks
 
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 6 of 18
(4,778 Views)
chris,

I'm a little confused in your previous post you mentioned that you received the same error when you installed LabVIEW on SUSE 9.2.  Are you also seeing this error on SUSE 9.1?  Also to just to make sure I understand you correctly you have a machine with SUSE 9.1 that is receiving this error, but it has libGL.so. installed?  Thanks for clairifying.

Shawn B.
National Instruments
Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 7 of 18
(4,776 Views)
hi there,
 
sorry, my fault: in the previous post i should say SuSe 9.2 instead of 9.1.
 
summary:
 
9.1  not tested
9.2  on system 1: libGL.so installed, but still no code _glapi_get_context in libOSMesa.so.4 -> LabVIEW won't start like descripted in the first post
9.3  on system 2: libGL.so installed, code _glapi_get_context in libOSMesa.so.4 found -> LabVIEW 8.0 started
 
so we'll update system 1 to 9.3
sorry for the confusion
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 8 of 18
(4,772 Views)
Alright, after some further investigation it appears to me that this problem might be caused by installing the NVIDIA(r) graphics driver.  libOSMesa.so depends on libGL.so which should provide _glapi_get_context.  You can view the shared objects libOSMesa.so depends on and any undefined symbols with the command:

ldd -r libOSMesa.so*

On my system this showed me that libOSMesa.so.4.0 requires libGL.so.1, and there are no undefined symbols.  At this point LabVIEW will install and run without any problems.  However, after I install the NVIDIA(r) graphics driver libGL.so.1 (which is a link) has been upgraded, and starting LabVIEW produces the error described above.  Also if I run ldd -r libOSMesa.so.4.0 I have several undefined symbols.

Can you guys confirm if the systems that are experiencing this problem are using the NVIDIA(r) driver?  Thanks.

Shawn B.
National Instrumtents
Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 9 of 18
(4,760 Views)

hi there

systems are down, you'll have to wait 24 hrs, sorry!

 

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 10 of 18
(4,756 Views)