[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] Re: my status with OpenSSL-1.0.0 (Re: now getting Undefined s
From: |
SciFi |
Subject: |
[Bug-wget] Re: my status with OpenSSL-1.0.0 (Re: now getting Undefined symbol for "_a2i_IPADDRESS" (Re: With wget-1.12, I'm getting "Duplicate Symbols" during make (MacOSX 10.5.8), help please?)) |
Date: |
Fri, 4 Jun 2010 03:05:39 +0000 (UTC) |
User-agent: |
Pan/0.133 (House of Butterflies) |
Hi,
On Thu, 03 Jun 2010 16:47:34 +0200, Keisial <address@hidden> wrote:
>
> I thought the standard solution for that was to use #!/usr/bin/env perl
There is only one .pl script in the wget tarball that does it that way.
The others use hard-coded #!/usr/bin/perl.
But then again this brings a similar problem (albeit not so drastic):
Apple's /usr/bin/env is from *BSD,
my /usr/local/bin/env is from GNU-coreutils-8.4 ATM.
;)
At any rate,
I renamed some perly stuff in /usr/bin
and put symlinks to their updated counterparts in /usr/local/bin
and got a good make.
I also spent tons of time researching Fink & Macports
for the tricks they use to produce openssl shared libs.
AAMOF IMO OpenSSL-1.0.0a+ will still need those same tricks.
I then re-made wget-1.12-2359 to notice the new libs, and now we have:
$ wget --version
GNU Wget 1.12-2359 built on darwin9.8.0.
+digest +https +ipv6 +iri +large-file -md5 +nls +ntlm +opie +ssl/openssl
Wgetrc:
/Users/scifi/.wgetrc (user)
/usr/local/etc/wgetrc (system)
Locale: /usr/local/share/locale
Compile: gcc-4.2 -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/usr/local/etc/wgetrc"
-DLOCALEDIR="/usr/local/share/locale" -I. -I../lib -I../lib
-I/usr/local/ssl/include -I/usr/X11/include -I/usr/local/include
-I/Developer/Headers/FlatCarbon -I/usr/include -I/usr/local/include
-fast -mtune=core2 -march=core2 -force_cpusubtype_ALL -arch i386
Link: gcc-4.2 -fast -mtune=core2 -march=core2 -force_cpusubtype_ALL -arch
i386 -fast -mtune=core2 -march=core2 -force_cpusubtype_ALL -arch
i386 -L/usr/local/lib -L/usr/local/ssl/lib -lssl -lcrypto
-L/usr/local/lib -liconv -L/usr/local/lib -lintl -liconv -lc
-Wl,-framework -Wl,CoreFoundation -ldl -lidn ftp-opie.o openssl.o
http-ntlm.o ../lib/libgnu.a
[…]
I still cannot get it to do +md5 even tho I expressly built openssl
with it & others.
… oh well, it's getting there …
:)