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

Home » Public Forums » archive » cgwindow unable to create PDF file in IDL 8.3
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: cgwindow unable to create PDF file in IDL 8.3 [message #88174 is a reply to message #88166] Tue, 25 March 2014 09:37 Go to previous messageGo to previous message
Mats Löfdahl is currently offline  Mats Löfdahl
Messages: 263
Registered: January 2012
Senior Member
Den tisdagen den 25:e mars 2014 kl. 15:09:21 UTC+1 skrev Mats Löfdahl:
> Den tisdagen den 25:e mars 2014 kl. 14:51:27 UTC+1 skrev David Fanning:
>
>> Mats,
>
>> OK, here is what I think is going on here.
>
>> IDL 8.3 is being shipped with a version of zlib (1.2.3) that is
>> incompatible with the version of zlib (1.2.8) that is being used by
>> recent versions of Ghostscript and ImageMagick. This results, then, in
>> an inability to spawn these commands from within IDL. Although the same
>> commands will work correctly when issued from a UNIX command line.
>
>> Barry Lesht discovered on his Mac that replacing IDL's version of zlib
>> with the version of zlib used by ImageMagick restored this
>> functionality:
>
>> http://www.idlcoyote.com/graphics_tips/macspawnim.php
>
>> I'm guessing something of the sort will be required on the UNIX side,
>> too.
>
> Thanks a bunch David. I'll ask my sysadm to have a look at it and report back when we've tried it.

I got immediate feedback from my sysadm:

"Hm, it appears that on Linux, IDL does not have its own version of zlib,
instead it always uses the one from the operating system. Which is the same one
that ImageMagick uses."

I then showed him this thread and he realized that the important error message was this:

gs: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory

That version of libjpeg was not installed on the computer I was using. Now it is, and my problems are gone.

Thanks again!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Some histogram magic help required - gridding/counting large dataset
Next Topic: Map Projection Bug?

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

Current Time: Mon Oct 27 03:04:22 PDT 2025

Total time taken to generate the page: 0.02742 seconds