Re: Xlib
Remco van de Meent <remco@Cam053212.student.utwente.nl> writes:
> I have thread-safe version of the X-libraries.
> What I want to do, is start X, and a client, using those libraries, instead
> of those in /usr/X11R6/lib.
I thought Debian XFree86 3.3 was thread safe anyway. But assuming you
know what you're talkign about here...
The X server is single-threaded anyway and quite independent of the
client libs. In fact:
% ldd =XF86_S3V
libm.so.5 => /lib/libm.so.5 (0x4000e000)
libdl.so.1 => /lib/libdl.so.1 (0x40016000)
libc.so.5 => /lib/libc.so.5 (0x40019000)
No X libs there.
> Should I use 'LD_PRELOAD' ?
> And anyone know which `export LD_PRLOAD="list:of:libraries"` I should use?
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'
--
Carey Evans <*> c.evans@clear.net.nz
"these are not inherent flaws in [NT] -- they don't happen by accident.
They are the result of deliberate and well-thought-out efforts." - MS
--
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:
- Xlib
- From: Remco van de Meent <remco@oloon.student.utwente.nl>