[MacPorts] #55748: rsgislib @2.1.20140825_3: build failure, update problems with Boost

MacPorts noreply at macports.org
Mon Jan 29 05:14:17 UTC 2018


#55748: rsgislib @2.1.20140825_3: build failure, update problems with Boost
-----------------------+----------------------
  Reporter:  ForTozs   |      Owner:  Veence
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.2
Resolution:            |   Keywords:  haspatch
      Port:  rsgislib  |
-----------------------+----------------------

Comment (by ForTozs):

 I'm new to all this, but I might have had a little luck (well, and
 Google). I am able to make the import after issuing the command:

 {{{
 sudo install_name_tool -add_rpath "/opt/local/lib"
 /opt/local/Library/Frameworks/
     Python.framework/Versions/3.5/lib/python3.5/site-
 packages/rsgislib/imagecalc/
     _imagecalc.cpython-35m-darwin.so
 }}}

 Now, this is likely not be the preferred way, but I imagine I may be able
 to execute this with my Portfile by using:

 {{{
 destroot {
     system "install_name_tool -add_rpath "/opt/local/lib"
 /opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
 /site-packages/rsgislib/imagecalc/_imagecalc.cpython-35m-darwin.so"
 }
 }}}

 It is getting late over here and I won't be going any further tonight, but
 there are quite possibly many other rsgislib libraries that need to be
 linked properly. If anyone knows the best way to do this, please let me
 know.

--
Ticket URL: <https://trac.macports.org/ticket/55748#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list