maria-discuss team mailing list archive
-
maria-discuss team
-
Mailing list archive
-
Message #04705
Re: incomplete provide of symlinks with 10.2.7
Am 13.07.2017 um 12:39 schrieb Sergei Golubchik:
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
ok - makes things clearer
+ cmake .. -DWITH_MYSQLCOMPAT=1 ...
frankly do we use now ON/OFF YES/NO or 0/1
that mix all over the base makes me sick
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?
surely - how else do you imagine software working which is linked
against libmysqlclient.so.18? seems not to work at the moment but maybe
there is something still missing in my build
ldd /usr/sbin/dbmail-imapd
libmysqlclient.so.18 => not found
References