Page 1 of 1

undefined symbol: FT_GlyphSlot_Embolden

PostPosted: 16. February 2011 16:15
by oheurtel
When I try to start the graphical XAMPP control panel using /opt/lampp/lampp panel, I get the following error :
Code: Select all
Traceback (most recent call last):
  File "xampp-control-panel.py", line 18, in ?
    import gtk
  File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 48, in ?
    from gtk import _gtk
ImportError: /usr/lib/libcairo.so.2: undefined symbol: FT_GlyphSlot_Embolden

It works fine when running /opt/lampp/share/xampp-control-panel directly.
I found a workaround by unsetting LD_LIBRARY_PATH in /opt/lampp/lampp just before starting xampp-control-panel :
Code: Select all
        "panel")
                unset LD_LIBRARY_PATH # added
                exec /opt/lampp/share/xampp-control-panel/xampp-control-panel