Skip to content

Mac Monterey error #274

@symiin

Description

@symiin

In CompileCode in dynrFunctionAddress.R, there is this check:
if ( !file.exists(libLFile) | length(errmsg) > 1 ) {

However, with Mac Monterey, there are always a few warning messages about linkers. These will be there for a while until Apple or other places begin to fix XCode, etc. For instance, I got this warning message:
ld: warning: -undefined dynamic_lookup may not work with chained fixups
It is benign, but it does change length(errmsg) to > 0 and stop dynr from going forward.

I verified that if I change length(errmsg) to > 1, it ran fine.
Can someone please help me write some quick code to exclude warning messages from the count in errmsg?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions