Skip Menu |
 

This queue is for tickets about the DBD-mysql CPAN distribution.

Report information
The Basics
Id: 120810
Status: resolved
Priority: 0/
Queue: DBD-mysql

People
Owner: MICHIELB [...] cpan.org
Requestors: sdondley [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Won't install on Mac OS X Sierra
Date: Fri, 31 Mar 2017 08:23:16 -0400
To: bug-DBD-mysql [...] rt.cpan.org
From: Steve Dondley <sdondley [...] gmail.com>
Download (untitled) / with headers
text/plain 268b
Trying to install DBD::mysql on my Mac Sierra computer running mysql v 5.7.17. Getting the following error when trying to install with "cpanm install DBD::mysql": Checking if libs are available for compiling... Can't link/include C library 'ssl', 'crypto', aborting.
Download (untitled) / with headers
text/plain 725b
Hi there, On Fri 31 Mar 2017 08:23:47, sdondley@gmail.com wrote: Show quoted text
> Trying to install DBD::mysql on my Mac Sierra computer running mysql v > 5.7.17. Getting the following error when trying to install with "cpanm > install DBD::mysql": > > Checking if libs are available for compiling... > Can't link/include C library 'ssl', 'crypto', aborting.
You don't seem to have the libssl header files on your system. I recommend you'd install them using homebrew (https://brew.sh/). Once you have homebrew set up, you can simply do brew install openssl and you'd be good. By the way, you'd also need libmysqlclient which you can install using brew as well: brew install mysql-connector-c Hope this helps! -- Michiel
Download (untitled) / with headers
text/plain 189b
I've updated installation instructions for macOS here: https://github.com/perl5-dbi/DBD-mysql/commit/00806bc46fe23a862a325d19cba07c239b401def Please let me know if this helps! -- Michiel
Subject: Re: [rt.cpan.org #120810] Won't install on Mac OS X Sierra
Date: Fri, 31 Mar 2017 13:46:38 -0400
To: bug-DBD-mysql [...] rt.cpan.org
From: Steve Dondley <sdondley [...] gmail.com>
Download (untitled) / with headers
text/plain 1002b
I did already have openssl installed with homebrew but, from what I gather, homebrew no longer links it because Apple has superseded openssl with it's own encryption library. Installing mysql-connector-c did the trick. I had to do "brew uninstall mysql" first because it conflicted with mysql-connector-c. You may want to add that clarification into the doc. So now, if I wanted to get mysql back on my machine, I can just uninstall mysql-connector-c and reinstall mysql with homebrew? On Fri, Mar 31, 2017 at 11:39 AM, Michiel Beijen via RT < bug-DBD-mysql@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=120810 > > > I've updated installation instructions for macOS here: > > https://github.com/perl5-dbi/DBD-mysql/commit/ > 00806bc46fe23a862a325d19cba07c239b401def > > > Please let me know if this helps! > -- > Michiel >
-- Prometheus Labor Communications, Inc. http://prometheuslabor.com 413-572-1300 UnionConnect Phone App for Labor Unions http://unionconnect.com


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.