[MDEV-12065] Not all symlinks created by community edition package manager Created: 2017-02-14  Updated: 2017-04-20  Resolved: 2017-04-20

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

Type: Bug Priority: Major
Reporter: Michaël de groot Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: need_feedback


 Description   

Hi,

For mydumper to compile I needed to manually symlink the libraries:
[root@dbtst1 mydumper-0.9.1]# history|grep ln
648 ln -s /usr/lib64/libpthread.so.0 /usr/lib64/libpthread.so
658 ln -s /usr/lib64/libm.so.6 /usr/lib64/libm.so
667 ln -s /usr/lib64/libdl.so.2 /usr/lib64/libdl.so

The other mysql libraries were detected.

I don't know if this is mydumper bug or MariaDB packaging bug, reporting on both places. I tried mydumper versions 0.9.1 and master branch from github.

I am running MariaDB 10.1.21 from the community edition repo:
[root@dbtst1 mydumper-0.9.1]# rpm -qa|grep -i mariadb
MariaDB-common-10.1.21-1.el7.centos.x86_64
MariaDB-shared-10.1.21-1.el7.centos.x86_64
MariaDB-devel-10.1.21-1.el7.centos.x86_64
MariaDB-compat-10.1.21-1.el7.centos.x86_64
MariaDB-client-10.1.21-1.el7.centos.x86_64

On this box, I reinstalled various versions of various libraries (rhel mariadb, mariadb 10.1.9, percona 5.6, percona 5.7) a couple of times.

I hope this can be fixed, as said I don't know which project is to blame. Also I don't know if it is caused by my (previous) installation(s) or because of the package.

Thanks!



 Comments   
Comment by Michaël de groot [ 2017-02-14 ]

mydumper github issue: https://github.com/maxbube/mydumper/issues/39

Comment by Elena Stepanova [ 2017-02-14 ]

Why would MariaDB packaging symlink system libraries which are not needed to be symlinked for MariaDB itself?

Comment by Daniel Black [ 2017-02-14 ]

My guess is you are missing the devel packages for pthread, libm, libdl as these would install the symlinks.

Comment by Elena Stepanova [ 2017-03-17 ]

michaeldg, did Daniel's note above help to solve the problem?

Comment by Elena Stepanova [ 2017-04-20 ]

Closed due to the lack of response. Please comment to re-open if you still think something should be done in the scope of this report.

Generated at Thu Feb 08 07:54:50 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.