[pkg-boost-devel] Bug#424038: Bug#424038: /usr/bin/ld: cannot find -lboost_program_options
Domenico Andreoli
cavok at debian.org
Tue May 15 14:01:51 UTC 2007
On Tue, May 15, 2007 at 03:25:19PM +0200, Olaf van der Spek wrote:
>
> Hi,
Hi,
> This used to work with 1.33.1.
it is not a bug, it is a feature :-)
> $ ls -l /usr/lib/libboost_program_options-*
...
> lrwxrwxrwx 1 root root 40 2007-05-14 23:50 /usr/lib/libboost_program_options-mt.a -> libboost_program_options-gcc41-mt-1_34.a
> lrwxrwxrwx 1 root root 41 2007-05-14 23:50 /usr/lib/libboost_program_options-mt.so -> libboost_program_options-gcc41-mt-1_34.so
> lrwxrwxrwx 1 root root 37 2007-05-14 23:50 /usr/lib/libboost_program_options-st.a -> libboost_program_options-gcc41-1_34.a
> lrwxrwxrwx 1 root root 38 2007-05-14 23:50 /usr/lib/libboost_program_options-st.so -> libboost_program_options-gcc41-1_34.so
until 1.34.0, -lboost_program_options linked implicitly to the
multi-threaded library, now you are forced to choose between single/multi
thread variants. remember, debian is about choice ;-)
-lboost_program_options-st - single-threaded
-lboost_program_options-mt - multi-threaded
should i drop a note in some readme?
cheers
domenico
-----[ Domenico Andreoli, aka cavok
--[ http://www.dandreoli.com/gpgkey.asc
---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50
More information about the pkg-boost-devel
mailing list