-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, 28 Jan 2003, Alexander Voropay wrote:
> I just have told you about the "RedHat way" :)
>
> You could look at their SRPM and "mysql.spec" from
> ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS/
> to study. They uses %post RPM magic.
>
> ====
> ....
> %post
> ....
> if ! grep '^%{_libdir}/mysql$' /etc/ld.so.conf > /dev/null 2>&1
> then
> echo "%{_libdir}/mysql" >> /etc/ld.so.conf
> fi
> /sbin/ldconfig %{_libdir}/mysql
> ====
Very interesting approach. I still don't agree - why not simply having
the shared libs in /usr/lib where ld.so finds them without having to mess
around with ld.so.conf? What is the rationale behind this? In practice, it
should not really matter where they are located, as long as ld.so finds
them.
Bye,
LenZ
- --
For technical support contracts, visit https://order.mysql.com/?ref=mlgr
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Lenz Grimmer <lenz@stripped>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Production Engineer
/_/ /_/\_, /___/\___\_\___/ Hamburg, Germany
<___/ www.mysql.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/
iD8DBQE+NmrgSVDhKrJykfIRAsbOAJkBWgEB/ZDglRSTIly/UQ72fbvHaACfXEVg
eEnjJnE4XgZtmBZKW35TCjI=
=xXfT
-----END PGP SIGNATURE-----