openssl libraries not found in 32 bits builds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Invalid
|
High
|
Ignacio Nin | ||
5.1 |
Fix Released
|
High
|
Ignacio Nin | ||
5.5 |
Invalid
|
High
|
Ignacio Nin | ||
5.6 |
Invalid
|
High
|
Ignacio Nin |
Bug Description
In the fix for bug https:/
116 if test "$target_cpu" == "x86_64"
117 then
118 openssl_
119 MYSQL_CHECK_
120 else
121 # So it gets set to lib/
122 openssl_libs="no"
123 fi
124
125 if test "$mysql_ssl_found" == "no"
126 then
127 # Now try lib/
128 openssl_
129 MYSQL_CHECK_
130 fi
131
Line 122 should read mysql_ssl_found=no, so the test at line 125 is affirmative and try lib/. The intent of setting mysql_ssl_found to no was this -- instead, the test is not affirmative and "no" gets added to the CFLAGS incorrectly, having the link fail at build time.
We need to fix the typo and set mysql_ssl_found to no.
Related branches
- Laurynas Biveinis (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedPercona-Server/config/ac-macros/ssl.m4 (+1/-1)
Changed in percona-server: | |
status: | New → Invalid |
tags: | added: pkg |
Error that appears at compile time:
/bin/bash ../libtool --preserve-dup-deps --tag=CC --mode=link gcc -fPIC -Wall -O3 -g -static-libgcc -fno-omit- frame-pointer -DPERCONA_ INNODB_ VERSION= 14.2 -DUNIV_LINUX -DUNIV_LINUX -static -rdynamic -o conf_to_src conf_to_src.o -lcrypt -lnsl -lm no -lz -lrt frame-pointer -DPERCONA_ INNODB_ VERSION= 14.2 -DUNIV_LINUX -DUNIV_LINUX -rdynamic -o conf_to_src conf_to_src.o no -lcrypt -lnsl -lm -lz -lrt
libtool: link: gcc -fPIC -Wall -O3 -g -static-libgcc -fno-omit-
gcc: error: no: No such file or directory
make[3]: *** [conf_to_src] Error 1
It can be seen that the libssl flags are set to "no", causing link to fail.