Package Details: coin-or-bonmin 1.8.9-1

Git Clone URL: https://aur.archlinux.org/coin-or-bonmin.git (read-only, click to copy)
Package Base: coin-or-bonmin
Description: Experimental open-source C++ code for solving general MINLP problems
Upstream URL: https://projects.coin-or.org/Bonmin
Licenses: EPL
Groups: coin-or
Submitter: xantares
Maintainer: xantares
Last Packager: xantares
Votes: 3
Popularity: 0.000000
First Submitted: 2019-01-31 11:56 (UTC)
Last Updated: 2023-05-03 19:11 (UTC)

Latest Comments

Martchus commented on 2020-04-06 11:41 (UTC)

In the ticket I've just wanted to comment

Note that the g++ command also runs just fine when omitting the /usr/lib/libnauty.a argument. So it seems that the library is wrongly passed forward. That makes also sense because after all the libraries provided by coin-or-cbc are shared ones. When using them one does not need to take any static libraries these shared libraries are linked against into account unless the public API/headers expose usage of nauty publicly. So maybe just fix a broken pkg-config file in coin-or-cbc (or however the linker flags are passed forward here)?

but couldn't submit it because @arojas already fixed it that way :-)

xantares commented on 2020-04-06 11:22 (UTC)

I opened https://bugs.archlinux.org/task/66142, if refused I'll add nauty here

Martchus commented on 2020-04-06 10:37 (UTC)

The make dependency nauty is missing (it is a static library so it is only a make dependency):

*** 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