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

Home » Public Forums » archive » IDL on Mac Funning Yosemite?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
IDL on Mac Funning Yosemite? [message #89453] Fri, 17 October 2014 21:11 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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?

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.")
Re: IDL on Mac Funning Yosemite? [message #89454 is a reply to message #89453] Fri, 17 October 2014 21:13 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

"Funning"!? Seriously. I need to get another beer. :-(

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.")
Re: IDL on Mac Funning Yosemite? [message #89455 is a reply to message #89453] Sat, 18 October 2014 05:11 Go to previous messageGo to next message
nerdzoo is currently offline  nerdzoo
Messages: 4
Registered: July 2012
Junior Member
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.")
Re: IDL on Mac Funning Yosemite? [message #89456 is a reply to message #89455] Sat, 18 October 2014 11:27 Go to previous messageGo to next message
acvsaraiva is currently offline  acvsaraiva
Messages: 4
Registered: October 2014
Junior Member
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
Re: IDL on Mac Funning Yosemite? [message #89457 is a reply to message #89456] Sat, 18 October 2014 11:40 Go to previous messageGo to next message
acvsaraiva is currently offline  acvsaraiva
Messages: 4
Registered: October 2014
Junior Member
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
Re: IDL on Mac Funning Yosemite? [message #89458 is a reply to message #89453] Sat, 18 October 2014 12:38 Go to previous messageGo to next message
ivan.courriel is currently offline  ivan.courriel
Messages: 1
Registered: October 2014
Junior Member
I found an amazingly simple solution. (I'm running IDL 8.2)

Just go to Applications/exelis/idl82/bin/bin.darwin.x86_64 and you should have two files named libz.1.dylib and libz.1.2.3.dylib (or some new version). Delete libz.1.dylib and IDL 8.2 should work perfectly.

At least it did for me.

On Saturday, October 18, 2014 6:11:53 AM UTC+2, 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?
>
>
>
> 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.")
Re: IDL on Mac Funning Yosemite? [message #89459 is a reply to message #89457] Sat, 18 October 2014 12:52 Go to previous messageGo to next message
Lajos Foldy is currently offline  Lajos Foldy
Messages: 176
Registered: December 2011
Senior Member
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
Re: IDL on Mac Funning Yosemite? [message #89460 is a reply to message #89459] Sat, 18 October 2014 14:36 Go to previous messageGo to next message
acvsaraiva is currently offline  acvsaraiva
Messages: 4
Registered: October 2014
Junior Member
Em sábado, 18 de outubro de 2014 16h52min24s UTC-3, fawltyl...@gmail.com escreveu:
> 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

Thanks guys, I should really work... I did a similar solution I found on exelis forum, from a guy named Hakan. I backup the old libz and went to /usr/lib and copied the libz.1.dylib to exelis folder (where the original is) and it worked fine. It also worked for IDL 7.1 which made me happier.

Thanks again,
Antonio
Re: IDL on Mac Funning Yosemite? [message #89461 is a reply to message #89459] Sat, 18 October 2014 16:51 Go to previous messageGo to next message
Saurav is currently offline  Saurav
Messages: 3
Registered: April 2012
Junior Member
Hi Ivan and Lajos,

I got the same problem in IDL 7.1 and moved IDL's libz.1.dylib as you suggested. Now IDL gets started up, reads the startup file, but then crashes:

saurav: ~ > idl
IDL Version 7.1, Mac OS X (darwin x86_64 m64). (c) 2009, ITT Visual Information Solutions

% Compiled module: ASTROLIB.
% Compiled module: LOADCT.
No matching pixelformats found, perhaps try using LIBGL_ALLOW_SOFTWARE
Abort trap: 6
saurav: ~ >

Any ideas what is happening and how to fix it?

Thanks, in advance, for your help,
~Saurav
Re: IDL on Mac Funning Yosemite? [message #89462 is a reply to message #89461] Sat, 18 October 2014 16:59 Go to previous messageGo to next message
Saurav is currently offline  Saurav
Messages: 3
Registered: April 2012
Junior Member
Actually, just fixed my own problem by going along with your suggestion for libz. I moved /Applications/itt/idl/bin/bin.darwin.x86_64/gl_driver.so elsewhere, and it worked like a charm.

Cheers,
~Saurav
Re: IDL on Mac Funning Yosemite? [message #89464 is a reply to message #89453] Sat, 18 October 2014 21:16 Go to previous messageGo to next message
jradavenport is currently offline  jradavenport
Messages: 6
Registered: July 2007
Junior Member
I was able to get it working using the info here, and playing around with it a bit. Here's the error I was getting:

dyld: Library not loaded: /usr/X11/lib/libfreetype.6.dylib
Referenced from: /Applications/itt/idl/bin/bin.darwin.x86_64/libidl.7.1.dylib
Reason: image not found
Trace/BPT trap: 5


It looks like Yosemite no longer has /usr/X11, instead it has /opt/X11.So my first solution was to create a symbolic link:

sudo ln -s /opt/X11 /usr/X11


Then it gave me another error:

dyld: Symbol not found: _inflateReset2
Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/Reso urces/libPng.dylib
Expected in: /Applications/itt/idl/bin/bin.darwin.x86_64/libz.1.dylib
in /System/Library/Frameworks/ImageIO.framework/Versions/A/Reso urces/libPng.dylib
Trace/BPT trap: 5


and so I deleted this file (which is actually a sym link i think):
/Applications/itt/idl/bin/bin.darwin.x86_64/libz.1.dylib

and now we are golden, it works great!


On Friday, October 17, 2014 9:11:53 PM UTC-7, 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?
>
>
>
> 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.")
Re: IDL on Mac Funning Yosemite? [message #89465 is a reply to message #89464] Sun, 19 October 2014 11:57 Go to previous messageGo to next message
granttremblay is currently offline  granttremblay
Messages: 2
Registered: October 2014
Junior Member
this solution worked perfectly for me! Thank you!


On Sunday, October 19, 2014 12:16:26 AM UTC-4, jradav...@gmail.com wrote:
> I was able to get it working using the info here, and playing around with it a bit. Here's the error I was getting:
>
>
>
> dyld: Library not loaded: /usr/X11/lib/libfreetype.6.dylib
>
> Referenced from: /Applications/itt/idl/bin/bin.darwin.x86_64/libidl.7.1.dylib
>
> Reason: image not found
>
> Trace/BPT trap: 5
>
>
>
>
>
> It looks like Yosemite no longer has /usr/X11, instead it has /opt/X11.So my first solution was to create a symbolic link:
>
>
>
> sudo ln -s /opt/X11 /usr/X11
>
>
>
>
>
> Then it gave me another error:
>
>
>
> dyld: Symbol not found: _inflateReset2
>
> Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/Reso urces/libPng.dylib
>
> Expected in: /Applications/itt/idl/bin/bin.darwin.x86_64/libz.1.dylib
>
> in /System/Library/Frameworks/ImageIO.framework/Versions/A/Reso urces/libPng.dylib
>
> Trace/BPT trap: 5
>
>
>
>
>
> and so I deleted this file (which is actually a sym link i think):
>
> /Applications/itt/idl/bin/bin.darwin.x86_64/libz.1.dylib
>
>
>
> and now we are golden, it works great!
>
>
>
>
>
> On Friday, October 17, 2014 9:11:53 PM UTC-7, 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?
>
>>
>
>>
>
>>
>
>> 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.")
Re: IDL on Mac Funning Yosemite? [message #89557 is a reply to message #89464] Sun, 26 October 2014 17:08 Go to previous messageGo to next message
jinddu is currently offline  jinddu
Messages: 1
Registered: October 2014
Junior Member
Hi jradav

How about this case?

dyld: warning, DYLD_ setting caused circular dependency in /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
IDL Version 8.2, Mac OS X (darwin x86_64 m64). (c) 2012, Exelis Visual Information Solutions, Inc.
Segmentation fault: 11

Please help me

Regards,
Jin-Soo Kim

2014년 10월 19일 일요일 오후 1시 16분 26초 UTC+9, jradav...@gmail.com 님의 말:
> I was able to get it working using the info here, and playing around with it a bit. Here's the error I was getting:
>
> dyld: Library not loaded: /usr/X11/lib/libfreetype.6.dylib
> Referenced from: /Applications/itt/idl/bin/bin.darwin.x86_64/libidl.7.1.dylib
> Reason: image not found
> Trace/BPT trap: 5
>
>
> It looks like Yosemite no longer has /usr/X11, instead it has /opt/X11.So my first solution was to create a symbolic link:
>
> sudo ln -s /opt/X11 /usr/X11
>
>
> Then it gave me another error:
>
> dyld: Symbol not found: _inflateReset2
> Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/Reso urces/libPng.dylib
> Expected in: /Applications/itt/idl/bin/bin.darwin.x86_64/libz.1.dylib
> in /System/Library/Frameworks/ImageIO.framework/Versions/A/Reso urces/libPng.dylib
> Trace/BPT trap: 5
>
>
> and so I deleted this file (which is actually a sym link i think):
> /Applications/itt/idl/bin/bin.darwin.x86_64/libz.1.dylib
>
> and now we are golden, it works great!
>
>
> On Friday, October 17, 2014 9:11:53 PM UTC-7, 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?
>>
>>
>>
>> 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.")
Re: IDL on Mac Funning Yosemite? [message #89609 is a reply to message #89464] Fri, 31 October 2014 08:02 Go to previous messageGo to next message
granttremblay is currently offline  granttremblay
Messages: 2
Registered: October 2014
Junior Member
While I was able to get jradav's fix to work on a machine which had IDL 8.2 installed **prior** to the upgrade to Yosemite, it looks like the IDL 8.2 *installer* isn't working when trying to install a fresh IDL 8.2 installation on a new machine running Yosemite.

The issue is that the installer only has "greyed out" options when trying to either "Install for all Users" or "install for me only".

I have created the symbolic link ( sudo ln -s /opt/X11 /usr/X11 ) prior to trying to run the installer, but no luck.

Any ideas?

here is what the issue looks like: http://imgur.com/sYBaAL3


On Sunday, October 19, 2014 12:16:26 AM UTC-4, jradav...@gmail.com wrote:
> I was able to get it working using the info here, and playing around with it a bit. Here's the error I was getting:
>
> dyld: Library not loaded: /usr/X11/lib/libfreetype.6.dylib
> Referenced from: /Applications/itt/idl/bin/bin.darwin.x86_64/libidl.7.1.dylib
> Reason: image not found
> Trace/BPT trap: 5
>
>
> It looks like Yosemite no longer has /usr/X11, instead it has /opt/X11.So my first solution was to create a symbolic link:
>
> sudo ln -s /opt/X11 /usr/X11
>
>
> Then it gave me another error:
>
> dyld: Symbol not found: _inflateReset2
> Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/Reso urces/libPng.dylib
> Expected in: /Applications/itt/idl/bin/bin.darwin.x86_64/libz.1.dylib
> in /System/Library/Frameworks/ImageIO.framework/Versions/A/Reso urces/libPng.dylib
> Trace/BPT trap: 5
>
>
> and so I deleted this file (which is actually a sym link i think):
> /Applications/itt/idl/bin/bin.darwin.x86_64/libz.1.dylib
>
> and now we are golden, it works great!
>
>
> On Friday, October 17, 2014 9:11:53 PM UTC-7, 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?
>>
>>
>>
>> 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.")
Re: IDL on Mac Funning Yosemite? [message #89633 is a reply to message #89609] Mon, 03 November 2014 06:44 Go to previous messageGo to next message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Same problem here !

The issue is that the installer only has "greyed out" options when trying to either "Install for all Users" or "Install for me only".

nata
Re: IDL on Mac Funning Yosemite? [message #89641 is a reply to message #89633] Mon, 03 November 2014 17:14 Go to previous messageGo to next message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
The answer from Technical Support:

IDL 8.2 is not officially supported on Mac 10.10 (Yosemite). For officially supported platforms for IDL 8.2, please see this help article http://www.exelisvis.com/Support/HelpArticlesDetail/TabId/21 9/ArtMID/900/ArticleID/5242/5242.aspx.

We have had several customers able to get their IDL 8.4 running on 10.10 by using this help article http://www.exelisvis.com/Support/HelpArticlesDetail/TabId/21 9/ArtMID/900/ArticleID/14200/Is-ENVI-52--IDL-84-compatible-w ith-Mac-OS-X-1010-Yosemite.aspx

IDL 8.4 is not officially supported for Mac 10.10 but seems to be working. Maybe this help article above can be helpful to you.
Re: IDL on Mac Funning Yosemite? [message #89668 is a reply to message #89458] Sun, 09 November 2014 11:37 Go to previous messageGo to next message
aslihanu is currently offline  aslihanu
Messages: 1
Registered: November 2014
Junior Member
I removed libz.1.dylib. It worked, but another program "RMFIT", which I run through idl vm, is working very slow now. Any suggestions to fix it?

Thanks,
Aslihan

On Saturday, October 18, 2014 10:38:11 PM UTC+3, ivan.c...@gmail.com wrote:
> I found an amazingly simple solution. (I'm running IDL 8.2)
>
> Just go to Applications/exelis/idl82/bin/bin.darwin.x86_64 and you should have two files named libz.1.dylib and libz.1.2.3.dylib (or some new version). Delete libz.1.dylib and IDL 8.2 should work perfectly.
>
> At least it did for me.
>
> On Saturday, October 18, 2014 6:11:53 AM UTC+2, 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?
>>
>>
>>
>> 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.")
Re: IDL on Mac Funning Yosemite? [message #89707 is a reply to message #89453] Tue, 18 November 2014 14:10 Go to previous messageGo to next message
o.o.d.sachta is currently offline  o.o.d.sachta
Messages: 1
Registered: November 2014
Junior Member
Can anyone please help me?
After deleting libz.1.dylib I still cannot debug or run.
The error is:
yld: Symbol not found: _inflateReset2
Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/Reso urces/libPng.dylib
Expected in: /Applications/idl711darwin.i386_ppc/idl71//bin/bin.darwin.x8 6_64/libz.1.dylib
in /System/Library/Frameworks/ImageIO.framework/Versions/A/Reso urces/libPng.dylib

Thanks a lot,
Petr Šácha.

Dne sobota, 18. října 2014 6:11:53 UTC+2 David Fanning napsal(a):
> 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?
>
> 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.")
Re: IDL on Mac Funning Yosemite? [message #89719 is a reply to message #89455] Wed, 19 November 2014 20:20 Go to previous messageGo to next message
SHENYUE JIA is currently offline  SHENYUE JIA
Messages: 2
Registered: November 2014
Junior Member
Yes. Heard about this JAVA v6 problem on Yosemite. And it brings trouble with QGIS as well. Hope Apple can fix it in the later versions.

On Saturday, October 18, 2014 5:11:38 AM UTC-7, nerdzoo wrote:
> 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.")
Re: IDL on Mac Funning Yosemite? [message #89738 is a reply to message #89455] Tue, 25 November 2014 17:19 Go to previous messageGo to next message
kevin.ddu is currently offline  kevin.ddu
Messages: 2
Registered: November 2014
Junior Member
> 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

I had a similar issue. After upgrading to Yosemite, I could not load IDL from the command line.

The error read:
dyld: Library not loaded: /usr/X11/lib/libXp.6.dylib
Referenced from: /Applications/exelis/idl82/bin/bin.darwin.x86_64/libidl.8.2. dylib
Reason: image not found
Trace/BPT trap: 5

After noticing I did not have an X11 directory in the /usr/ directory, I soft linked it from /opt/X11/:

sudo mkdir /usr/X11/
password: ******
sudo ln -s /opt/X11/* /usr/X11/

This solved my issue.

-Kevin
Re: IDL on Mac Funning Yosemite? [message #89739 is a reply to message #89738] Tue, 25 November 2014 17:23 Go to previous messageGo to next message
kevin.ddu is currently offline  kevin.ddu
Messages: 2
Registered: November 2014
Junior Member
> sudo mkdir /usr/X11/
> password: ******
> sudo ln -s /opt/X11/* /usr/X11/
>
> This solved my issue.

Ooops, I forgot to include the last step:
Before checking if IDL worked, I ran idl_setup.bash.

So, if the first two steps (mkdir, ln) do not work, make sure to do this last step (if not using the bash shell, use the appropriate idl_setup).

-Kevin
Re: IDL on Mac Funning Yosemite? [message #89763 is a reply to message #89739] Tue, 02 December 2014 10:44 Go to previous messageGo to next message
nauraj1 is currently offline  nauraj1
Messages: 1
Registered: December 2014
Junior Member
On Tuesday, November 25, 2014 8:23:12 PM UTC-5, kevi...@gmail.com wrote:
>> sudo mkdir /usr/X11/
>> password: ******
>> sudo ln -s /opt/X11/* /usr/X11/
>>
>> This solved my issue.
>
> Ooops, I forgot to include the last step:
> Before checking if IDL worked, I ran idl_setup.bash.
>
> So, if the first two steps (mkdir, ln) do not work, make sure to do this last step (if not using the bash shell, use the appropriate idl_setup).
>
> -Kevin

Hello all,

I have same problem with KARMA. I couldn't solve it. I would be grateful if any of you can solve my problem. Thanks in advance -Nauraj

The issue is:

dyld: Library not loaded: /usr/X11/lib/libXaw.7.dylib
Referenced from: /usr/local/karma/bin/kvis
Reason: image not found
Trace/BPT trap: 5
Re: IDL on Mac Funning Yosemite? [message #90813 is a reply to message #89458] Mon, 20 April 2015 05:38 Go to previous messageGo to next message
kevinheng is currently offline  kevinheng
Messages: 1
Registered: April 2015
Junior Member
This was BRILLIANT!!! THANKS FOR THIS!!!

On Saturday, October 18, 2014 at 9:38:11 PM UTC+2, ivan.c...@gmail.com wrote:
> I found an amazingly simple solution. (I'm running IDL 8.2)
>
> Just go to Applications/exelis/idl82/bin/bin.darwin.x86_64 and you should have two files named libz.1.dylib and libz.1.2.3.dylib (or some new version). Delete libz.1.dylib and IDL 8.2 should work perfectly.
>
> At least it did for me.
>
> On Saturday, October 18, 2014 6:11:53 AM UTC+2, 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?
>>
>>
>>
>> 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.")
Re: IDL on Mac Funning Yosemite? [message #90924 is a reply to message #89454] Wed, 13 May 2015 01:04 Go to previous messageGo to next message
donchuphd is currently offline  donchuphd
Messages: 1
Registered: May 2015
Junior Member
Can you explain that further?
Re: IDL on Mac Funning Yosemite? [message #91866 is a reply to message #89464] Mon, 07 September 2015 15:50 Go to previous messageGo to next message
gatita.kat is currently offline  gatita.kat
Messages: 1
Registered: September 2015
Junior Member
Solution worked for me! Thanks.
Re: IDL on Mac Funning Yosemite? [message #92848 is a reply to message #89459] Thu, 10 March 2016 16:19 Go to previous message
huntleyhal is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: INTERPOLATE function - Question
Next Topic: plotting

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

Current Time: Wed Oct 08 09:19:56 PDT 2025

Total time taken to generate the page: 0.00608 seconds