#60642 closed defect (duplicate)
msodbcsql17: Don't require user to create /usr/local/opt/openssl/lib
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | roederja |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | msodbcsql17 |
Description
msodbcsql17 now has these notes:
$ port notes msodbcsql17 msodbcsql17 has the following notes: To make this work with SSL you need to create a symbolic link as follows: sudo mkdir -p /usr/local/opt/openssl/ sudo ln -s /opt/local/lib /usr/local/opt/openssl/lib This is because this port installs binaries meant to be used with Homebrew.
It's terrible to make the user do this. Can the binary be fixed to look at the MacPorts location? For example, I see the string /usr/local/opt/openssl/lib/
in the library. Would replacing that string with ${prefix} (followed by a null byte) allow the library to find the MacPorts openssl library without needing the symlink?
Change History (2)
comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 4 years ago by roederja
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Already discussed here: #60560
Note: See
TracTickets for help on using
tickets.
Replying to ryandesign:
Or more precisely
${prefix}/lib/
or rather what that expands to. And as a sanity check we would need to confirm first that the length of the new string is not greater than the length of the old string.