[MDEV-18474] Development libraries are not recognized by Perl Created: 2019-02-04  Updated: 2020-12-14  Resolved: 2020-12-14

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

Type: Bug Priority: Major
Reporter: Philip orleans Assignee: Faustin Lammler
Resolution: Incomplete Votes: 0
Labels: need_feedback
Environment:

centos



 Comments   
Comment by Faustin Lammler [ 2019-02-07 ]

Hi philip_38,
please can you format your request better, it is very difficult to understand what comes from your terminal output and what is your comment (please use the code formatting from '+' button).

And please can you give us more information on:

  • centos version
  • perl version

And finally, can you explain us what you are trying to accomplish and correct your title accordingly (and please correct the typo error so that other Perl user can find your issue)?

Regards,
Faustin

Comment by Zeeshan Muhammad [ 2019-03-02 ]

The Perl module DBD::mysql and DBD::MariaDB will not compile until the MariaDB-shared package is installed, which you install do via "yum install MariaDB-shared" (assuming you're on RHEL or CentOS).

The "MariaDB-shared" package provides the dynamic client libraries needed for the compilation to occur. See the following page to understand what each package does
https://mariadb.com/kb/en/library/about-the-mariadb-rpm-files/

I encountered the same issue as you and stumbled onto this page when trying to compile the Perl module DBD::MariaDB v1.21 using cpanm (cpanminus). I am using MariaDB v10.3.13 installed via MariaDB's CentOS repository list from http://downloads.mariadb.org/mariadb/repositories/

I am using Perl v5.29.8 (installed via Perlbrew) and my installed MariaDB packages were:
MariaDB-client-10.3.13-1.el7.centos.x86_64
MariaDB-devel-10.3.13-1.el7.centos.x86_64
MariaDB-shared-10.3.13-1.el7.centos.x86_64
MariaDB-common-10.3.13-1.el7.centos.x86_64
MariaDB-server-10.3.13-1.el7.centos.x86_64
MariaDB-compat-10.3.13-1.el7.centos.x86_64

My OS is CentOS v7.6.1810 , running Linux kernel v3.10.0-957.5.1.el7

I hope this helps you resolve your compilation issue and helps others who stumble onto this page via Google.

Comment by Zeeshan Muhammad [ 2019-03-02 ]

You seem to be extremely lazy and wish to have your hand held. Pasting large chunks of text and hoping someone else will read it for you isn't debugging nor helpful to folks who wish to help others.

MariaDB's documentation site lists the Ubuntu packages required. Your package list is missing libmariadb*, which would provide the shared libraries needed.

Your follow-up comment shows you attempted to install DBD::mysql v4.050 via CentOS - it correctly compiled against MariaDB. The error you're getting is a Perl testing error for POD and has nothing to do with MariaDB or MariaDB shared libraries missing.

I recommend paying for commercial server administration or making an effort to read the documentation.

Comment by Philip orleans [ 2019-03-02 ]

You are being verbally abusive. Who do you think you are?
I installed the package
apt -y install libmariadbd-dev

and it does not compile at all

Comment by Elena Stepanova [ 2019-03-11 ]

faust, feel free to do with this report whatever you deem fit.

Comment by Sergei Golubchik [ 2020-11-11 ]

philip_38, it seems you have removed all your comments and the issue description. Is that right? Shall I close this issue?

Generated at Thu Feb 08 08:44:22 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.