comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: seg fault with simple tv or tvrd()
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: seg fault with simple tv or tvrd() [message #55536 is a reply to message #55473] Mon, 27 August 2007 09:02 Go to previous message
Foldy Lajos is currently offline  Foldy Lajos
Messages: 268
Registered: October 2001
Senior Member
On Tue, 21 Aug 2007, David Fanning wrote:

> kirt writes:
>
>> I'm trying to resurrect IDL on a ubuntu box and am struggling with a
>> basic tv (or tvrd) seg fault.
>> I feel like an idiot asking this, but I can't perform a simple tv or
>> tvrd() without a segmentation fault.
>
> Here you go:
>
> http://www.dfanning.com/misc_tips/segfault.html
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
>

Hi,

I have found a workaround, which does not require deprecating the system
X11 library.

1. find a copy of the old "working" libX11.so.6 file and copy it
somewhere, eg. /my/private/lib/libX11.so.6

2. bash: export LD_PRELOAD_PATH=/my/private/lib
tcsh: setenv LD_PRELOAD_PATH /my/private/lib

3. run IDL

Now IDL will use /my/private/lib/libX11.so.6 instead of the system library
and it will work correctly.

regards,
lajos
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: How to read ASTER in ENVI?
Next Topic: Natural size of explicitly-sized widget

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 00:40:33 PDT 2025

Total time taken to generate the page: 0.24137 seconds