[MDEV-696] LP:810779 - Ubuntu 10.04 LTS: Headers and client library minor version mismatch warning Created: 2011-07-14  Updated: 2014-03-03  Resolved: 2014-03-03

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Sergei Petrunia Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug810779.xml    

 Description   

One gets this kind of warnings on Ubuntu 10.10 LTS:

PHP Warning: mysqli::real_connect(): Headers and client library minor version mismatch. Headers:50141 Library:50207 in /var/www/class-repository/utility/database/Database.class.inc.php on line 83

Information about the setup:

<mariadb_user> maria is from the official maria mirrors, installed using apt
<mariadb_user> php is from ubuntu
<mariadb_user> maria is the only thing i've installed that didn't come from the ubuntu repositories
<mariadb_user> and i haven't custom compiled anything



 Comments   
Comment by Sergei Petrunia [ 2011-07-14 ]

Re: Ubuntu 10.10 LTS: Headers and client library minor version mismatch warning
Info about package versions:

<mariadb_user> good afternoon all, wondering if anyone has seen php/mysqli header/client library mismatch issues with ubuntu 10.04 LTS + mariadb 5.2.7 + php 5.3.2-1?

Comment by Vladislav Vaintroub [ 2011-07-14 ]

Re: Ubuntu 10.10 LTS: Headers and client library minor version mismatch warning
It sounds like PHP problem, or maybe Ubuntu distribution one. if PHP does not link statically, or deliver a private shared version of libmysqlclient (it looks like this is the case), then it expects system libmysqlclient.so to be the very same version PHP was compiled with. In this case libmysqlclient.so, even compatible one, can only be replaced if major.minor version matches, and this is not the case here.

Comment by Sergei Petrunia [ 2011-07-14 ]

Re: Ubuntu 10.10 LTS: Headers and client library minor version mismatch warning
A correction about OS version:

<mariadb_user> spetrunia: please note, the version of ubuntu i am using is 10.04 server LTS
<mariadb_user> and it is the amd/64-bit version

Comment by Rasmus Johansson (Inactive) [ 2011-11-13 ]

Launchpad bug id: 810779

Generated at Thu Feb 08 06:30:40 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.