Bug 870107 - when coss compiling to windows -lboost_xxx do not work
when coss compiling to windows -lboost_xxx do not work
Product: Fedora
Classification: Fedora
Component: mingw-boost (Show other bugs)
Unspecified Unspecified
unspecified Severity low
: ---
: ---
Assigned To: Thomas Sailer
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-10-25 10:48 EDT by Pierre Blavy
Modified: 2012-12-05 04:51 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-12-05 04:51:40 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Pierre Blavy 2012-10-25 10:48:37 EDT
Description of problem:
When using the mingw version of boost libraries, linking with -lboost_xxx do not work.

How reproducible: always

Steps to Reproduce:
1. install mingw-boost
2. make a C++ program, link it with boost, compile with mingw
 i686-w64-mingw32-g++ main.cpp -o /tmp/test -l boost_regex
Actual results:

Linking fail
ld: cannot find -lboost_regex

but lib exists
find /usr/i686-w64-mingw32 | grep boost_regex

Expected results: linker should link with the last working boost lib.
Maybe a symlink pointing to it is missing.

Additional info:
Workaround : link with -lboost_regex-gcc47-1_48
Comment 1 Thomas Sailer 2012-12-05 04:51:40 EST

Note You need to log in before you can comment on or make changes to this bug.