Opened 16 years ago

Last modified 15 years ago

#13831 closed defect

R install does not install correct paths for libR.dylib in so's — at Initial Version

Reported by: jowens (John Owens) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: R Cc:
Port:

Description

I don't know that much about the install process here ... but to link R with rpy, I have to manually run install_name_tool to change all the instances of libR.dylib to the correct path for libR.dylib.

503 cd /opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/ 504 ls 505 otool -L _rpy2061.so 506 install_name_tool -change libR.dylib /opt/local/lib/R/lib/libR.dylib _rpy2061.so 507 sudo _rpy2061.so 508 sudo install_name_tool -change libR.dylib /opt/local/lib/R/lib/libR.dylib _rpy2061.so 509 otool -L _rpy2061.so 510 cd /opt/local/lib/R/library/methods/libs/ 511 otool -L methods.so 512 sudo install_name_tool -change libR.dylib /opt/local/lib/R/lib/libR.dylib methods.so 513 cd /opt/local/lib/R/library/grDevices/libs/ 514 otool -L grDevices.so 515 sudo install_name_tool -change libR.dylib /opt/local/lib/R/lib/libR.dylib grDevices.so 516 cd /opt/local/lib/R/library/stats/libs/ 517 otool -L stats.so 518 sudo install_name_tool -change libR.dylib /opt/local/lib/R/lib/libR.dylib stats.so 519 cd /opt/local/lib/R/modules/ 520 otool -L R_X11.so 521 sudo install_name_tool -change libR.dylib /opt/local/lib/R/lib/libR.dylib R_X11.so

Change History (0)

Note: See TracTickets for help on using tickets.