Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-123448

Windows 6.6.2 source build - link error - __security_cookie unresolved

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 6.6.2
    • Build System: CMake
    • None
    • Windows

    Description

      using ming64 tools

      configure.bat seems to have done its job. It completes and describes the Qt that will subsequently be built.

      But the cmake -–build . --parallel that is issued just after configure fails immediately after successfully building the last of the CXX objects

      The first Linking CXX command is for the shared library Qt6Core.dll . The link fails without generating useful explanations but in following output linker indicates that __security_cookie is an undefined reference in the postgreSQL library which was specifically passed to configure for postgreSQL interfaces to be built

      The configure command used follows:

      c:\qt\6.6.2\configure.bat -prefix c:\qt\6.6.2\x64 -opensource -debug -shared -sql-psql -no-dbus -no-feature-androiddeployqt -no-appstore-compliant – --log-level=VERBOSE -DCMAKE_INCLUDE_PATH="c:\pgsql\16.2\include" -DCMAKE_LIBRARY_PATH="c:\pgsql\16.2\lib"

       

      Is another library needed to be passed to cmake in the configure script to resolve __security_cookie?  If so, how to specify it?

       

      Thanks ...

       

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            aland Alan Snyder
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes