#13831: R install does not install correct paths for libR.dylib in so's ----------------------------------+----------------------------------------- Reporter: john_owens@yahoo.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: R | ----------------------------------+----------------------------------------- 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 -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13831> MacPorts </projects/macports> Ports system for Mac OS