threads / discuss / 35114

Git send-email fail on Mac OS X Lion

Subject: Git send-email fail on Mac OS X Lion

## tl;dr

5 messages between Oct 12, 2013 and Oct 13, 2013.

replies: 4people: 3as markdown or json

Fernando Ortiz (e2k)· Oct 12, 2013, 04:06 UTC · lore
I'm getting the following error when I do:
git send-email --compose --from Fernando Ortiz <eratos2000@gmail.com> --to fortiz2k@gmail.com --cc fortiz2k@gmail.com 0001-Change-zcat-to-gzcat-to-fix-build-restore-steps.patch

Net::SSLeay version 1.46 required--this is only version 1.36 at /Users/fortiz/perl5/perlbrew/perls/perl-5.14.4/lib/site_perl/5.14.4/IO/Socket/SSL.pm line 17. BEGIN failed--compilation aborted at /Users/fortiz/perl5/perlbrew/perls/perl-5.14.4/lib/site_perl/5.14.4/IO/Socket/SSL.pm line 17. Compilation failed in require at /Users/fortiz/perl5/perlbrew/perls/perl-5.14.4/lib/site_perl/5.14.4/Net/SMTP/SSL.pm line 8. BEGIN failed--compilation aborted at /Users/fortiz/perl5/perlbrew/perls/perl-5.14.4/lib/site_perl/5.14.4/Net/SMTP/SSL.pm line 8. Compilation failed in require at /usr/local/Cellar/git/1.8.4/libexec/git-core/git-send-email line 1232.

brian m. carlson· Oct 12, 2013, 13:47 UTC · re: Fernando Ortiz (e2k) · lore

Re: Git send-email fail on Mac OS X Lion

On Fri, Oct 11, 2013 at 11:06:17PM -0500, Fernando Ortiz (e2k) wrote:
Show 5 quoted lines
> I'm getting the following error when I do:
> 
> git send-email --compose --from Fernando Ortiz <eratos2000@gmail.com> --to fortiz2k@gmail.com --cc fortiz2k@gmail.com 0001-Change-zcat-to-gzcat-to-fix-build-restore-steps.patch
> 
> Net::SSLeay version 1.46 required--this is only version 1.36 at /Users/fortiz/perl5/perlbrew/perls/perl-5.14.4/lib/site_perl/5.14.4/IO/Socket/SSL.pm line 17.

Here's your answer: Net::SSLeay is too old for IO::Socket::SSL. You either need to use cpan or cpanm to install a newer Net::SSLeay, and then it will work.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
Gmail· Oct 12, 2013, 17:40 UTC · re: brian m. carlson · lore

Re: Git send-email fail on Mac OS X Lion

Brian,
I already tried to reinstall with cpan/m using -f -i options.  I even removed the PERL5LIB location and reinstalled the packages from scratch to no avail.
Nando
Sent from my iPhone
Show 17 quoted lines
> On Oct 12, 2013, at 8:47 AM, "brian m. carlson" <sandals@crustytoothpaste.net> wrote:
> 
>> On Fri, Oct 11, 2013 at 11:06:17PM -0500, Fernando Ortiz (e2k) wrote:
>> I'm getting the following error when I do:
>> 
>> git send-email --compose --from Fernando Ortiz <eratos2000@gmail.com> --to fortiz2k@gmail.com --cc fortiz2k@gmail.com 0001-Change-zcat-to-gzcat-to-fix-build-restore-steps.patch
>> 
>> Net::SSLeay version 1.46 required--this is only version 1.36 at /Users/fortiz/perl5/perlbrew/perls/perl-5.14.4/lib/site_perl/5.14.4/IO/Socket/SSL.pm line 17.
> 
> Here's your answer: Net::SSLeay is too old for IO::Socket::SSL.  You
> either need to use cpan or cpanm to install a newer Net::SSLeay, and
> then it will work.
> 
> -- 
> brian m. carlson / brian with sandals: Houston, Texas, US
> +1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
> OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
Torsten Bögershausen· Oct 13, 2013, 08:32 UTC · re: Gmail · lore

Re: Git send-email fail on Mac OS X Lion

(Please, not top-posting)
Show 12 quoted lines
>> On Oct 12, 2013, at 8:47 AM, "brian m. carlson" <sandals@crustytoothpaste.net> wrote:
>>
>>> On Fri, Oct 11, 2013 at 11:06:17PM -0500, Fernando Ortiz (e2k) wrote:
>>> I'm getting the following error when I do:
>>>
>>> git send-email --compose --from Fernando Ortiz <eratos2000@gmail.com> --to fortiz2k@gmail.com --cc fortiz2k@gmail.com 0001-Change-zcat-to-gzcat-to-fix-build-restore-steps.patch
>>>
>>> Net::SSLeay version 1.46 required--this is only version 1.36 at /Users/fortiz/perl5/perlbrew/perls/perl-5.14.4/lib/site_perl/5.14.4/IO/Socket/SSL.pm line 17.
>>
>> Here's your answer: Net::SSLeay is too old for IO::Socket::SSL.  You
>> either need to use cpan or cpanm to install a newer Net::SSLeay, and
>> then it will work.
On 2013-10-12 19.40, Gmail wrote:> Brian,
Show 7 quoted lines
> 
> I already tried to reinstall with cpan/m using -f -i options.  I even removed the PERL5LIB location and reinstalled the packages from scratch to no avail.
> 
> Nando
> 
> Sent from my iPhone
> 

This may be a stupid question: Which perl is in your $PATH ? What do you get entering type perl on the command line ? /Torsten

Fernando Ortiz (e2k)· Oct 13, 2013, 08:52 UTC · re: Torsten Bögershausen · lore

Re: Git send-email fail on Mac OS X Lion

On Oct 13, 2013, at 3:32 AM, Torsten Bögershausen wrote:
> (Please, not top-posting)
Sorry about that
Show 24 quoted lines
> 
>>> On Oct 12, 2013, at 8:47 AM, "brian m. carlson" <sandals@crustytoothpaste.net> wrote:
>>> 
>>>> On Fri, Oct 11, 2013 at 11:06:17PM -0500, Fernando Ortiz (e2k) wrote:
>>>> I'm getting the following error when I do:
>>>> 
>>>> git send-email --compose --from Fernando Ortiz <eratos2000@gmail.com> --to fortiz2k@gmail.com --cc fortiz2k@gmail.com 0001-Change-zcat-to-gzcat-to-fix-build-restore-steps.patch
>>>> 
>>>> Net::SSLeay version 1.46 required--this is only version 1.36 at /Users/fortiz/perl5/perlbrew/perls/perl-5.14.4/lib/site_perl/5.14.4/IO/Socket/SSL.pm line 17.
>>> 
>>> Here's your answer: Net::SSLeay is too old for IO::Socket::SSL.  You
>>> either need to use cpan or cpanm to install a newer Net::SSLeay, and
>>> then it will work.
> 
> On 2013-10-12 19.40, Gmail wrote:> Brian,
>> 
>> I already tried to reinstall with cpan/m using -f -i options.  I even removed the PERL5LIB location and reinstalled the packages from scratch to no avail.
>> 
>> Nando
>> 
>> Sent from my iPhone
>> 
> This may be a stupid question:
> Which perl is in your $PATH ?

I was using perlbrew to manage all the perls. I got so frustrated and decided to dump perlbrew and decided to use plenv instead. I'm not getting the error anymore, after switching to plenv everything is working now.

Show 6 quoted lines
> What do you get entering
> type perl
> on the command line ?
> /Torsten
> 
> 

← back to recent threads