incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dykman <>
Subject DataStax C++ on Ubuntu - linking question
Date Thu, 06 Mar 2014 14:36:29 GMT
I managed to get built without error but am somewhat
confused about the depending libraries.   In the documentation, I read
that the XX-mt version of boost are required (which makes all kinds of
sence) and files generated by cmake seem to agree as I have:

In ./CMakeFiles/cql.dir/build.make
... /usr/lib/ /usr/lib/

which are the version I would expect.

When I examine the resulting shared library though, I see this:

mdykman@sage:~/projects/datastax-cpp-driver$ ldd =>  (0x00007fff5d5fc000) => /usr/lib/
(0x00007fbf2f999000) => /usr/lib/
(0x00007fbf2f780000) => /lib/x86_64-linux-gnu/ (0x00007fbf2f521000) => /lib/x86_64-linux-gnu/
(0x00007fbf2f146000) => /lib/x86_64-linux-gnu/ (0x00007fbf2ef29000) => /usr/lib/x86_64-linux-gnu/ (0x00007fbf2ec28000) => /lib/x86_64-linux-gnu/ (0x00007fbf2e92c000) => /lib/x86_64-linux-gnu/ (0x00007fbf2e716000) => /lib/x86_64-linux-gnu/ (0x00007fbf2e355000) => /lib/x86_64-linux-gnu/ (0x00007fbf2e151000) => /lib/x86_64-linux-gnu/ (0x00007fbf2df3a000)
/lib64/ (0x00007fbf301eb000)

I have confirmed that /usr/lib has both -mt and non-mt  version of all
the shared libraries.

Does anyone know why my version appears to have linked to the
single-threaded version and what I can do to fix that?

 - michael dykman

 May the Source be with you.

View raw message