[MacPorts] #13831: R install does not install correct paths for libR.dylib in so's
#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
#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 Resolution: | Keywords: R -----------------------------------+---------------------------------------- Old 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
New 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 }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13831#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#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 Resolution: | Keywords: R -----------------------------------+---------------------------------------- Changes (by ryandesign@macports.org): * cc: konis@stats.ox.ac.uk (added) Comment: Cc'ing maintainer of R. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13831#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13831: R install does not install correct paths for libR.dylib in so's -----------------------------------+---------------------------------------- Reporter: john_owens@yahoo.com | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: R -----------------------------------+---------------------------------------- Changes (by ryandesign@macports.org): * owner: macports-tickets@lists.macosforge.org => ryandesign@macports.org -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13831#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13831: R install does not install correct paths for libR.dylib in so's -----------------------------------+---------------------------------------- Reporter: john_owens@yahoo.com | Owner: ryandesign@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: R -----------------------------------+---------------------------------------- Changes (by ryandesign@macports.org): * status: new => closed * resolution: => fixed Comment: Thanks for the update! I committed your whitespace changes in r34155 and the update to 2.6.2 with the library install name fixes in r34156. You should probably acquaint yourself with the tcl `foreach` function to make this portfile much simpler. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13831#comment:5> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts