[OS] binaries for linux x86_64

Stefan Vigerske stefan at math.hu-berlin.de
Wed Nov 18 04:27:29 EST 2009


Hi,

> I dont see any binaries for linux x86_64 on the OS binaries page:
> http://www.coin-or.org/download/binary/OS/

The CoinAll binaries at http://www.coin-or.org/download/binary/CoinAll
should contain also an OS library.

> im trying to link a simple program with libOS on a 64 bit linux machine. I get
> the following complain:
> 
> g++ nl2osil.cpp -I /home/mahajan/include -D HAVE_MATH_H -I
> /home/mahajan/src/amplsolver/build-64/ -L lib -lOS
> /usr/bin/ld: skipping incompatible lib/libOS.so when searching for -lOS
> /usr/bin/ld: cannot find -lOS
> collect2: ld returned 1 exit status
> 
> if i add -m32 flag, then i get the error:
> /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.4/libstdc++.so when searching for -lstdc++
> 
> any workarounds? 

You may need to install 32-bit versions of the libstdc++.so. There
should be some package (something like gcc-32bit-compat or so) that does
this. I'm not Ubuntu user.

> or should i checkout the source and compile the whole OS project?

That should work best.

Stefan
> 
> uname -a gives:
> Linux mahajan-desktop 2.6.29.4-perfctr #1 SMP Fri May 22 16:40:19 DST 2009 x86_64 GNU/Linux
> 
> thanks.
> --
> regards
> Ashutosh Mahajan
> http://coral.ie.lehigh.edu/~asm4
> 
> _______________________________________________
> OS mailing list
> OS at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/os
> 


-- 
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan



More information about the OS mailing list