-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clickhouse 13.3-RELEASE FreeBSD 'c++: error: no such file or directory: 'libclang_rt.builtins-x86_64.a' #62628
Comments
libclang_rt.builtins-x86_64.a located in compiler-rt package on arch at least, you can try install the same on FreeBSD |
file libclang_rt.builtins-x86_64.a exists in system
if I copy one of them to build directory in Clickhouse I recieve another error
I don't know how to compile Clickhouse on Freebsd and can't found any solution in Google :( |
By some reason clang cannot find it, clickhouse uses this command for this |
As for another error, workaround is to disable bcrypt - |
Also not |
Thank you azat I am really appreciate you reply! now it works! Small instruction if someone want to compile clickhouse in freesd jail ( 13.3-RELEASE amd64)
|
It is still unclear why the following command does not work for you - |
Fix for |
I have tried fresh install in the new Freebsd Jail
libclang_rt.builtins-x86_64.a exists in system by llvm package but clang can't find it and i don't know why :(
|
The problem that it searches in a different paths:
So it is likely a bug in llvm |
And even
And this maybe a pkg bug I guess |
This one works:
|
If I use clang15 from llvm15 it could found libclang_rt.builtins-x86_64.a
|
I will fix it for all cases, no worries |
Can you please try this patch? #64051 |
This comment was marked as resolved.
This comment was marked as resolved.
I installed llvm15 and llvm17
it's confusing... in LLVM 15 filename + $ARCH
and
but
|
Hm, interesting so you have to specify exactly Can you use |
I forget for truss, sorry
|
This is the problem:
It did not parsed Maybe |
Hello,
I try install clickhouse in Freebsd Jail, but couldn't compile it from source
Cmake options (-DCMAKE_CXX_STANDARD=20 -DENABLE_EMBEDDED_COMPILER=OFF -DENABLE_THINLTO=OFF -DENABLE_PARQUET=OFF -DENABLE_UTILS=ON -DNO_WERROR=1 -DCOMPILER_CACHE=disabled; ) I take from /usr/ports/databases/clickhouse/Makefile
maybe someone have correct instruction how compile clickhouse on freebsd ?
-- Git HEAD commit hash: e3c09e9
Operating system: FreeBSD 13.3-RELEASE
make version: cmake-3.28.1
Ninja version: ninja-1.11.1,2
Compiler name and version: clang version 17.0.6
Full cmake and/or ninja output
git clone --recursive --shallow-submodules https://github.com/ClickHouse/ClickHouse.git
cd ClickHouse;
mkdir build; \
than
cmake --build build
The text was updated successfully, but these errors were encountered: