Re: Xlib
On Tue, 22 Jul 1997, joost witteveen wrote:
: > I thought Debian XFree86 3.3 was thread safe anyway. But assuming you
: > know what you're talkign about here...
:
: Thought so too ..
I'm using Debian XFree86 3.3 indeed, but when running Mnemonic
(pre-alpha-release), I get X-io errors. These are generated by GTK (the
toolkit we're using for the graphics), and *seem* to have their origin in
the use of non-thread-safe libraries.
: > Most likely, you want to use LD_LIBRARY_PATH. Also, are you sure the
: > normal X programs work with your safe libraries? Wouldn't it be
: > easier to do the following?
: >
: > % alias mnemonic='LD_LIBRARY_PATH=~/src/Xlib-threadsafe ~/bin/mnemonic'
:
: That's one way, but assuming his thread safe libs are OK, he problably
: wants to use them for all his programmes.
The LD_LIBRARY_PATH-hack doesn't seem to work.
:
: The best way probably just is to add `~remco/src/Xlib-threadsafe' in
: /etc/ld.so.conf.
I just tried it, and indeed, it (Mnemonic) runs fine (that is, no X-io
errors).
[remco@oloon:~/src/mnemonic/src]$ ldd mnemonic
libdb.so.1 => /usr/lib/libdb.so.1
libgdbm.so.1 => /usr/lib/libgdbm.so.1
libdl.so.1 => /lib/libdl.so.1
libpthread.so.0 => /lib/libpthread.so.0
libX11.so.6 => /home/system/remco/src/Xlib-threadsafe/libX11.so.6
libXext.so.6 => /home/system/remco/src/Xlib-threadsafe/libXext.so.6
libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4
libstdc++.so.27 => /usr/lib/libstdc++.so.27
libm.so.5 => /lib/libm.so.5
libc.so.5 => /lib/libc.so.5
libXThrStub.so.6 => /home/system/remco/src/Xlib-threadsafe/libXThrStub.so.6
Thanks for the help.
--
// Remco van de Meent
// email: remco@oloon.student.utwente.nl
// www: http://oloon.student.utwente.nl
// " Never make any mistaeks. "
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to:
- Follow-Ups:
- Re: Xlib
- From: joost@rulcmc.leidenuniv.nl (joost witteveen)
- References:
- Re: Xlib
- From: joost@rulcmc.leidenuniv.nl (joost witteveen)