maria-discuss team mailing list archive
-
maria-discuss team
-
Mailing list archive
-
Message #04696
incomplete provide of symlinks with 10.2.7
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)
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/
Follow ups