Subject: | DBD-mysql does not build with ssl be default |
I ran 'perl Makefile.PL' without any argument, but ssl was not enabled.
# perl Makefile.PL
...
I will use the following settings for compiling and testing:
cflags (mysql_config) = -I/usr/include/mysql
embedded (guessed ) =
ldflags (mysql_config) =
libs (mysql_config) = -L/usr/lib64/mysql -lmysqlclient -lpthread -lz -lm -ldl -lssl -lcrypto
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
nossl (choice ) = 1
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testport (default ) =
testsocket (default ) =
testuser (guessed ) = root
To change these settings, see 'perl Makefile.PL --help' and
'perldoc DBD::mysql::INSTALL'.
...
The problem is probably default value of 'nossl', because it is always 1.
I attach the patch with fix
Subject: | DBD-mysql-4.035-Fix-nossl-option.patch |
diff -up DBD-mysql-4.035/Makefile.PL.orig DBD-mysql-4.035/Makefile.PL
--- DBD-mysql-4.035/Makefile.PL.orig 2016-08-15 16:14:00.369948533 +0200
+++ DBD-mysql-4.035/Makefile.PL 2016-08-15 16:14:14.854887074 +0200
@@ -35,7 +35,7 @@ Getopt::Long::GetOptions(
"bind-type-guessing",
"nocatchstderr",
"ssl",
- "nossl",
+ "nossl!",
"nofoundrows!",
"embedded=s",
"mysql_config=s",