Run VPython on FC3

Discussion in 'Python' started by York, Sep 16, 2005.

  1. York

    York Guest

    Hi everybody,

    I am trying to run VPython on FC3. The installation was fine. But when I
    "import visual", an error occurs:

    """
    >>> import visual

    Traceback (most recent call last):
    File "<stdin>", line 1, in ?
    File "/usr/lib/python2.3/site-packages/visual/__init__.py", line 15, in ?
    import array_backend
    File "/usr/lib/python2.3/site-packages/visual/array_backend.py", line
    1, in ?
    import cvisual
    ImportError: libgtkgl.so.4: cannot open shared object file: No such file
    or directory
    >>>

    """

    It seems Python cannot open/find the file "libgtkgl.so.4", but it
    definitely lies in the lib directory:

    /usr/local/lib/libgtkgl.so.4.0.0
    /usr/local/lib/libgtkgl.so.4

    Does anybody know a solution for this problem?

    Thanks very much,

    York
     
    York, Sep 16, 2005
    #1
    1. Advertising

  2. In the darkest hour on Fri, 16 Sep 2005 10:44:34 -0700,
    York <> screamed:
    > It seems Python cannot open/find the file "libgtkgl.so.4", but it
    > definitely lies in the lib directory:
    >
    > /usr/local/lib/libgtkgl.so.4.0.0
    > /usr/local/lib/libgtkgl.so.4
    >
    > Does anybody know a solution for this problem?
    >


    You need libgtk-(open)gl package (i don't know the exact name in FC).

    --
    [ Artur M. Piwko : Pipen : AMP29-RIPE : RLU:100918 : From == Trap! : SIG:216B ]
    [ 21:56:44 user up 10736 days, 9:51, 1 user, load average: 0.06, 0.06, 0.06 ]

    Machine independent code isn't.
     
    Artur M. Piwko, Sep 16, 2005
    #2
    1. Advertising

  3. York

    York Guest

    Artur M. Piwko wrote:
    > In the darkest hour on Fri, 16 Sep 2005 10:44:34 -0700,
    > York <> screamed:
    >
    >>It seems Python cannot open/find the file "libgtkgl.so.4", but it
    >>definitely lies in the lib directory:
    >>
    >>/usr/local/lib/libgtkgl.so.4.0.0
    >>/usr/local/lib/libgtkgl.so.4
    >>
    >>Does anybody know a solution for this problem?
    >>

    >
    >
    > You need libgtk-(open)gl package (i don't know the exact name in FC).
    >


    Actually the gtkgl was installed, I can find it at /usr/local/lib:
    /usr/local/lib/libgtkgl.so.4.0.0
    /usr/local/lib/libgtkgl.so.4


    - York
     
    York, Sep 16, 2005
    #3
  4. In the darkest hour on Fri, 16 Sep 2005 15:45:33 -0700,
    York <> screamed:
    >>>/usr/local/lib/libgtkgl.so.4.0.0
    >>>/usr/local/lib/libgtkgl.so.4
    >>>
    >>>Does anybody know a solution for this problem?
    >>>

    >>
    >> You need libgtk-(open)gl package (i don't know the exact name in FC).
    >>

    > Actually the gtkgl was installed, I can find it at /usr/local/lib:
    > /usr/local/lib/libgtkgl.so.4.0.0
    > /usr/local/lib/libgtkgl.so.4
    >


    Check for presence of /usr/local/lib in /etc/ld.so.conf
    Append it if necessary. Don't forget to run ldconfig afterwards.

    --
    [ Artur M. Piwko : Pipen : AMP29-RIPE : RLU:100918 : From == Trap! : SIG:228B ]
    [ 21:38:09 user up 10743 days, 9:33, 1 user, load average: 0.06, 0.06, 0.06 ]

    I considered atheism but there weren't enough holidays.
     
    Artur M. Piwko, Sep 23, 2005
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. bapeterson

    PY2EXE problem with VPYTHON

    bapeterson, Dec 9, 2003, in forum: Python
    Replies:
    0
    Views:
    432
    bapeterson
    Dec 9, 2003
  2. Eric Azarcon

    mx Oddity in FC3/RedHat ES

    Eric Azarcon, Dec 20, 2004, in forum: Python
    Replies:
    3
    Views:
    277
    Steve Holden
    Dec 20, 2004
  3. Jim Van Fleet

    Gem install problem on FC3

    Jim Van Fleet, Mar 7, 2005, in forum: Ruby
    Replies:
    1
    Views:
    93
    Jim Van Fleet
    Mar 7, 2005
  4. Ross
    Replies:
    1
    Views:
    135
    Brian Wakem
    Aug 19, 2005
  5. Mark D Smith

    Template-Toolkit-2.14 fails make on FC3

    Mark D Smith, Aug 27, 2005, in forum: Perl Misc
    Replies:
    1
    Views:
    122
    Mark D Smith
    Aug 30, 2005
Loading...

Share This Page