FS#66142 - [coin-or-cbc] add nauty as deps
Attached to Project:
Community Packages
Opened by Michel (xantares) - Monday, 06 April 2020, 11:21 GMT
Last edited by Antonio Rojas (arojas) - Monday, 06 April 2020, 11:36 GMT
Opened by Michel (xantares) - Monday, 06 April 2020, 11:21 GMT
Last edited by Antonio Rojas (arojas) - Monday, 06 April 2020, 11:36 GMT
|
Details
nauty was added as a makedepend and this is fine as it only
provides a static library
however now every package that links to coin-or-cbc will require nauty too: ``` ** Warning: Linking the shared library libbonmin.la against the *** static library /usr/lib/libnauty.a is not portable! g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/crtbeginS.o .libs/BonCbc.o .libs/BonCbcNlpStrategy.o .libs/BonCbcNode.o .libs/BonBabInfos.o .libs/BonGuessHeurist ic.o .libs/BonDiver.o -Wl,--whole-archive ../Algorithms/.libs/libbonalgorithms.a ../Interfaces/.libs/libbonmininterfaces.a Heuristics/.libs/libbonheuristics.a -Wl,--no-whole-archive -lCbcSolver -lCbc -lpthread -lrt /usr/lib/libnauty.a - lCgl -lOsiClp -lOsi -lClpSolver -lClp -lcholmod -lCoinUtils -lbz2 -lz -lglpk -llapack -lblas -lipopt -L/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr /lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../lib/crtn.o -march=x86-64 -mtune=generic -Wl,-O1 -Wl,--sort-common - Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libbonmin.so.4 -o .libs/libbonmin.so.4.8.8 g++: error: /usr/lib/libnauty.a: No such file or directory ``` As a workaround we could move nauty to the depencies here Another alternative would be building nauty as a shared lib |
This task depends upon
Closed by Antonio Rojas (arojas)
Monday, 06 April 2020, 11:36 GMT
Reason for closing: Fixed
Additional comments about closing: coin-or-cbc 2.10.5-3
Monday, 06 April 2020, 11:36 GMT
Reason for closing: Fixed
Additional comments about closing: coin-or-cbc 2.10.5-3