Boost logo

Boost Users :

Subject: [Boost-users] How can i install 32bit libboost lib on Debian6-64bit platform
From: clive (cwclive_at_[hidden])
Date: 2012-05-11 02:25:08


Hi,all friends
I build my project on Debian6-32bit platform, It works ok.
I copy the build result to Debian6-64bit platform and run, it shows:error while loading shared libraries:libboost_regex.so.1.42.0:can not open shared object file:No such file or directory
 
Then i do whereis libboost_regex.so.1.42.0, it shows: libboost_regex.so.1.42: /usr/lib/libboost_regex.so.1.42.0 /usr/lib64/libboost_regex.so.1.42.0
 
Then i add /usr/lib/ in ld.so.conf, then i run my project, it shows:error while loading shared libraries: libboost_regex.so.1.42.0: wrong ELF class: ELFCLASS64
 
I'm sure that install libboost-regex on Debian6-64bit platform, the lib don't compatible 32bit.
How can i install 32bit libboost lib on Debian6-64bit platform?



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net