Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost static linking
From: David Kaplan (davkaplan_at_[hidden])
Date: 2010-03-04 16:20:29


On 27 February 2010 20:08, Alex Farber <alexf3062_at_[hidden]> wrote:

> Thank you. This is my command line:
> g++ -o"MyProgram" ./main.o -l:libboost_thread.a
>
> The result is huge number of messages like:
> undefined reference to `pthread_key_create'
>
> The same result as I got with this:
> g++ -static -o"MyProgram" ./main.o -lboost_thread
> Some problems with static library libboost_thread.a?
>
> Add -lpthread



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