Skip to content

RQuantLib package can't be installed (error: unable to be loaded) on Mac #1

@iautoman

Description

@iautoman

Hi, i'm new to R and QuantLib. After both (latest versions) installed on mac (latest), i was trying to install RQuantLib until the following issue came up. I read some q&a, but still cant fixed it. Any one can help pls? Thanks.
`
installing to /Library/Frameworks/R.framework/Versions/3.3/Resources/library/RQuantLib/libs
** R
** data
** demo
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/Library/Frameworks/R.framework/Versions/3.3/Resources/library/RQuantLib/libs/RQuantLib.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.3/Resources/library/RQuantLib/libs/RQuantLib.so, 6): Symbol not found: __ZN8QuantLib13FixedRateBondC1EjdRKNS_8ScheduleERKNSt3__16vectorIdNS4_9allocatorIdEEEERKNS_10DayCounterENS_21BusinessDayConventionEdRKNS_4DateERKNS_8CalendarERKNS_6PeriodESK_SE_b
Referenced from: /Library/Frameworks/R.framework/Versions/3.3/Resources/library/RQuantLib/libs/RQuantLib.so
Expected in: flat namespace
in /Library/Frameworks/R.framework/Versions/3.3/Resources/library/RQuantLib/libs/RQuantLib.so
Error: loading failed
Execution halted
ERROR: loading failed

  • removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/RQuantLib’
    `

AL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions