You are not logged in.

#1 2013-12-19 15:13:35

unikum
Member
From: Russia
Registered: 2010-09-04
Posts: 151
Website

[SOLVED] RStudio desktop broken after boost-libs update

Hello.

After recent boost-libs update I can't start RStudio with erorr:

$ rstudio 
rstudio: symbol lookup error: rstudio: undefined symbol: _ZN5boost10filesystem6detail9copy_fileERKNS0_4pathES4_NS0_11copy_option9enum_typeEPNS_6system10error_codeE

I tried rebuild rstudio-desktop-git package from AUR but without any results. I got following error:

Linking CXX executable rstudio
[ 67%] Building CXX object src/cpp/r/CMakeFiles/rstudio-r.dir/session/RSearchPath.cpp.o
../core/librstudio-core.a(FilePath.cpp.o): In function `core::FilePath::copy(core::FilePath const&) const':
FilePath.cpp:(.text+0x3bbf): undefined reference to `boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::copy_option::enum_type, boost::system::error_code*)'
collect2: error: execute ld with exit code 1
src/cpp/desktop/CMakeFiles/rstudio.dir/build.make:1861: ошибка выполнения рецепта для цели «src/cpp/desktop/rstudio»
make[2]: *** [src/cpp/desktop/rstudio] Error 1
CMakeFiles/Makefile2:533: ошибка выполнения рецепта для цели «src/cpp/desktop/CMakeFiles/rstudio.dir/all»
make[1]: *** [src/cpp/desktop/CMakeFiles/rstudio.dir/all] Error 2

Packages versions:

local/rstudio-desktop-git 0.98.483-1
    A new integrated development environment (IDE) for R programming language
extra/boost 1.55.0-3
    Free peer-reviewed portable C++ source libraries - Development
extra/boost-libs 1.55.0-3
    Free peer-reviewed portable C++ source libraries - Runtime

Last edited by unikum (2013-12-20 12:44:58)

Offline

#2 2013-12-19 15:21:16

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] RStudio desktop broken after boost-libs update

Have you tried https://aur.archlinux.org/packages/rstudio-desktop-bin/ or https://aur.archlinux.org/packages/rstudio/ ?

Next time run

LC_ALL=C <command>

to get the output in English.

Offline

#3 2013-12-19 15:34:07

unikum
Member
From: Russia
Registered: 2010-09-04
Posts: 151
Website

Re: [SOLVED] RStudio desktop broken after boost-libs update

@karol: thx for quick reply.

https://aur.archlinux.org/packages/rstudio/ - is recovery tool.

Errors text on English:

../core/librstudio-core.a(FilePath.cpp.o): In function `core::FilePath::copy(core::FilePath const&) const':
FilePath.cpp:(.text+0x3bbf): undefined reference to `boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::copy_option::enum_type, boost::system::error_code*)'
collect2: error: ld returned 1 exit status
src/cpp/diagnostics/CMakeFiles/diagnostics.dir/build.make:103: recipe for target 'src/cpp/diagnostics/diagnostics' failed
make[2]: *** [src/cpp/diagnostics/diagnostics] Error 1
CMakeFiles/Makefile2:483: recipe for target 'src/cpp/diagnostics/CMakeFiles/diagnostics.dir/all' failed
make[1]: *** [src/cpp/diagnostics/CMakeFiles/diagnostics.dir/all] Error 2

and later

../core/librstudio-core.a(FilePath.cpp.o): In function `core::FilePath::copy(core::FilePath const&) const':
FilePath.cpp:(.text+0x3bbf): undefined reference to `boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::copy_option::enum_type, boost::system::error_code*)'
collect2: error: ld returned 1 exit status
src/cpp/desktop/CMakeFiles/rstudio.dir/build.make:1861: recipe for target 'src/cpp/desktop/rstudio' failed
make[2]: *** [src/cpp/desktop/rstudio] Error 1
CMakeFiles/Makefile2:533: recipe for target 'src/cpp/desktop/CMakeFiles/rstudio.dir/all' failed
make[1]: *** [src/cpp/desktop/CMakeFiles/rstudio.dir/all] Error 2

Offline

#4 2013-12-19 16:58:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] RStudio desktop broken after boost-libs update

unikum wrote:

@karol: thx for quick reply.

https://aur.archlinux.org/packages/rstudio/ - is recovery tool.

Argh, sorry. Thankfully there already are comments suggesting name change.


Post the link to this thread in the comments on https://aur.archlinux.org/packages/rstudio-desktop-git/ , maybe some user will know what's going on.

Offline

#5 2013-12-20 12:44:33

unikum
Member
From: Russia
Registered: 2010-09-04
Posts: 151
Website

Re: [SOLVED] RStudio desktop broken after boost-libs update

Fixed with boost and boost-libs 1.55.0-4.

Offline

Board footer

Powered by FluxBB