Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-27680

S3 plugin fails to build on FreeBSD: unable to find library -lcurl

Details

    Description

      10.7 3351dfaab0

      [ 66%] Linking CXX shared module ha_s3.so
      ld: error: unable to find library -lcurl
      c++: error: linker command failed with exit code 1 (use -v to see invocation)
      *** Error code 1
      

      curl package is installed:

      [ec2-user@freebsd ~/cs/mariadb-10.7.2]$ pkg info -l curl | grep -E '.so$|.a$'
      	/usr/local/lib/libcurl.a
      	/usr/local/lib/libcurl.so
      

      Attachments

        Activity

          Linking issue is due to just trying to link with `-lcurl` instead of the curl library found by CMake.

          Fixed in https://github.com/MariaDB/server/pull/2242

          TheLinuxJedi Andrew Hutchings (Inactive) added a comment - Linking issue is due to just trying to link with `-lcurl` instead of the curl library found by CMake. Fixed in https://github.com/MariaDB/server/pull/2242

          People

            TheLinuxJedi Andrew Hutchings (Inactive)
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.