[MacPorts] #66332: R @4.2.2_1: error when trying to install.packages possibly due to port/rpath configuration

MacPorts noreply at macports.org
Wed Nov 23 13:07:10 UTC 2022


#66332: R @4.2.2_1: error when trying to install.packages possibly due to
port/rpath configuration
---------------------------+--------------------
  Reporter:  MarcKaufmann  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  R             |
---------------------------+--------------------

Comment (by kencu):

 mine works fine to install "fs", but if you notice, my  -Wl,-rpath entry
 looks slightly different than yours, and yours seems to  be missing a
 comma:

 mine:
 {{{
 CC="/opt/local/bin/clang-mp-14" CFLAGS="-pipe -Os -arch x86_64
 -I/opt/local/include -fPIC " AR="ar" RANLIB="ranlib"
 LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names
 -Wl,-rpath,/opt/local/lib/libgcc -arch x86_64" ./configure --quiet)
 }}}

 yours
 {{{
 CC="/opt/local/bin/clang-mp-14" CFLAGS="-pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64
 -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fPIC "
 AR="ar" RANLIB="ranlib" LDFLAGS="-L/opt/local/lib
 -Wl,-headerpad_max_install_names -Wl,-rpath /opt/local/lib/libgcc
 -Wl,-rpath,/opt/local/lib/libgcc
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
 -arch arm64" ./configure --quiet)
 }}}

 I'm on High Sierra today.

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


More information about the macports-tickets mailing list