Closed codebuks closed 6 years ago
Hi,
the error is that is not able to find clang.
I am not really sure how to fix the problem but I would like to point you here: https://github.com/KyleMayes/clang-sys/issues/31
Moreover I am wondering if the pre-compiled binaries are not enough for you. I compiled the last version for x64 and ARMv7, if you need something different I can provide them.
You can get the binaries here: https://github.com/RedBeardLab/rediSQL/releases
My environment is: centos 7 64
uname -a Linux benwen 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
when i load the module using the redis.conf configuration directive: using version 0.2
3373:M 30 Jan 17:17:12.937 # Module /usr/local/bin/libredis_sql_0.2.so failed to load: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /usr/local/bin/libredis_sql_0.2.so) 3373:M 30 Jan 17:17:12.937 # Can't load module from /usr/local/bin/libredis_sql_0.2.so: server aborting
using version 0.3
3620:M 30 Jan 17:24:33.865 # Module /usr/local/bin/libredis_sql_0.3.so failed to load: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /usr/local/bin/libredis_sql_0.3.so) 3620:M 30 Jan 17:24:33.865 # Can't load module from /usr/local/bin/libredis_sql_0.3.so: server aborting
[root@localhost bin]# ldd --version ldd (GNU libc) 2.17 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 由 Roland McGrath 和 Ulrich Drepper 编写。
Hi,
I understand the problem.
In compilation you simply do not have the LIBC path set.
During execution RediSQL requires a newer version of LIBC than the one you have instaled, ideally LIBC should be staticaly compiled inside the shared object but this is simply not the case, and it seems quite complex to get everything as smooth as it should be.
This is quite an issues and other users report the same problem, so I need to find a reasonable solution even if it doesn't seems very simple.
At the moment a reasonable workaround is to use docker, there is a published image on the docker hub mentioned somewhere in the readme (I am writing this from my mobile phone, excuse me for not providing the link).
Hi,
do you mind to check out the answer to the issue #26 .
I upload a new binary and I would like to know if it solves your issues too.
Cheers
the new binary solves my issues, thanks.
3192:M 13 Mar 17:27:58.364 * Module 'rediSQL' loaded from /usr/local/bin/libredis_sql_LIBC2.17.so
3192:M 13 Mar 17:27:58.364 * DB loaded from disk: 0.000 seconds
3192:M 13 Mar 17:27:58.364 * Ready to accept connections
That's great!
Thank you and sorry for taking all this time!
Actually I am working on an improved version of the module, so if you need any features let me know :)
After i install rust use
curl https://sh.rustup.rs -sSf | sh
Then i Compiling the rediSQL following the instruction. I don't know how to solve this problem,can you help me?