4store / 4store

4store is an efficient, scalable and stable RDF database.
https://4store.github.io
GNU General Public License v3.0
290 stars 73 forks source link

Compilation Error #166

Open MrSampson opened 3 weeks ago

MrSampson commented 3 weeks ago

Sorry to drop in the issues here with what is probably pilot error, but I'm at a loss.

I'd like to install 4store on Fedora Server 40.

When linking:

filter.o:/home/oliver/git/4store/src/frontend/query.h:12: multiple definition of `rasqal_mutex'; 4s-query.o:/home/oliver/git/4store/src/frontend/query.h:12: first defined here
/usr/bin/ld: group.o:/home/oliver/git/4store/src/frontend/query.h:12: multiple definition of `rasqal_mutex'; 4s-query.o:/home/oliver/git/4store/src/frontend/query.h:12: first defined here
/usr/bin/ld: optimiser.o:/home/oliver/git/4store/src/frontend/query.h:12: multiple definition of `rasqal_mutex'; 4s-query.o:/home/oliver/git/4store/src/frontend/query.h:12: first defined here
/usr/bin/ld: update.o:/home/oliver/git/4store/src/frontend/query.h:12: multiple definition of `rasqal_mutex'; 4s-update.o:/home/oliver/git/4store/src/frontend/query.h:12: first defined here
/usr/bin/ld: query.o:/home/oliver/git/4store/src/frontend/query.h:12: multiple definition of `rasqal_mutex'; 4s-update.o:/home/oliver/git/4store/src/frontend/query.h:12: first defined here
/usr/bin/ld: results.o:/home/oliver/git/4store/src/frontend/query.h:12: multiple definition of `rasqal_mutex'; 4s-update.o:/home/oliver/git/4store/src/frontend/query.h:12: first defined here
/usr/bin/ld: query-cache.o:/home/oliver/git/4store/src/frontend/query.h:12: multiple definition of `rasqal_mutex'; 4s-update.o:/home/oliver/git/4store/src/frontend/query.h:12: first defined here
/usr/bin/ld: filter.o:/home/oliver/git/4store/src/frontend/query.h:12: multiple definition of `rasqal_mutex'; 4s-update.o:/home/oliver/git/4store/src/frontend/query.h:12: first defined here
/usr/bin/ld: group.o:/home/oliver/git/4store/src/frontend/query.h:12: multiple definition of `rasqal_mutex'; 4s-update.o:/home/oliver/git/4store/src/frontend/query.h:12: first defined here
/usr/bin/ld: optimiser.o:/home/oliver/git/4store/src/frontend/query.h:12: multiple definition of `rasqal_mutex'; 4s-update.o:/home/oliver/git/4store/src/frontend/query.h:12: first defined here
collect2: error: ld returned 1 exit status

I don't think that installing from sources for raptor and rasqal will solve this problem. Is there something (probably simple) that I'm missing?

Many thanks, and I'm looking forward to getting 4store running! Oliver

swh commented 3 weeks ago

This looks familiar... try going to HEAD and see if that sorts it?

MrSampson commented 3 weeks ago

Unfortunately not. Exactly the same after

  275 git checkout HEAD
  276  make clean
  277  ./autogen.sh 
  278  ./configure
  279  make -j8

Any other ideas?

Thanks for your time!

swh commented 3 weeks ago

Sorry, I can't reproduce it.

Just built on my build box - Ubuntu 18 LTS, and it seems ok.

There's a load of warnings around GMutex, but not related to rasqal.

Is it possible that raptor is linking to one version of rasqal, and 4store is linking to another?