Ports: How do dependent ports upgrade when dependency shared lib version is bumped?

Alexander Best arundel at freebsd.org
Sun Dec 12 10:48:14 UTC 2010

On Sat Dec 11 10, Yuri wrote:
> I recently updates the system. libatkmm-1.6.so.1 got bumped to 
> libatkmm-1.6.so.2, now inkscape fails:
> /libexec/ld-elf.so.1: Shared object "libatkmm-1.6.so.1" not found, 
> required by "inkscape"
> What is the right behavior in such situation? Should all depending 
> packages be also automatically bumped? Or portupghrade should detect the 
> change and automatically upgrade dependent ports?

portupgrade -rfx atkmm atkmm should take care of the issue, although
portupgrade -rf atkmm is probably ok too, unless atkmm takes multiple hours to

as a workaround you could also add an entry to /etc/libmap.conf:

libatkmm-1.6.so.1	libatkmm-1.6.so.2

if things in libatkmm haven't changed too much you might get away with it for
now and delay the portupgrade to some time that's more convenient to you.


> Yuri


More information about the freebsd-questions mailing list