OpenNMT / OpenNMT/CTranslate2

OpenBLAS ERROR

Open
#1,797 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
4.7k
Forks
536
Avg merge
12h 12m
Merged PRs (30d)
4

Description

[ 98%] Linking CXX executable ct2-translator
/usr/bin/ld: ../libctranslate2.so.4.4.0: undefined reference to `cblas_sgemm'
collect2: error: ld returned 1 exit status
make[2]: *** [cli/CMakeFiles/translator.dir/build.make:98: cli/ct2-translator] Error 1
make[1]: *** [CMakeFiles/Makefile2:168: cli/CMakeFiles/translator.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
how to solve the problems?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linker failure for cblas_sgemm and trace the target configuration referenced by cli/CMakeFiles/translator.dir/build.make, CMakeFiles/Makefile2, and Makefile. Confirm the translator target's build completes successfully without the undefined-reference error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.