Help with DYLD_LIBRARY_PATH

M-Rick m.rick.mac at gmail.com
Thu Jul 3 05:24:52 PDT 2014


Le 3 juil. 2014 à 07:41, Ryan Schmidt a écrit :

> 
> On Jul 2, 2014, at 3:04 PM, M-Rick <m.rick.mac at gmail.com> wrote:
> 
>> I wanted to install SAGA GIS and forcing MacPorts to build over already existing libraries.
>> I edited the macports.conf file and added this line but MacPorts doesn't seem to care about…
>> 
>> Is this correct?
>> 
>> extra_env           	DYLD_LIBRARY_PATH=/Library/Frameworks/GEOS.framework/Versions/Current/unix/lib:/Library/Frameworks/GDAL.framework/Versions/Current/unix/lib: /Library/Frameworks/PROJ.framework/Versions/Current/unix/lib:/Library/Frameworks/PROJ.framework/Versions/Current/unix/lib:/opt/lib
> 
> It is almost always incorrect for a user to try to set the DYLD_LIBRARY_PATH variable to any value.
> 
> Could you explain in more detail exactly what you're trying to accomplish? Then maybe we can suggest the correct solution. You mentioned "SAGA GIS". Is this something available in MacPorts?

yes
https://www.macports.org/ports.php?by=name&substr=saga
https://trac.macports.org/browser/trunk/dports/gis/saga/Portfile

> If so, what is the port name, or, if it is not yet an official port, where can the portfile be found? Or is it something you're compiling manually? If so, how does this relate to MacPorts? Are you using MacPorts ports as dependencies?

Non I want but build Saga, and use pre-built frameworks shared by other softwares.

So what i want is to use the provided basic libs available in MacPorts, but it also use the ones i pointed
/Library/Frameworks/GEOS.framework/Versions/Current/unix/lib
/Library/Frameworks/GDAL.framework/Versions/Current/unix/lib
/Library/Frameworks/PROJ.framework/Versions/Current/unix/lib



More information about the macports-users mailing list