[MacPorts] #49418: vtk5: dyld: Library not loaded: /opt/local/lib/vtk-5.10/libvtksys.5.10.dylib (was: Can't compile vtk5 +python27 +qt4_mac under 10.11.1)

MacPorts noreply at macports.org
Sat Oct 24 10:05:53 PDT 2015


#49418: vtk5: dyld: Library not loaded:
/opt/local/lib/vtk-5.10/libvtksys.5.10.dylib
-------------------------------+--------------------------------
  Reporter:  leonardo.pires@…  |      Owner:  macports-tickets@…
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.3.4
Resolution:                    |   Keywords:  elcapitan
      Port:  vtk5              |
-------------------------------+--------------------------------
Changes (by ryandesign@…):

 * keywords:   => elcapitan


Comment:

 I think the problem is that as of OS X 10.11 El Capitan, DYLD_*
 environment variables are not passed to subshells; this is a security
 measure. I have not examined vtk5's build system closely to see if a
 subshell is being used, but I assume that must be what's happening. We
 would then have to see if the subshell can be avoided somehow, or if the
 DYLD_LIBRARY_PATH environment variable can be set closer to the place
 where it's actually needed.

-- 
Ticket URL: <https://trac.macports.org/ticket/49418#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list