OpenBLAS ERROR
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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