-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 4/8/11 3:32 PM, Ken Mankoff wrote:
> On Fri, Apr 8, 2011 at 12:30 PM, Alexander Hansen
> <[email protected]> wrote:
> On 4/8/11 3:18 PM, Ken Mankoff wrote:
>>>> On Fri, Apr 8, 2011 at 11:38 AM, Alexander Hansen
>>>> <[email protected]> wrote:
>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>> Hash: SHA1
>>>>>
>>>>> On 4/8/11 2:13 PM, Ken Mankoff wrote:
>>>>>> Hi fink list,
>>>>>>
>>>>>> I've recently discovered my 'gs' has stopped working. Not sure why.
>>>>>> I am using the http://xquartz.macosforge.org/ X11 which some old
>>>>>> emails imply might be related to this. When I run gs, this is what I
>>>>>> get:
>>>>>>
>>>>>> $ /sw/bin/gs
>>>>>> dyld: Library not loaded: /usr/X11/lib/libpng12.0.dylib
>>>>>>    Referenced from: /usr/X11/lib/libcairo.2.dylib
>>>>>>    Reason: Incompatible library version: libcairo.2.dylib requires
>>>>>> version 45.0.0 or later, but libpng12.0.dylib provides version 36.0.0
>>>>>> Trace/BPT trap
>>>>>>
>>>>>> Any tips to fix this will be much appreciated.
>>>>>>

<snip>

> If your setup looks the same, including the output from "otool -L
> /usr/X11/lib/libpng12.0.dylib", then something else may be derailing the
> dynamic link process, such as use of DYLD_LIBRARY_PATH.
> 
> That being said, ghostscript should use the Fink versions of libraries
> rather than those that came with X11.
>>

> Thanks the DYLD_LIBRARY_PATH was the clue. I had set that elsewhere
> and that was the problem. Everything is working properly now.

>    -k.

Yeah, DYLD_LIBRARY_PATH derails the normal lookup for the dynamic
loader.  DYLD_FALLBACK_LIBRARY_PATH adds paths to the lookup--more like
LD_LIBRARY_PATH in Linux.
- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2fY78ACgkQB8UpO3rKjQ/a2QCffeMt+0P1j19fToSkFqjquEN7
DW0AoJTd3OesGf/2f03o/GCiK4nBUpTH
=/jCM
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to