I think it is better to just extract the libX11.so.6.2.0 file from the
Debian package
http://snapshot.debian.net/archive/2007/03/09/debian/pool/main/libx/libx11/libx11-6_1.0.3-6_i386.deb
mentioned inthe ITT Tech Tip #4177 and add a LD_LIBRARY_PATH
modification pointing to that file for IDL only. That way you don't
cpmpromise your remaining system with that downgraded library.

Get root permissions if necessary and create a directory
/usr/local/rsi/lib. (adopt to other path if your IDL installation
differs).

First extract only the library from the downloaded deb file. Do this in
a convenient way with midnight commander (mc). Inside mc just hit Enter
on the deb file and then examine its content interactively, go to
CONTENTS/usr/lib and copy (via F5) libX11.so.6.2.0 to
/usr/local/rsi/lib/.

Then outside of mc create the following symlink

cd /usr/local/rsi/lib
ln -sf libX11.so.6.2.0 libX11.so.6

Now modify the IDL start script /usr/local/rsi/idl/bin/idl (near line
280) in the following way:

Inside the "linux" section of the architecture dependent "case"
statement add

  LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH

somewhere before the "export LD_LIBRARY_PATH" statement. Or just use the
attached patch.

Albrecht


** Attachment added: "extend LD_LIBRARY_PATH of idl to /usr/local/rsi/lib for 
libx11 workaround"
   http://librarian.launchpad.net/7425308/idl-libx11-so.patch

-- 
Security update of libx11-6 causes IDL segfault
https://bugs.launchpad.net/bugs/107945
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to