Remco van de Meent <[EMAIL PROTECTED]> 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  <*>  [EMAIL PROTECTED]

"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
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to