Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1072

mingw-w64 warning: "linker path does not have real file for library -lws2_32"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • libbson
    • None

    Description

      Building current libbson on master with mingw-w64 4.9.1 on a VS2013 Evergreen spawnhost:

       [2016/01/25 11:02:12.800] Making all in src/libbson
      ...
      [2016/01/25 11:03:07.509]   CCLD     libyajl.la
       [2016/01/25 11:03:07.817]   CCLD     libbson-1.0.la
       [2016/01/25 11:03:09.013] *** Warning: linker path does not have real file for library -lws2_32.
       [2016/01/25 11:03:09.013] *** I have the capability to make that library automatically link in when
       [2016/01/25 11:03:09.013] *** you link to this library.  But I can only do this if you have a
       [2016/01/25 11:03:09.013] *** shared version of the library, which you do not appear to have
       [2016/01/25 11:03:09.013] *** because I did check the linker path looking for a file starting
       [2016/01/25 11:03:09.013] *** with libws2_32 but no candidates were found. (...for file magic test)
       [2016/01/25 11:03:09.013] *** The inter-library dependencies that have been dropped here will be
       [2016/01/25 11:03:09.013] *** automatically added whenever a program is linked with this library
       [2016/01/25 11:03:09.013] *** or is declared to -dlopen it.
       [2016/01/25 11:03:09.013] *** Since this library must not contain undefined symbols,
       [2016/01/25 11:03:09.013] *** because either the platform does not support them or
       [2016/01/25 11:03:09.014] *** it was explicitly requested with -no-undefined,
       [2016/01/25 11:03:09.014] *** libtool will only create a static version of it.
      

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: