Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.2.29
Description
While installing MariaDB its unable to link Zlib library and ended with below error.
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. |
But I could see the zlib need to be accessed as -lz
[root@motiveche076 ~]# pkg-config zlib --libs |
-lz
|
Attachments
Issue Links
- duplicates
-
MDEV-18818 mariadb_config reports wrong name for zlib on Fedora
- Closed
- is duplicated by
-
MDEV-24158 Mysql_config has lzlib reference instead of lz
- Closed