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

undefined symbol: _ZN6Gecode16VarBranchOptions3defE #40

Open
h4ck3rm1k3 opened this issue Sep 8, 2015 · 1 comment
Open

undefined symbol: _ZN6Gecode16VarBranchOptions3defE #40

h4ck3rm1k3 opened this issue Sep 8, 2015 · 1 comment

Comments

@h4ck3rm1k3
Copy link

On debian unstable, the version 4 geode is installed.

The symptom of the problem

>>>>>> Message: Could not load or activate Berkshelf (Could not open library '/var/lib/gems/2.1.0/gems/dep_selector-1.0.3/lib/dep_gecode.so': /var/lib/gems/2.1.0/gems/dep_selector-1.0.3/lib/dep_gecode.so: undefined symbol: _ZN6Gecode16VarBranchOptions3defE)

The solution :

  1. add this to your apt-sources
    deb http://ftp.us.debian.org/debian/ wheezy main contrib non-freeroot
  2. install the right version
    apt-get install libgecode-dev=3.7.3-1

It would be great to have some check for the version in the code.

@h4ck3rm1k3 h4ck3rm1k3 changed the title undefined symbol: _ZN6Gecode16VarBranchOptions3defE) undefined symbol: _ZN6Gecode16VarBranchOptions3defE Sep 8, 2015
@h4ck3rm1k3
Copy link
Author

chef/dep-selector-libgecode#45 pull request for updated doc. Really the dep selector needs to pick the right version, we might have multiple versions of the dep-selector-libgecode installed, in fact I did.

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

1 participant