On Fri, Nov 22, 2013 at 09:21:30AM +0100, Rene Engelhard wrote: > severity 730124 minor > retitle 730124 doesn't include colamd dunctions, needs extra -lcolamd > tag 730124 + wontfix > thanks > > On Thu, Nov 21, 2013 at 07:18:23PM +0100, Florian Lohoff wrote: > > [...] With a self build 5.5.2.0 everything > is fine .... > > Because that version is broken. > > > flo@p2:~/Downloads/p/p/murka-1.3.1b-src$ make > > Making all in murka > > make[1]: Entering directory `/home/flo/Downloads/p/p/murka-1.3.1b-src/murka' > > g++ -w -O2 -g0 -ldl -lpthread -s -o murka murka.o nwerr.o args.o getopt.o > > misc.o nwclient.o nwst.o fformat.o > > lp_solve/lpsolve55/bin/ux64/liblpsolve55.a > > lp_solve/lpsolve55/bin/ux64/liblpsolve55.a(lp_MDO.o): In function `getMDO': > > (.text+0x5ad): undefined reference to `colamd_recommended' > > lp_solve/lpsolve55/bin/ux64/liblpsolve55.a(lp_MDO.o): In function `getMDO': > > (.text+0x5ef): undefined reference to `colamd_set_defaults' > > lp_solve/lpsolve55/bin/ux64/liblpsolve55.a(lp_MDO.o): In function `getMDO': > > (.text+0x63c): undefined reference to `colamd' > > lp_solve/lpsolve55/bin/ux64/liblpsolve55.a(lp_MDO.o): In function `getMDO': > > (.text+0x6b4): undefined reference to `symamd' > > collect2: error: ld returned 1 exit status > > make[1]: *** [murka] Error 1 > > make[1]: Leaving directory `/home/flo/Downloads/p/p/murka-1.3.1b-src/murka' > > make: *** [all-recursive] Error 1 > > Because in Debian that .a doesn't include those stuff but we do link with > system-colamd. If you used the .so (which exists but is hidden due > to not being SONAMEd) it should have worked fine(tm).
So how would i use the "hidden" dynamic so? If i link any application against it the dynamic linker aka ld.so wont find it. I had a quick grep and i could find any package in the debian repository dynamically linking against lpsolve. > So just install libsuitesparse-dev and link with -lcolamd (and the same for > whatever is symamd) Sounds broken for me and compiling my own lpsolve is way easier than using the debian packages which sounds strange even more. Flo -- Florian Lohoff [email protected]
signature.asc
Description: Digital signature

