SDL_ttf and DPMSDisable bug is back or still there

Hi,

while running a test case on GNU/Linux (Ubuntu Edgy) with SDL-1.2.11,
SDL_ttf-2.0.8 and freetype-2.2.1, TTF_RenderGlyph_Solid returned the
following error : “Failed loading DPMSDisable: /usr/lib/libX11.so.6:
undefined symbol: DPMSDisable”.

I found some posts that said the issue was solved, but it does not seem
to be the case : each time SDL_ttf tries to render (solid) a space, the
error is triggered.

Does anybody know if this is a SDL_ttf bug and if it could be solved so
that ‘solid’ can be used again ?

I was able to reproduce it with showfont, the error occurs whenever
’-solid’ is specified, apparently not depending on the text to render
nor on the chosen TTF font.

Best regards,

Olivier.

PS : Not related, but on libsdl.org when you click on ‘Mailing Lists’
(http://www.libsdl.org/mailing-list.php) the
http://listserver.dreamhost.com/listinfo.cgi/sdl-libsdl.org link is
shown, when clicking on it we have : ‘No such list sdl-libsdl.org’. It
may prevent new users from registering ?

PS : here are the full dynamic libraries involved on my test case :

ldd testOSDLTrueTypeFontCache.exe
linux-gate.so.1 => (0xffffe000)
libOSDL-0.4.so.0 =>
/home/sye/Projects/LOANI-0.4/LOANI-installations/OSDL-0.4/lib/libOSDL-0.4.so.0
(0xb7df1000)
libCeylan-0.5.so.0 =>
/home/sye/Projects/LOANI-0.4/LOANI-installations/Ceylan-0.5/lib/libCeylan-0.5.so.0
(0xb7ccd000)
libjpeg.so.62 =>
/home/sye/Projects/LOANI-0.4/LOANI-installations/jpeg-6b/lib/libjpeg.so.62
(0xb7cad000)
libSDL_gfx.so.0 =>
/home/sye/Projects/LOANI-0.4/LOANI-installations/SDL_gfx-2.0.14/lib/libSDL_gfx.so.0
(0xb7c9a000)
libSDL_ttf-2.0.so.0 =>
/home/sye/Projects/LOANI-0.4/LOANI-installations/SDL_ttf-2.0.8/lib/libSDL_ttf-2.0.so.0
(0xb7c95000)
libfreetype.so.6 =>
/home/sye/Projects/LOANI-0.4/LOANI-installations/freetype-2.2.1/lib/libfreetype.so.6
(0xb7c32000)
libSDL_mixer-1.2.so.0 =>
/home/sye/Projects/LOANI-0.4/LOANI-installations/SDL_mixer-1.2.7/lib/libSDL_mixer-1.2.so.0
(0xb7c21000)
libvorbis.so.0 =>
/home/sye/Projects/LOANI-0.4/LOANI-installations/libvorbis-1.1.2/lib/libvorbis.so.0
(0xb7bf7000)
libogg.so.0 =>
/home/sye/Projects/LOANI-0.4/LOANI-installations/libogg-1.1.3/lib/libogg.so.0
(0xb7bf2000)
libSDL-1.2.so.0 =>
/home/sye/Projects/LOANI-0.4/LOANI-installations/SDL-1.2.11/lib/libSDL-1.2.so.0
(0xb7b66000)
libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb7aec000)
libGL.so.1 => /usr/lib/libGL.so.1 (0xb7a4c000)
libSDL_image-1.2.so.0 =>
/home/sye/Projects/LOANI-0.4/LOANI-installations/SDL_image-1.2.5/lib/libSDL_image-1.2.so.0
(0xb7a30000)
libpng.so.3 =>
/home/sye/Projects/LOANI-0.4/LOANI-installations/PNG-1.2.14/lib/libpng.so.3
(0xb79f5000)
libz.so.1 =>
/home/sye/Projects/LOANI-0.4/LOANI-installations/zlib-1.2.3/lib/libz.so.1
(0xb79e1000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb79cc000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb79b9000)
libstdc++.so.6 =>
/home/sye/Projects/LOANI-0.4/LOANI-installations/gcc-4.1.1/lib/libstdc++.so.6
(0xb78da000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb78b4000)
libgcc_s.so.1 =>
/home/sye/Projects/LOANI-0.4/LOANI-installations/gcc-4.1.1/lib/libgcc_s.so.1
(0xb78a9000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7775000)
libltdl.so.3 =>
/home/sye/Projects/LOANI-0.4/LOANI-installations/Ceylan-0.5/lib/libltdl.so.3
(0xb776f000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb7761000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7698000)
/lib/ld-linux.so.2 (0xb7f21000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7695000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7690000)

Hi,

Olivier Boudeville wrote:

Hi,

while running a test case on GNU/Linux (Ubuntu Edgy) with SDL-1.2.11,
SDL_ttf-2.0.8 and freetype-2.2.1, TTF_RenderGlyph_Solid returned the
following error : “Failed loading DPMSDisable: /usr/lib/libX11.so.6:
undefined symbol: DPMSDisable”.

I found some posts that said the issue was solved, but it does not seem
to be the case : each time SDL_ttf tries to render (solid) a space, the
error is triggered.

Does anybody know if this is a SDL_ttf bug and if it could be solved so
that ‘solid’ can be used again ?

I believe the error is actually in that particular version of freetype,
so you might want to upgrade.

I was able to reproduce it with showfont, the error occurs whenever
’-solid’ is specified, apparently not depending on the text to render
nor on the chosen TTF font.

Best regards,

Olivier.

Regards,

Vitaly

Vitaly Budovski a ?crit :

I believe the error is actually in that particular version of freetype,
so you might want to upgrade.

Hi,

that was it, I just tested the upgrading to freetype-2.3.2, it solved
the DPMSDisable problem with solid fonts and SDL_ttf (2.0.8).

Thanks !

Olivier.