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

SCIP-7.0.3 breaks with zimpl-3.3.6: hidden symbol `xlp_conname_exists' in CMakeFiles/scip.dir/scip/reader_zpl.c.o is referenced by DSO #4

Closed
yurivict opened this issue Aug 1, 2021 · 4 comments
Assignees
Labels

Comments

@yurivict
Copy link

yurivict commented Aug 1, 2021

/usr/local/bin/ld: ../bin/scip: hidden symbol `xlp_conname_exists' in CMakeFiles/scip.dir/scip/reader_zpl.c.o is referenced by DSO
/usr/local/bin/ld: final link failed: bad value
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** [bin/scip] Error code 1

It appears that the cause is that xlp_conname_exists is defined in both SCIP and ZIMPL projects.

OS: FreeBSD 13
clang-11

@fschloesser
Copy link
Contributor

Hey @yurivict can you please add what your compile commands are? Are you using make or cmake? What is the linker call that fails (maybe you need to add VERBOSE=true to the call?)

@fschloesser fschloesser self-assigned this Aug 17, 2021
@leoneifler
Copy link
Contributor

It is intended that this method is defined in the reader_zpl.c. It is declared in xlpglue.h in ZIMPL and the definition inside ZIMPL is only when you build the ZIMPL binary, not when you build the library.
As @fschloesser pointed out, it would be helpful if you could share your build setup (I see that you are using cmake but more information is needed to pinpoint the issue.

@fschloesser
Copy link
Contributor

@yurivict did you resolve you issue or have some more information here?

@yurivict
Copy link
Author

yurivict commented Feb 9, 2022

This doesn't seem to be an issue now since both FreeBSD ports are at these versions.

Thank you.

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

No branches or pull requests

4 participants