[Clp-tickets] [COIN-OR Linear Programming Solver] #38: BuildTools 32bit lib on 64bit system

COIN-OR Linear Programming Solver coin-trac at coin-or.org
Wed Jun 9 14:53:04 EDT 2010


#38: BuildTools 32bit lib on 64bit system
--------------------------------------------+-------------------------------
 Reporter:  davide10                        |       Owner:  somebody
     Type:  defect                          |      Status:  new     
 Priority:  major                           |   Milestone:          
Component:  component1                      |     Version:  1.0     
 Keywords:  32bit 64bit lib configure make  |  
--------------------------------------------+-------------------------------

Comment(by ladanyi):

 I have tested this on a 64-bit ubuntu machine and everything worked like a
 charm. Please, try this. If it does not work then add a comment, and
 attach the complete output of the compilation process.

 Downloaded cpl-1.11.1. Configured with:
 ../configure CC="gcc -m32" CXX="g++ -m32" F77="gfortran -m32"
 Ran "make" and "make install". The info on the resulting libs/executables
 is:

 ladanyi at daniel:~/COIN/Clp/1.11.1/build$ file lib/*
 lib/libClp.la:             libtool library file
 lib/libClp.so:             symbolic link to `libClp.so.0.0.0'
 lib/libClp.so.0:           symbolic link to `libClp.so.0.0.0'
 lib/libClp.so.0.0.0:       ELF 32-bit LSB shared object, Intel 80386,
 version 1 (SYSV), dynamically linked, not stripped
 lib/libCoinUtils.la:       libtool library file
 lib/libCoinUtils.so:       symbolic link to `libCoinUtils.so.0.0.0'
 lib/libCoinUtils.so.0:     symbolic link to `libCoinUtils.so.0.0.0'
 lib/libCoinUtils.so.0.0.0: ELF 32-bit LSB shared object, Intel 80386,
 version 1 (SYSV), dynamically linked, not stripped

 ladanyi at daniel:~/COIN/Clp/1.11.1/build$ file bin/*
 bin/clp: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
 dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped
 ladanyi at daniel:~/COIN/Clp/1.11.1/build$ ldd bin/*
         linux-gate.so.1 =>  (0xf7f27000)
         libClp.so.0 => /home/ladanyi/COIN/Clp/1.11.1/build/lib/libClp.so.0
 (0xf7db0000)
         libCoinUtils.so.0 =>
 /home/ladanyi/COIN/Clp/1.11.1/build/lib/libCoinUtils.so.0 (0xf7c8a000)
         libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf7b7e000)
         libm.so.6 => /lib32/libm.so.6 (0xf7b58000)
         libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7b49000)
         libc.so.6 => /lib32/libc.so.6 (0xf79e6000)
         /lib/ld-linux.so.2 (0xf7f28000)

-- 
Ticket URL: <https://projects.coin-or.org/Clp/ticket/38#comment:1>
COIN-OR Linear Programming Solver <http://projects.coin-or.org/Clp>
A linear programming solver.



More information about the Clp-tickets mailing list