Author Topic: error when running new ATKSE vnl  (Read 12558 times)

0 Members and 1 Guest are viewing this topic.

Offline renren123123

  • Heavy QuantumATK user
  • ***
  • Posts: 70
  • Reputation: 0
    • View Profile
error when running new ATKSE vnl
« on: November 2, 2009, 02:56 »
ry@node72:~/nl/vnl/lib$ Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "./zipdir/NL/GUI/Main/Main.py", line 21, in main
  File "./zipdir/NL/GUI/Main/SplashScreen.py", line 46, in loadModules
  File "./zipdir/NL/GUI/Tools/Viewer/Viewer.py", line 13, in <module>
  File "./zipdir/NL/GUI/Graphics/GL/GLPlotManager.py", line 21, in <module>
  File "./zipdir/NL/GUI/Graphics/GL/GLContourBox.py", line 10, in <module>
  File "./zipdir/NL/GUI/Graphics/GL/GLContour.py", line 20, in <module>
  File "./build/vnl/lib/python2.6/ctypes/__init__.py", line 431, in LoadLibrary
  File "./build/vnl/lib/python2.6/ctypes/__init__.py", line 353, in __init__
OSError: libGL.so: cannot open shared object file: No such file or directory

how to solve it?

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5411
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: error when running new ATKSE vnl
« Reply #1 on: November 2, 2009, 10:20 »
Which Linux? Please check
Code
ls -l /usr/lib/*GL*
If you are missing libGL.so there, you need to link it up manually. This is known to be the case on e.g. Ubuntu. If you post the output of the command above, we can provide the exact command you need to give to fix it.

Offline renren123123

  • Heavy QuantumATK user
  • ***
  • Posts: 70
  • Reputation: 0
    • View Profile
Re: error when running new ATKSE vnl
« Reply #2 on: November 2, 2009, 14:24 »
Ubuntu

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5411
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: error when running new ATKSE vnl
« Reply #3 on: November 2, 2009, 14:28 »
Right, Ubuntu is for some reason missing a link "libGL.so" in their /usr/bin, so you have to create it yourself. Assuming your actual OpenGL is "libGL.so.1.2" (it might not be, hence the need for the check mentioned in my previous post), you need to do this:
Code
sudo ln -s /usr/lib/libGL.so.1.2 /usr/lib/libGL.so
But first check that you have "libGL.so.1.2" in /usr/lib; you might have "libGL.so.1" or something else instead, depending on the video drivers.

Offline renren123123

  • Heavy QuantumATK user
  • ***
  • Posts: 70
  • Reputation: 0
    • View Profile
Re: error when running new ATKSE vnl
« Reply #4 on: November 2, 2009, 14:51 »
ry@node72:~$ ls -l /usr/lib/*GL*
lrwxrwxrwx 1 root root     16 2009-09-22 07:53 /usr/lib/libGLEW.so.1.5 -> libGLEW.so.1.5.0
-rw-r--r-- 1 root root 225068 2008-02-12 00:48 /usr/lib/libGLEW.so.1.5.0
lrwxrwxrwx 1 root root     12 2009-09-22 07:53 /usr/lib/libGL.so.1 -> libGL.so.1.2
-rw-r--r-- 1 root root 395024 2009-04-18 06:01 /usr/lib/libGL.so.1.2
lrwxrwxrwx 1 root root     20 2009-09-22 07:53 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.070300
-rw-r--r-- 1 root root 460432 2009-04-18 06:01 /usr/lib/libGLU.so.1.3.070300

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5411
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: error when running new ATKSE vnl
« Reply #5 on: November 2, 2009, 14:52 »
So, the command in the previous is appropriate. Just execute it, and then try to start VNL again!

Offline hieido

  • Heavy QuantumATK user
  • ***
  • Posts: 29
  • Country: kr
  • Reputation: 0
    • View Profile
Re: error when running new ATKSE vnl
« Reply #6 on: June 29, 2012, 02:11 »
Dear all,
I tried the code: ls -l /usr/lib/*GL* for checking the LibGL then in the terminal window they notice that:

hien911@Famhieido:~$ ls -l /usr/lib/*GL*
lrwxrwxrwx 1 root root     16 2012-06-20 21:16 /usr/lib/libGLEW.so.1.5 -> libGLEW.so.1.5.0
-rw-r--r-- 1 root root 225068 2008-02-12 01:48 /usr/lib/libGLEW.so.1.5.0
lrwxrwxrwx 1 root root     12 2012-06-20 21:16 /usr/lib/libGL.so.1 -> libGL.so.1.2
-rw-r--r-- 1 root root 394924 2008-04-06 07:06 /usr/lib/libGL.so.1.2
lrwxrwxrwx 1 root root     20 2012-06-20 21:16 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.070002
-rw-r--r-- 1 root root 532568 2008-04-06 07:06 /usr/lib/libGLU.so.1.3.070002

so... how to execute it, and then  how try to start VNL again!
I don't know .... please help me!

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5411
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: error when running new ATKSE vnl
« Reply #7 on: June 29, 2012, 07:25 »
Right, and then as written above you do
Code
sudo ln -s /usr/lib/libGL.so.1.2 /usr/lib/libGL.so
and you should be able to start VNL.