Open dawid-s opened 5 years ago
Thanks of reporting! It seems that updating your glibc library is not possible on CentOS 7. The issue is happening when loading the SourcetrailDB binary. We need to see if we can change the Travis pipeline to use an older glibc version.
Alternatively you can also build the SourcetrailDB python binding yourself (depends on SWIG 3.0.12):
git clone https://github.com/CoatiSoftware/SourcetrailDB.git
cd SourcetrailDB
mkdir build
cd build
cmake -DBUILD_BINDINGS_PYTHON=$PYTHON_BINDING -DPYTHON_VERSION=$PYTHON ..
make
Afterwards you need to replace the file _sourcetraildb.so
in your Sourcetrail install:
cp SourcetrailDB/build/bindings_python/_sourcetraildb.so /opt/sourcetrail/data/python/_sourcetraildb.so
Hi @egraether ,
Thank you for the quick response. I was able to follow all the steps successfully but unfortunately, it didn't help.
What it did seem to have done the trick is renaming/removing /opt/sourcetrail/data/python/libstdc++.so.6
so SourcetrailPythonIndexer
picks up the system one.
I am currently indexing my Python project to confirm but I was able to successfully run ./SourcetrailPythonIndexer -h
without the exception.
Seems like it is working fine. I will see the result of the indexing tomorrow as I had to redo it at some point.
In any case, it seems like it would be best to remove the glib 2.18 dependency if not essential.
Hi there,
When I tried to give Sourcetrail a spin for a Python project on CentOS 7 I get the following:
Is the dependency on glibc 2.18 required? If so this is a bummer as I got quite excited about evaluating Sourcetrail for work but I am using CentOS 7 which is using version 2.17.
Regards, Dawid