Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when linking libmedusa to libOGDF #74

Open
dnivra opened this issue Apr 15, 2017 · 1 comment
Open

Error when linking libmedusa to libOGDF #74

dnivra opened this issue Apr 15, 2017 · 1 comment

Comments

@dnivra
Copy link

dnivra commented Apr 15, 2017

I am trying to build the dev branch of medusa(15ce1d7) and I get the following error:

Linking CXX shared library ../../lib/libmedusa.so
/usr/bin/ld: $HOME/.hunter/_Base/8c538a0/a1b471c/15fdb4a/Install/lib/libOGDF.a(Graph.cpp.o): relocation R_X86_64_32S against `_ZN4ogdf13AdjEntryArrayIbE10resetIndexEii' can not be used when making a shared object; recompile with -fPIC
$HOME/.hunter/_Base/8c538a0/a1b471c/15fdb4a/Install/lib/libOGDF.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
src/core/CMakeFiles/medusa.dir/build.make:1607: recipe for target 'lib/libmedusa.so' failed
make[2]: *** [lib/libmedusa.so] Error 1
CMakeFiles/Makefile2:200: recipe for target 'src/core/CMakeFiles/medusa.dir/all' failed
make[1]: *** [src/core/CMakeFiles/medusa.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2

Seems like there's an issue when building OGDF.

I'm using a fully updated Ubuntu 16.04.2 running cmake 3.8.0. Steps to reproduce:

  1. Clone the repository.
  2. Run cmake -DCMAKE_BUILD_TYPE=Release .. from a build directory in source tree.
  3. Run make.
@wisk
Copy link
Owner

wisk commented Jul 23, 2018

Hi dnivra,

OGDF dependency will be handled by vcpkg. Normally, this issue will be fixed soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants