#309 import GDL error in python (Undefined symbol: gdl_dock_lay..

open
nobody
None
5
2010-12-31
2010-08-31
yuewei zhang
No

os: fedora 13 i686
install rpm package: ipython, gdl-python, gdl-common, gdl and the other for dependence

python 2.6.4 / ipython 1.10 / gdl-pythn 0.10.rc4.fc13 / gdl-0.9-0.10.rc4.fc13

------------------------------------------------------------------------------------------------------------------------------------------------
In [1]: imort GDL
ImportError Tracback(most recent call last)
/home/coffeeman/<ipython console> in <module>()

ImportError: /usr/lib/python2.6/site-packages/GDL.so: Undefined symbol: _ZN3lib17command_line_argsE
------------------------------------------------------------------------------------------------------------------------------------------------
the other error, is import gdl.so

-----------------------------------------------------------------------------------------------------------------------------------------------
In [5]: imort gdl
ImportError Tracback(most recent call last)
/home/coffeeman/<ipython console> in <module>()

ImportError: /usr/lib/python2.6/site-packages/gtk-2.0/gdl.so: Undefined symbol: gdl_dock_layout_get_items_ui
------------------------------------------------------------------------------------------------------------------------------------------------

the following is what i test:
$ nm -A /usr/lib/python2.6/site-packages/GDL.so | grep _ZN3lib17command_line_argsE
nm: /usr/lib/python2.6/site-packages/GDL.so : no symbols

$ nm -A/usr/lib/python2.6/site-packages/gtk-2.0/gdl.so | grep gdl_dock_layout_get_items_ui
nm: /usr/lib/python2.6/site-packages/gtk-2.0/gdl.so : no symbols

I did not know how to solve the problem, can you help me ?

Discussion

  • yuewei zhang
    yuewei zhang
    2010-08-31

    sorry, the "nm -A xxx.so" is wrong!

     
    • summary: import GDL error in python --> import GDL error in python (Undefined symbol: gdl_dock_lay..
     
  • The first problem (_ZN3lib17command_line_argsE) is fixed in the CVS.