Main Contents

/etc/libmap.conf

前一篇PACKAGESITE+pkg_add -rv的方法, 在使用 “Packages from latest run on 5-current” 失算了, 因為 FreeBSD current 的 library 版本增加了.

不知道用 /etc/libmap.conf 硬幹, 可不可以用. 不然就真的要慢慢編了.


/usr/ports/UPDATING 是這麼說的:

20041001:
AFFECTS: users of ports that require several base system libraries who
are running FreeBSD 5.3-BETA7 or later (including -current)
AUTHOR: kensmith@freebsd.org

As part of the FreeBSD-5.3 release the following system libraries
had their version number incremented:

/lib/libm.so.2 -> libm.so.3
/lib/libreadline.so.4 -> libreadline.so.5
/usr/lib/libhistory.so.4 -> libhistory.so.5
/usr/lib/libopie.so.2 -> libopie.so.3
/usr/lib/libpcap.so.2 -> libpcap.so.3

This should have no effect unless you are using FreeBSD 5.3-BETA7 or
higher, or if you are a -current user who upgraded after this date.
Assuming you did a from-source upgrade new versions of these libraries
will be created but the old versions will be left behind (for example
/lib/libm.so.2 will be the old one, /lib/libm.so.3 will be the new one).
Any ports or pre-built packages you have currently installed will
continue to use the old library, any ports you install after the upgrade
will begin to use the new library. You will need to have all your
ports recompiled before the old library goes away. To help with the
migration you could also use /etc/libmap.conf to map libm.so.2 to
libm.so.3.

Reference:

Popularity: 1% [?]

讀過這篇文章的讀者同時也讀了:

1 則迴響

  1. Kim SmithNo Gravatar 一月 20, 2008 @ 11:58 下午

    Hi…I Googled for ken smith, but found your page about libmap.conf | TaopaiC的異想世界…and have to say thanks. nice read.

發表迴響



Feed