Re: RPM packaging and ldconfig handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday, January 31, 2018 2:00:08 PM CET Florian Weimer wrote:
> On 01/31/2018 01:54 PM, Kamil Dudka wrote:
> 
> > See that libcurl.so.4 now points to libcurl.so.4.5.0.minimal by mistake.
> > 
> > What is the recommended way to make libcurl{-minimal} build properly
> > again?
> 
> I think in this situation, you need to disable this feature using:
> 
> %undefine __brp_ldconfig

Thank both of you for the suggestion!  It has indeed resolved the problem.

> Depending on whether you can include the appropriate symbolic links in 
> the packages themselves,

Those symlinks are created by libtool, so I believe they are appropriate.

> you can or cannot remove the explicit ldconfig calls.

%undefine __brp_ldconfig removes the build-time ldconfig calls as I understand 
it.  Are you saying that I can remove the following install-time ldconfig 
calls, too?

%post -n libcurl -p /sbin/ldconfig

%postun -n libcurl -p /sbin/ldconfig

%post -n libcurl-minimal -p /sbin/ldconfig

%postun -n libcurl-minimal -p /sbin/ldconfig

> I don't think it's feasible or even desirable to teach ldconfig about 
> the RemovePathPostfixes RPM feature.
> 
> Thanks,
> Florian
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux