Comment 0 for bug 485225

Revision history for this message
Flamey (enzalx) wrote :

Description: Ubuntu 9.10
Release: 9.10
libftgl2:
  Installed: 2.1.3~rc5-2
  Candidate: 2.1.3~rc5-2
  Version table:
 *** 2.1.3~rc5-2 0
        500 http://us.archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status
libftgl2:
  Installed: 2.1.3~rc5-2
  Candidate: 2.1.3~rc5-2
  Version table:
 *** 2.1.3~rc5-2 0
        500 http://us.archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

When using the C interface function ftglGetLayoutBBox, the function is not found in the library.

    $ readelf -s /usr/lib/libftgl.so|grep LayoutBBox
       579: 0000000000023bf0 313 FUNC GLOBAL DEFAULT 11 ftgGetlLayoutBBox

    $ grep GetLayoutBBox /usr/include/FTGL/FTLayout.h
    FTGL_EXPORT void ftglGetLayoutBBox(FTGLlayout *layout, const char* string,

Readelf shows that the function is named incorrectly (ftgGetlLayoutBBox), but the header FTLayout.h declared the function as ftglGetLayoutBBox.