Re: IDL on Mac Funning Yosemite? [message #92848 is a reply to message #89459] |
Thu, 10 March 2016 16:19   |
huntleyhal
Messages: 1 Registered: March 2016
|
Junior Member |
|
|
On Saturday, October 18, 2014 at 12:52:24 PM UTC-7, fawltyl...@gmail.com wrote:
> On Saturday, October 18, 2014 8:40:22 PM UTC+2, Antonio Carlos Varela Saraiva wrote:
>> Em sábado, 18 de outubro de 2014 15h27min09s UTC-3, Antonio Carlos Varela Saraiva escreveu:
>>
>>> Em sábado, 18 de outubro de 2014 09h11min38s UTC-3, nerdzoo escreveu:
>>
>>>
>>
>>>> On Friday, October 17, 2014 11:11:53 PM UTC-5, David Fanning wrote:
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> > Folks,
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> >
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> >
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> >
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> > I got an e-mail today from someone who claims he can't get either IDL
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> >
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> > 7.1 or IDL 8.2 to run on the Yosemite version of OS X. Is there any
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> >
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> > truth to this? Is there a trick to installing IDL on this OS?
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> >
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> I can confirm that IDL 8.2 fails to run in Yosemite with the following error message:
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> nerdzoo:/usr/local/exelis/idl82/bin$ idl
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> dyld: Library not loaded: /usr/X11/lib/libfreetype.6.dylib
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> Referenced from: /usr/local/exelis/idl82/bin/bin.darwin.x86_64/libidl.8.2.dyl ib
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> Reason: image not found
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> Trace/BPT trap: 5
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> idlde also does not run, but prints out a longer report that can be sent to Apple.
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> IDL 8.3 and 8.4 are ok. With 8.4 on Yosemite, however, firing up idlde the first time complained about need to install "legacy Java SE 6 runtime." You're directed to Apple's download site. After installation, idlde works okay.
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> -Caesar
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> >
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> >
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> > This person claims the problem is with libPNG. Can anyone fill me in on
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> >
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> > what he is talking about. :-(
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> >
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> >
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> >
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> > Thanks,
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> >
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> >
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> >
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> > David
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> >
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> > --
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> >
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> > David Fanning, Ph.D.
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> >
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> > Fanning Software Consulting, Inc.
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> >
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> > Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> >
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> > Sepore ma de ni thue. ("Perhaps thou speakest truth.")
>>
>>>
>>
>>>
>>
>>>
>>
>>> Hi there,
>>
>>>
>>
>>>
>>
>>>
>>
>>> It is my first post here, in fact, I was the one who wrote to David to find a solution for older IDL versions to run on OS X Yosemite. Like Cesar said, the newer versions of IDL (8.3+) are working on Yosemite. I downloaded the demo version of ENVI 5.1 and tested on Yosemite with everything working flawlessly.
>>
>>>
>>
>>>
>>
>>>
>>
>>> The problem I noticed with IDL 7.1 and 8.2 is with libPNG and libz. It seems that libz needs some sort of symbol called "_inflateReset2" presented in libPng, but it is missing in the newer version included in the OS. Both IDL versions fails with the same error. When I installed IDL 8.3 I noticed that it doesn't use libz anymore, and, therefore, the error is gone.
>>
>>>
>>
>>>
>>
>>>
>>
>>> I thought that, maybe, I could copy the old libPng from Mavericks and somehow redirect libz to look for the old libPng. The problem is that I don't know how to do it and neither if that is possible. I assume that Apple could fix this easily and I filled a bug report, but has I don't thrust on "easy fixes" from Apple, I wonder if any good soul would be willing to help me in this subject.
>>
>>>
>>
>>>
>>
>>>
>>
>>> I really need to use IDL 7.1 and would not like to start using it on virtual machines or be forced to keep an outdated OS on my computer.
>>
>>>
>>
>>>
>>
>>>
>>
>>> Thank you all,
>>
>>>
>>
>>>
>>
>>>
>>
>>> Antonio
>>
>>
>>
>> Sorry, I forgot to post the message:
>>
>>
>>
>> This is what I get when I tried to load either idl 7.1 and 8.2
>>
>>
>>
>> dyld: Symbol not found: _inflateReset2
>>
>> Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/Reso urces/libPng.dylib
>>
>> Expected in: /Applications/itt/idl71/bin/bin.darwin.x86_64/libz.1.dylib
>>
>> in /System/Library/Frameworks/ImageIO.framework/Versions/A/Reso urces/libPng.dylib
>>
>> Trace/BPT trap: 5
>
> Backup IDL's libz.1.dylib somewhere, then remove it from /Applications/itt/idl71/bin/bin.darwin.x86_64. Now IDL will have to use the system zlib and probably it has the missing symbol.
>
> regards,
> Lajos
This worked for my similar problem. All I did was rename the libz.1.dylib file and then restarted idl. It worked fine. I did this for version 8.2 of IDL.
Hal
|
|
|