Boost logo

Boost Users :

Subject: [Boost-users] Linking with Boost on x64
From: Iskandar Prins (iprins_at_[hidden])
Date: 2010-03-24 07:01:08


Hi all,

I have build the bjam tool and then I run the following:
bjam toolset=sun stdlib=sun-stlport address-model=64 stage

When I try to link with the generated libboost_thread.so
I get the following error:

ld: fatal: file <my_path>/libboost_thread.so: wrong ELF class: ELFCLASS64

Does this mean that the libraries are compiled for 32bit instead of 64bit? And how can I fix this?

Regards,
Iskandar



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