Opened 15 years ago
Closed 15 years ago
#50 closed defect/bug (invalid)
SDL-gui doesn't work on my system since sone libraries can't be loaded - TLS problem
Reported by: | Kripton <kripton@…> | Owned by: | KaZeR |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | gui/cegui | Version: | 0.0.3 |
Severity: | Keywords: | ||
Cc: |
Description
I installed and used navit successfully on my 32-bit-system and wanted to use it on my 64-bit Gentoo-machine. The GTK-gui works fine, but when I try to use the SDL/Cegui-GUI, I get these errors:
** (process:30338): WARNING **: can't load '/usr/lib/navit/graphics/libgraphics_opengl.so', Error '/usr/lib/libGLC.so.0: cannot allocate memory in static TLS block' ** (process:30338): WARNING **: can't load '/usr/lib/navit/gui/libgui_sdl.so', Error '/usr/lib/libGLC.so.0: cannot allocate memory in static TLS block'
After recompiling cegui, quesoglc and navit several times with different combinations of CFLAGS and different versions of gcc I still didn't have any success.
After some time I tried this a workaround:
LD_PRELOAD=/usr/lib/navit/graphics/libgraphics_opengl.so navit
this works but it complains a little:
sh: symbol lookup error: /usr/lib/navit/graphics/libgraphics_opengl.so: undefined symbol: debug_level
cp15 proposed this one:
LD_PRELOAD=/usr/lib/libGLC.so navit
which works, too and doesn't even complain about missing symbols
Change History (1)
comment:1 Changed 15 years ago by Kripton <kripton@…>
- Resolution set to invalid
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
The issue has been fixed by configuring quesoglc with "--disable-tls". So this is actually not an navit-issue (That's why I marked it 'invalid'. Sorry if this is wrong)