Skip to content

Docker could not load xacc_iontrap #258

@adinwritescode

Description

@adinwritescode

Hi, I found this issue marked resolved, but it seems like it persists in the Docker image.

Error Report:

~ $ qcor -v cpp-examples/adder/add_3_5.cpp
[qcor-exec] /usr/local/aideqc/llvm/bin/clang++ -std=c++17 -include /usr/local/aideqc/qcor/include/qcor/qcor_lang_ext.hpp -fplugin=/usr/local/aideqc/qcor/clang-plugins/libqcor-syntax-handler.so -B /usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1 -L /usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1 -Wno-unused-command-line-argument -Wno-override-module -Xclang -plugin-arg-qcor-args -Xclang -qpu -Xclang -plugin-arg-qcor-args -Xclang qpp -I /usr/local/aideqc/qcor/include/xacc -I /usr/local/aideqc/qcor/include/cppmicroservices4 -I /usr/local/aideqc/qcor/include/qcor -I /usr/local/aideqc/qcor/include/quantum/gate -I /usr/local/aideqc/qcor/include/eigen -I /usr/include/c++/10.3.1 -I /usr/include/c++/10.3.1/x86_64-alpine-linux-musl -rdynamic -Wl,-rpath,/usr/local/aideqc/qcor/lib:/usr/local/aideqc/qcor/lib:/usr/local/aideqc/llvm/lib:/usr/local/aideqc/qcor/clang-plugins -L /usr/local/aideqc/qcor/lib -lqcor -lqrt -lqcor-jit -lqcor-quasimo -L /usr/local/aideqc/qcor/lib -lxacc -lCppMicroServices -lxacc-quantum-gate -lxacc-pauli -lxacc-fermion -lpthread -lqir-qrt -D__internal__qcor__compile__backend="qpp" cpp-examples/adder/add_3_5.cpp
[2022-06-23 20:52:28.664] [xacc-logger] [error] [XACC Error] Could not load xacc_iontrap, error message: Bundle#42 start failed: Error loading shared library libxacc-circuit-optimizers.so: No such file or directory (needed by /usr/local/aideqc/qcor/plugins/libxacc-iontrap.so)
[2022-06-23 20:52:28.664] [xacc-logger] [error] [XACC Error] Framework Exiting
clang-12: error: clang frontend command failed with exit code 255 (use -v to see invocation)
clang version 12.0.0 (https://github.com/ornl-qci/llvm-project-csp a380b85e218b226186799a1340b88ee3845e2bfb)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/local/aideqc/llvm/bin
clang-12: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-12: note: diagnostic msg: /tmp/add_3_5-1f2737.cpp
clang-12: note: diagnostic msg: /tmp/add_3_5-1f2737.sh
clang-12: note: diagnostic msg:

********************
None
255

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions