Re: [Cle-devel] libtabe naming convention
On Wed, Dec 05, 2001 at 09:46:01AM +0800, Ping Yeh wrote:
> 把
> libtabe.so.<API version number>
> 做成指向
> libtabe-<release number>.so.<API version number>
> 的 symbolic link 是否就可以解决这个问题?
不是不可以,但这个不是惯例。您看看 /usr/lib/ 底下有多少个是
lib?????-<release number>.so.<API version number> 命名的?
百多个 lib*.so.* 之中,大概只有几个是这样命名的。
Shared library 的名称不是摆放 release number 的好地方。
library interface 和字词资料两者的版本编码不应夹硬放在一起,因为
两者基本上是独立的。
虽说是加个 symlink 可以解决问题,但从一个套件包装者的角度来看,
我认为最好遵从已有的、公认的标准惯例,保持简洁,不然套件之间相互的
dependencies 可以搞得好乱,要用升级 *.deb、*.rpm 等等就麻烦了。
以下是小弟几天前找到的、有点儿相关的资料,因为我自己之前也搞不清楚
libtool (RELEASE, CURRENT, VERSION, AGE) 和 linux 的 major, minor soname
等关系。 :-)
http://www.linuxdoc.org/HOWTO/GCC-HOWTO/x575.html
http://mail.gnu.org/pipermail/bug-parted/2001-February/000639.html
http://mail.gnome.org/archives/gtk-list/1998-July/msg00312.html
东东
--
Anthony Fok Tung-Ling 霍东灵
ThizLinux Laboratory <anthony@thizlinux.com> http://www.thizlinux.com/
Debian Chinese Project <foka@debian.org> http://www.debian.org/intl/zh/
Come visit Our Lady of Victory Camp! http://www.olvc.ab.ca/
--
To UNSUBSCRIBE, email to debian-chinese-big5-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
| This message was re-posted from debian-chinese-big5@lists.debian.org
| and converted from big5 to gb2312 by an automatic gateway.
Reply to: