← Back to team overview

maria-discuss team mailing list archive

Re: incomplete provide of symlinks with 10.2.7

 

Hi, Reindl!

On Jul 13, Reindl Harald wrote:
> Fedora just started to work on MariaDB 10.2 packaging
> 
> they create compat symlinks for a sane transition and i try to backport 
> that to my F25 builds with change as less as possible on my existing 
> "mariadb.spec"
> 
> 10.2.7 seems to do the same now (Fedora last night was still on 10.2.6)

Yes, it was https://jira.mariadb.org/browse/MDEV-12423

> well, "libmysqlclient.so.18" is missing in your upstream compat links 
> while "libmysqlclient.so" and "libmysqlclient_r.so" gave an error "ln: 
> failed to create symbolic link 'libmysqlclient.so': File exists" within 
> rpmbuild
> 
> https://koji.fedoraproject.org/koji/buildinfo?buildID=918138
> ___________________________________________
> 
> pushd %{buildroot}%{_libdir}/mysql/
> ln -s libmariadb.so libmysqlclient.so
> ln -s libmariadb.so libmysqlclient.so.18
> ln -s libmariadb.so libmysqlclient_r.so
> popd
> ___________________________________________
> 
> + pushd 
> /home/builduser/rpmbuild/BUILDROOT/mariadb-10.2.7-3.fc25.20170713.rh.x86_64/usr/lib64/mysql/
> ~/rpmbuild/BUILDROOT/mariadb-10.2.7-3.fc25.20170713.rh.x86_64/usr/lib64/mysql 
> ~/rpmbuild/BUILD/mariadb-10.2.7
> + ln -s libmariadb.so libmysqlclient.so.18
> + popd
> ~/rpmbuild/BUILD/

I am not sure I understand what you're trying to say.

That besides libmysqlclient.so, there should be libmysqlclient.so.18
symlink? What about libmysqlclient.so.18.0.0?

Regards,
Sergei
Chief Architect MariaDB
and security@xxxxxxxxxxx


Follow ups

References