[Bug 207577] ports-mgmt/pkg doesn't build with openssl alternatives

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 29 02:58:11 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207577

            Bug ID: 207577
           Summary: ports-mgmt/pkg doesn't build with openssl alternatives
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr at FreeBSD.org
          Reporter: dewayne at heuristicsystems.com.au
                CC: freebsd-ports-bugs at FreeBSD.org

On amd64 10.3Beta3, the ports-mgmt/pkg port is hard coded to use openssl
libraries.  It makes sense for the base operating system /usr/src/usr.sbin/pkg
to be hard-coded to openssl, but not the port version.  Perhaps this could be
an option (openssl, polarssl, libressl)?

This arose because I have replaced openssl with libressl; and when attempting
to build the port version of pkg was greated with 

...
Making all in .
  CCLD     libpkg.la
/usr/bin/ld: cannot find -lssl
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

The only KLUDGE is to rm /usr/sbin/pkg 
rm /usr/sbin/pkg
ln -s /usr/local/sbin/pkg-static /usr/sbin/pkg

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list