Missing symbols in lib/macos64/libsparksee.dylib (Sparksee 5.2.0)?

44 views
Skip to first unread message

art...@gmail.com

unread,
May 17, 2016, 10:25:31 AM5/17/16
to Sparksee
I am trying to compile the helloSparksee example on Mac OS X 10.11.5 using the Evaluation download of Sparksee 5.2.0 C++. I've installed the Sparksee libraries in /usr/local/sparksee. Compilation goes OK, but linking fails. Examining the library using strings I see symbols in /usr/local/sparksee/lib/linux64/libsparksee.so that I do not see in /usr/local/sparksee/lib/macos64/libsparksee.dylib.

Am I doing something wrong here or is the Mac OS X C++ build of Sparksee missing some symbols in the library (optimized out perhaps)?

Arthurs-MacBook-4:helloSparksee arthur$ c++ -o helloSparksee helloSparksee.o -L /usr/local/sparksee/lib/macos64/ -lsparksee

Undefined symbols for architecture x86_64:

  "sparksee::gdb::Graph::NewEdgeType(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > const&, bool, bool)", referenced from:

      _main in helloSparksee.o

  "sparksee::gdb::Graph::NewNodeType(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > const&)", referenced from:

      _main in helloSparksee.o

  "sparksee::gdb::Graph::NewAttribute(int, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > const&, sparksee::gdb::DataType, sparksee::gdb::AttributeKind)", referenced from:

      _main in helloSparksee.o

  "sparksee::gdb::Graph::NewRestrictedEdgeType(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > const&, int, int, bool)", referenced from:

      _main in helloSparksee.o

  "sparksee::gdb::Value::SetStringVoid(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > const&)", referenced from:

      sparksee::gdb::Value::SetString(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > const&) in helloSparksee.o

  "sparksee::gdb::Sparksee::Create(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > const&, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > const&)", referenced from:

      _main in helloSparksee.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)


c3po.ac

unread,
May 18, 2016, 4:38:10 AM5/18/16
to Sparksee
Hi,

The Sparksee library was linked to a stdlib incompatible with the stdlib that you are using, so the methods with stl arguments can't be properly linked.

You should contact Dàmaris (dam...@sparsity-technologies.com) to get the right Sparksee library for your compiler/stdlib.

Best regards.

El dimarts, 17 maig de 2016 16:25:31 UTC+2, art...@gmail.com va escriure:

art...@gmail.com

unread,
May 18, 2016, 7:03:41 AM5/18/16
to spar...@googlegroups.com
Thanks, I'll drop him a note.

Reply all
Reply to author
Forward
0 new messages