$ rstudio Cannot open "/usr/local/lib/gcc6/libgcc_s.so" $ sed -n \$p $(which rstudio) LD_PRELOAD=/usr/local/lib/gcc6/libgcc_s.so /usr/local/lib/rstudio/bin/rstudio "" There 2 issues: - Doesn't respect GCC version used by USES=fortran which already embeds RPATH - Loses additional arguments as $@ is gone after substitution I've tried invoking /usr/local/lib/rstudio/bin/rstudio directly in otherwise pristine 11.2 amd64 jail and rstudio starts fine.
Fixed, thanks for reporting this.
A commit references this bug: Author: yuri Date: Sat Nov 3 06:04:08 UTC 2018 New revision: 483877 URL: https://svnweb.freebsd.org/changeset/ports/483877 Log: devel/RStudio: Fix the gcc version in LD_PRELOAD to be based on GCC_DEFAULT PR: 232923 Reported by: jbeich Changes: head/devel/RStudio/Makefile