[MDEV-24158] Mysql_config has lzlib reference instead of lz Created: 2020-11-06  Updated: 2020-11-20  Resolved: 2020-11-20

Status: Closed
Project: MariaDB Server
Component/s: N/A
Affects Version/s: 10.2.35
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Ragul Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: installation
Environment:

centos/Rhel7 & 6


Issue Links:
Duplicate
duplicates MDEV-21206 Can't link/include C library 'zlib', ... Closed

 Description   

Created a ticket to change the zlib reference and fixed in latest
https://jira.mariadb.org/browse/MDEV-21206

Able to see the lz in mysql_config but not in the mariadb-10.2.35-linux-x86_64.tar.gz

https://downloads.mariadb.org/interstitial/mariadb-10.2.35/bintar-linux-x86_64/mariadb-10.2.35-linux-x86_64.tar.gz

[root@mariadb-10.2.35-linux-x86_64 ]# grep zlib bin/mysql_config
libs="-L$pkglibdir -lmariadb -lpthread *-lzlib *-ldl -lm -lgnutls"

While installing DBD-Mysql-4.050, it still refers to the lzib.

I will use the following settings for compiling and testing:
 
  cflags        (mysql_config) = -I/opt/alu-rp/mysql/include/mysql -I/opt/alu-rp/mysql/include/mysql/..
  embedded      (mysql_config) = 
  ldflags       (guessed     ) = 
  libs          (mysql_config) = -L/opt/alu-rp/mysql/lib -lmariadb -lpthread *-lzlib* -ldl -lm -lgnutls
  mysql_config  (guessed     ) = mysql_config
  nocatchstderr (default     ) = 0
  nofoundrows   (default     ) = 0
  nossl         (default     ) = 0
  testdb        (default     ) = test
  testhost      (default     ) = 
  testpassword  (default     ) = 
  testport      (default     ) = 
  testsocket    (default     ) = 
  testuser      (guessed     ) = 
 
To change these settings, see 'perl Makefile.PL --help' and
'perldoc DBD::mysql::INSTALL'.
 
Checking if libs are available for compiling...
Can't link/include C library 'zlib', aborting.


Generated at Thu Feb 08 09:27:52 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.