17 Oct 2014 04:21 AM |
|
My IDL 8.1 stopped working after I upgraded the system to OS X Yosemite. It appears to be related to some dynamic library.Here is what I have:bash> idldyld: Symbol not found: _inflateReset2 Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib Expected in: /Applications/itt/idl/idl81/bin/bin.darwin.x86_64/libz.1.dylib in /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylibTrace/BPT trap: 5I have reinstalled zlib and libpng through Macports but that didn't help. Any suggestions? Thanks in advance!
|
|
|
|
Deleted User New Member
Posts:  
17 Oct 2014 09:12 AM |
|
IDL 8.2 doesn't work neither on my machine, although with a sligthly different issue. When I first tried to start from a terminal, I got the error:
dyld: Library not loaded: /usr/X11/lib/libfreetype.6.dylib
Referenced from: /Applications/Work/itt/idl82/bin/bin.darwin.x86_64/libidl.8.2.dylib
Reason: image not found
Trace/BPT trap: 5
I then noticed that the X11 folder has been moved to /opt - or maybe was already there, but as a matter of facts no link is present in /usr. Hence, I (re?)created the symbolic link and tried to re-run IDL again, this time getting the following error:
dyld: Symbol not found: _inflateReset2
Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
Expected in: /Applications/Work/itt/idl82/bin/bin.darwin.x86_64/libz.1.dylib
in /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
Trace/BPT trap: 5
|
|
|
|
Deleted User New Member
Posts:  
17 Oct 2014 03:05 PM |
|
That's exactly what happened to me too. I did the same thing.
I'm away from the affected computer right now, but have the following idea. Please try it out if you'd like (I'll try it tonight).
It seems that the file /Applications/itt/idl/idl81/bin/bin.darwin.x86_64/libz.1.dylib is a link to libz.1.2.3.dylib in the same directory, which looks dated.
I have a newer version installed, /opt/local/lib/libz.1.2.8.dylib, so may be I can make the IDL version (libs.1.dylib) linking to this one.
|
|
|
|
Deleted User New Member
Posts:  
17 Oct 2014 11:11 PM |
|
Seems to work! :D
|
|
|
|
Deleted User New Member
Posts:  
18 Oct 2014 02:19 AM |
|
Hi together,
I had (have) the same problem. I'm on OS X Yosemite and using IDL 8.2.
Under /opt/ I just have an installation of X11. So I looked up under /usr/lib and found among others the following files:
lrwxr-xr-x 1 root wheel 12 17 Okt 21:32 libz.1.1.3.dylib -> libz.1.dylib
lrwxr-xr-x 1 root wheel 12 17 Okt 21:32 libz.1.2.5.dylib -> libz.1.dylib
-rwxr-xr-x 1 root wheel 169312 10 Sep 01:21 libz.1.dylib
lrwxr-xr-x 1 root wheel 12 17 Okt 21:32 libz.dylib -> libz.1.dylib
So I just relinked the file libz.1.dylib (which on my system is located in: /Applications/exelis/idl82/bin/bin.darwin.x86_64), which in fact is linked to this file in the same folder libz.1.2.3.dylib, to the file libz.1.dylib in /user/lib/.
This seems to work, because now I can start IDL in the console. But there seems to be a problem concerning the license now. I got the following error message:
IDL Version 8.2, Mac OS X (darwin x86_64 m64). (c) 2012, Exelis Visual Information Solutions, Inc.
% LICENSE MANAGER: Invalid host.
The hostid of this system does not match the hostid
specified in the license file.
Feature: idl
Hostid: xxxxxxxxxxxx
License path: /Applications/exelis/license/license.dat:/Applications/exelis/license/*.lic:
FLEXnet Licensing error:-9,57
For further information, refer to the FLEXnet Licensing documentation,
available at "www.acresso.com"..
License file: /Applications/exelis/license/license.dat:/Applications/exelis/license/*.lic
% Entering timed demo mode. Each session is limited to 7 minutes of operation. Printing and file saving are disabled.
To learn more about our license options for this product, please contact your account manager or Exelis Visual
Information Solutions, Inc. at info@exelisvis.com.
I know there was an issues concerning the host ID at the switch from 10.7 to 10.8. Then the host ID changed from the ethernet card to the wifi card. I am now wondering if Apple changed it back.
Nevertheless, because of the fact, that I have an student license, I think I will have to get a new one. But before that, I need to know, which host ID I'll have to use.
|
|
|
|
Deleted User New Member
Posts:  
18 Oct 2014 02:29 AM |
|
Hi,
it really seems, that Apple changed the host ID back from wifi to ethernet card. I looked it up, in my current license file the host id is from wifi, but when you follow this instruction, the ./lmhostid command returns the mac address of the ethernet card.
|
|
|
|
Deleted User New Member
Posts:  
18 Oct 2014 03:23 PM |
|
Dear Hakan,
I also was caught by surprise after install the new Apple OS X. It reminded me when I upgraded from Snow Leopard to Lion and saw IDL 7.1 crashing upon a new installation. I also thought about what you said since I realized the problem these past 2 days but didn't have the knowledge to go after the newer version of libz that was already installed in my computer. I looked everywhere for a newer libz and had one right under my nose.
Now both my IDL installations are working, thanks to you. The only thing I did differently was copy/paste the libz.1.dylib directly into my exelis and itt folders. On IDL 7.1 it worked out of the box, which is the version of IDL I need most. For IDL 8.2 I use an institutional license and have to be connected on the internet all the time, so I prefer to use the good old 7.1. However, for this institutional license for IDL 8.2 it worked also flawlessly. I actually had the same error than you but that was because I did so many tests with IDL that I forgot to install the license file again, which probably is not your case.
Also, IDL versions 8.3 and 8.4 work out of the box on OS X Yosemite. They don't use libz, that's why.. If upgrading to a newer version is ok for you, do it and you won't have problems anymore.
Cheers,
Antonio
|
|
|
|
Deleted User New Member
Posts:  
19 Oct 2014 04:18 AM |
|
simonsun1983@hotmail.com Sun wrote:
That's exactly what happened to me too. I did the same thing.
I'm away from the affected computer right now, but have the following idea. Please try it out if you'd like (I'll try it tonight).
It seems that the file /Applications/itt/idl/idl81/bin/bin.darwin.x86_64/libz.1.dylib is a link to libz.1.2.3.dylib in the same directory, which looks dated.
I have a newer version installed, /opt/local/lib/libz.1.2.8.dylib, so may be I can make the IDL version (libs.1.dylib) linking to this one.
Thanks, your solution did work for me (fortunately I had a newer version of that library somewhere on my Mac!)
I also tried to install IDL 8.4, and that worked too, but unfortunately my license is valid only for IDL versions previous to 8.4! I'll try 8.3 eventually.
|
|
|
|
Deleted User New Member
Posts:  
19 Oct 2014 10:42 PM |
|
I have a similar problem. Here's what I got:
bash-3.2$ idl
dyld: Library not loaded: /usr/X11/lib/libfreetype.6.dylib
Referenced from: /Applications/itt/idl/idl80/bin/bin.darwin.x86_64/libidl.8.0.dylib
Reason: image not found
Trace/BPT trap: 5
X11 used to be in "/usr/X11", but in this update it was installed in /opt/X11.
All I did was making a soft link named X11 in /usr/ to /opt/X11/ , after that I can restart IDL without a problem.
|
|
|
|
Deleted User New Member
Posts:  
19 Oct 2014 10:52 PM |
|
I didn't have to change my Host ID, which is still linked to my wifi mac address.
So yours might be a different issue if your host id is already your wifi mac address.
|
|
|
|
Deleted User New Member
Posts:  
10 Jan 2015 11:40 AM |
|
How do you link the files?
|
|
|
|
Deleted User New Member
Posts:  
19 Jan 2015 01:18 PM |
|
I removed the existing link from lib.1.dylib to lib.1.2.3.dylib and pointed it to lib.1.dylib in usr/lib/ and IDL now works again for me. Detailed instructions:
cd /Applications/exelis/idl82/bin/bin.darwin.x86_64
rm libz.1.dylib
ln -s /usr/lib/libz.1.dylib libz.1.dylib
After that, IDL 8.2.2 on OS X 10.10.1 Yosemite is now working fine for me.
|
|
|
|