Ticket #18276 (closed defect: fixed)
wget: locale and ssl support missing with +universal variant
| Reported by: | ryandesign@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.0 |
| Keywords: | Cc: | ||
| Port: | wget |
Description
When installed with the +universal variant, wget is missing the message catalogs in the locale directory and wget doesn't link with libintl, libssl or libcrypto.
Here's the non-universal build which works:
$ sudo port -d install wget > wget.txt 2>&1 $ wget https://trac.macports.org/ --2009-01-29 21:17:56-- https://trac.macports.org/ Resolving trac.macports.org... 17.254.17.55 Connecting to trac.macports.org|17.254.17.55|:443... connected. ERROR: cannot verify trac.macports.org's certificate, issued by `/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure Certification Authority/serialNumber=07969287': Self-signed certificate encountered. To connect to trac.macports.org insecurely, use `--no-check-certificate'. Unable to establish SSL connection. $ LANG=de wget wget: URL fehlt Syntax: wget [OPTION]... [URL]... >>wget --help<< gibt weitere Informationen. $
Here's the universal build which is broken:
$ sudo port deactivate wget ---> Deactivating wget $ sudo port -d install wget +universal > wget-universal.txt 2>&1 $ wget https://trac.macports.org/ https://trac.macports.org/: Unsupported scheme. $ LANG=de wget wget: missing URL Usage: wget [OPTION]... [URL]... Try `wget --help' for more options. $
Note the differences in what libraries are being linked with:
$ cd /opt/local/var/macports/software/wget
$ diff -rq 1.11.4_2 1.11.4_2+universal
Files 1.11.4_2/opt/local/bin/wget and 1.11.4_2+universal/opt/local/bin/wget differ
Only in 1.11.4_2/opt/local/share: locale
Files 1.11.4_2/opt/local/share/man/man1/wget.1.gz and 1.11.4_2+universal/opt/local/share/man/man1/wget.1.gz differ
$ otool -L 1.11.4_2/opt/local/bin/wget
1.11.4_2/opt/local/bin/wget:
/opt/local/lib/libintl.8.dylib (compatibility version 9.0.0, current version 9.2.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.11)
/opt/local/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8)
/opt/local/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
$ otool -L 1.11.4_2+universal/opt/local/bin/wget
1.11.4_2+universal/opt/local/bin/wget:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.9)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
$
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


