Alessandro wrote:


It seems to me that we have two different problems. After my installation of OOo I have a clean installation on my gnome menus but so clean on KDE.
(for example there was not the icons in the menĂ¹) I have also started OOo from
xfce wtihout problems. If you are going to compile KDE be aware that the first
time I have put something like:

export XDG_CONFIG_DIRS=/etc/gnome/xdg:/opt/kde-3.4.2/etc/xdg

 in my /etc/profile I had a mess in my KDE desktop and menus.

Now I start the different DM so:
for KDE:

#!/bin/sh
rm ~/.xinitrc
export XDG_CONFIG_DIRS=/opt/kde-3.4.2/etc/xdg
export XDG_DATA_DIRS=$KDE_PREFIX/share:/usr/share:/opt/mono-1.1.7/share:/opt/openoffice-2.0.0/share
echo "exec startkde" > ~/.xinitrc
startx

for Gnome:

#!/bin/sh
rm ~/.xinitrc
export XDG_CONFIG_DIRS=/etc/gnome/xdg
export XDG_DATA_DIRS=$GNOME_PREFIX/share:/usr/share:/opt/mono-1.1.7/share
echo "exec gnome-session" >> ~/.xinitrc
startx


We'll get to that. It has changed however since 1.1.5. These were autogenerated/found in KDE.

About the glibc problem this is not the first time that I seen this:
if I start the program
/usr/local/bin/samsung/Configurator
I have always the message

Inconsistency detected by ld.so: ../sysdeps/generic/dl-tls.c: 72: _dl_next_tls_modid: Assertion
`result <= _rtld_local._dl_tls_max_dtv_idx' failed!


Precompiled doesn't matter it should be able to be side-stepped. Best would be to rebuild glibc, but the quick fix is to run it through strace. The last so reported before the assertation is returned, should be used in LD_PRELOAD, along with one or more of it's dependent libs. :-) Doesn't sound fun, but it'll work. Something like this:

strace -e open xine
....
open("/usr/lib/libGLU.so.1", O_RDONLY)  = 8
open("/usr/lib/opengl/nvidia/lib/libGLcore.so.1", O_RDONLY) = 8
open("/usr/lib/opengl/nvidia/lib/tls/libnvidia-tls.so.1", O_RDONLY) = 8
Inconsistency detected by ld.so: ../sysdeps/generic/dl-tls.c: 72: _dl_next_tls_modid: Assertion `result <= _rtld_local._dl_tls_max_dtv_idx' failed!

export LD_PRELOAD=/usr/lib/opengl/nvidia/lib/libGL.so.1:/usr/lib/opengl/nvidia/lib/tls/libnvidia-tls.so.1 &&
xine

The sample nvidia libs are probably not the problem, just an example. I've not been able to reproduce the problem with OpenOffice. The example was taken from Comment #6, #9, and #11 in the gentoo bug.

http://bugs.gentoo.org/show_bug.cgi?id=52374

-- DJ Lucas

--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to