On Tuesday, September 11, 2012 15:21:45 Michal Vyskocil wrote:
On Tue, Sep 11, 2012 at 02:43:12PM +0200, Ludwig Nussel wrote:
Michal Vyskocil wrote:
[...] you don't need to do so - all you need is to have proper systemd generator reads the /etc/ld.conf and /etc/ld.conf.d/* to make the proper .path service
PathChanged=|/usr/lib PathChanged=|/usr/lib64
which will trigger the ldconfig
ExecStart=/sbin/ldconfig
Then, you can freely drop the ldconfig from %post scripts out.
Unless you install a chroot... The proper solution would be IMO a) allow ldconfig to (un-)register individual libraries directly so it> doesn't have to scan all directories all the time
b) make rpm call ldconfig on individual libraries automatically
Reading the ldconfig manual page - isn't the -l
-l Library mode. Manually link individual libraries. Intended for use by experts only.
supposed to do that?
-l does not change the cache, just creates links, Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org