Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2006 14:11:45 -0500
From:      Mikhail Teterin <mi+mx@aldan.algebra.com>
To:        ports@freebsd.org
Cc:        kuriyama@freebsd.org
Subject:   just say NO to explicit shlib numbers (Broken dependency on expat)
Message-ID:  <200603291411.46142.mi%2Bmx@aldan.algebra.com>

next in thread | raw e-mail | index | archive | help
Amarendra Godbole wrote on Mar 29th:
=I tried to build apache22 from the ports (/usr/ports/www/apache22/).
=Now, the initial build failed, because of a broken dependency on
=libexpat - as apache22 needed a newer version than the one I had
=(1.95.*).

This problem is what some committers continue to impose on the FreeBSD users. 
Apache22 does not care, which libexpat it is built against -- it would've 
been just as happy with libexpat.5, that Amarendra already had.

Unfortunately, instead of removing the requirement for a particular shared 
library number altogether, kuriyama bumped it on Jan 30:

	revision 1.190
	date: 2006/01/30 23:20:03;  author: kuriyama;  state: Exp;  lines: +2 -2
	Chase shlib bump of libexpat.

This nonsense ought to stop. It is quite rare, that a port insists on a 
particular shared library version of a dependency. The number should not be 
explicitly specified in any other case...

	-mi

=So, I forcibly deinstalled, and reinstalled expat2 from
=/usr/ports/textproc/expat2/, and apache22 built and installed fine.

=So far so good...

=...but upgrading libexpat removed the original libexpat.so.5 link, and
=put a libexpat.so.6...which caused all my X based programs, including
=the window manager to break! X just refused to start, and so did many
=other programs.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603291411.46142.mi%2Bmx>