Skip to content

installation fails on Alpine Linux #414

@bastistician

Description

@bastistician

The pre-compiled Bloomberg binaries that the package downloads during installation seem to assume a glibc-based Linux OS.
On Alpine Linux, I get:

** using staged installation
Setting up compilation for a linux x86_64 system
** libs
[...]
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for 'Rblpapi' in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/home/runner/R-patched/lib/00LOCK-Rblpapi/00new/Rblpapi/libs/Rblpapi.so':
  Error loading shared library libresolv.so.2: No such file or directory (needed by /home/runner/R-patched/lib/00LOCK-Rblpapi/00new/Rblpapi/libs/../blp/libblpapi3_64.so)
Error: loading failed

ldd additionally shows:

Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by blp/libblpapi3_64.so)
Error relocating blp/libblpapi3_64.so: __register_atfork: symbol not found
Error relocating blp/libblpapi3_64.so: __strdup: symbol not found
Error relocating blp/libblpapi3_64.so: setcontext: symbol not found
Error relocating blp/libblpapi3_64.so: __strftime_l: symbol not found
Error relocating blp/libblpapi3_64.so: makecontext: symbol not found
Error relocating blp/libblpapi3_64.so: backtrace: symbol not found
Error relocating blp/libblpapi3_64.so: getcontext: symbol not found

AFAICS, the only thing this R package could do about this is to clarify the restriction in the SystemRequirements,

Rblpapi/DESCRIPTION

Lines 19 to 21 in ec8da69

documentation. Currently supported platforms are Windows and Linux (both for
x86-64 processors only) as well as macOS (for arm64 only). Other os-cpu pairings
are not supported by Bloomberg and can therefore not be fully supported here.

and maybe also in the README#Status Section, so this becomes a known limitation.
(I'll put 'Rblpapi' on my "stoplist".)

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