• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: setting dyld_library_path causes x11 to fail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting dyld_library_path causes x11 to fail


  • Subject: Re: setting dyld_library_path causes x11 to fail
  • From: Martin Costabel <email@hidden>
  • Date: Wed, 25 Apr 2012 12:04:47 +0200

On 25/04/12 10:28, Jeremy Huddleston wrote:
[]
The only reason I can think of for that happening is if *MATLAB* is doing something wrong with DYLD_ environment variables or if ncdump is not linked correctly.  The output from otool -L above should help me figure that out if it's an  issue in ncdump (which can then be fixed in MacPorts).

MATLAB is indeed setting the DYLD_LIBRARY_PATH environment variable in the wrapper script that launches matlab. They need it because of sloppy linking of their dynamic libraries. Many of them have decent install_names, but many others don't (this is based on observation of Matlab-2008; perhaps newer versions are better behaved in this respect, but I doubt it.)

A better advice of how to fix this in your ~/.tcshrc would be to write

unsetenv DYLD_LIBRARY_PATH

--
Martin

_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)

This email sent to email@hidden

  • Follow-Ups:
    • Re: setting dyld_library_path causes x11 to fail
      • From: Jeremy Huddleston <email@hidden>
References: 
 >setting dyld_library_path causes x11 to fail (From: Andrew Friedman <email@hidden>)
 >Re: setting dyld_library_path causes x11 to fail (From: Jeremy Huddleston <email@hidden>)
 >Re: setting dyld_library_path causes x11 to fail (From: Andrew Friedman <email@hidden>)
 >Re: setting dyld_library_path causes x11 to fail (From: Jeremy Huddleston <email@hidden>)

  • Prev by Date: Re: setting dyld_library_path causes x11 to fail
  • Next by Date: Re: setting dyld_library_path causes x11 to fail
  • Previous by thread: Re: setting dyld_library_path causes x11 to fail
  • Next by thread: Re: setting dyld_library_path causes x11 to fail
  • Index(es):
    • Date
    • Thread