https://bugzilla.redhat.com/show_bug.cgi?id=1476434
--- Comment #15 from Ye Cheng <18969068329(a)163.com> ---
(In reply to Michael Schwendt from comment #14)
Thanks.
New srpm
URL:https://copr-be.cloud.fedoraproject.org/results/yecheng/bstrlib/fedor...
New spec file:$git clone
http://copr-dist-git.fedorainfracloud.org/git/yecheng/bstrlib/bstrlib.git
Sorry, I haven't yet figure out how to access the spec file in new copr.
Superfluous and potentially dangerous to clean the build results
during
%install.
Thanks, this is removed.
The cleaner and more convenient solution to that is to run ldconfig
on the
buildroot libdir with the right options to make it create the symlinks
without updating runtime linker's cache.
Sorry, I don't know how to let
ldconfig create unversioned symbolic links for
linker.
I tried ldconfig -n ${RPM_BUILD_ROOT}%{_libdir} -v
and it returns:
/builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc26.x86_64/usr/lib64:
libbstrsafe.so.1.0.0 -> libbstrsafe.so.1.0.0
libbstr.so.1.0.0 -> libbstr.so.1.0.0
libbstrc++.so.1.0.0 -> libbstrc++.so.1.0.0
Ldconfig probably only make symbolic link with the name of the soname, when the
soname and the filename are different.
Not really. Without RPATH you would simply point $LD_LIBRARY_PATH at
the
buildroot libdir when running the testsuite.
Sorry, export
LD_LIBRARY_PATH=%{buildroot}%{_libdir} worked for rpmbuild, but
doesn't work in mock,but LD_PRELOAD is used when running the tests in makefile
instead of -rpath.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component