Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jul 2009 13:58:03 -0800
From:      Mel Flynn <mel.flynn+fbsd.ports@mailing.thruhere.net>
To:        freebsd-ports@freebsd.org
Cc:        Milan Obuch <freebsd-ports@dino.sk>
Subject:   Re: Unable to build /x11/kdelibs3 with updated jpeg-7 port
Message-ID:  <200907231358.03734.mel.flynn%2Bfbsd.ports@mailing.thruhere.net>
In-Reply-To: <200907211259.30376.freebsd-ports@dino.sk>
References:  <20090721064034.44a40391@scorpio.seibercom.net> <200907211259.30376.freebsd-ports@dino.sk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 21 July 2009 02:59:29 Milan Obuch wrote:
> On Tuesday 21 July 2009 12:40:34 Jerry wrote:
> > It appears that the /x11/kdelibs3 ports insists on using the older
> > "libjpeg.so.9" library. Since updating to jpeg-7, this library is
> > no-longer available. Therefore, I cannot build this port.
> >
> > A complete copy of the build log is available here:
> >
> > http://filebin.ca/yrdvkw/kdelibs.log
>
> There is notice in UPDATING, section 20090719,
>
> I found temporary workaround
>
> ln -s /usr/local/lib/libjpeg.so.10 /usr/local/lib/libjpeg.so.9

I don't know why people keep advising this, it only makes future upgrades=20
harder.

The solution is also very simple to determine:
% ldd -a /usr/local/lib/libkdefx.so.6|egrep '(^/|jpeg.so)'
/usr/local/lib/libkdefx.so.6:
        libjpeg.so.10 =3D> /usr/local/lib/libjpeg.so.10 (0x28b31000)
/usr/local/lib/libqt-mt.so.3:
        libjpeg.so.10 =3D> /usr/local/lib/libjpeg.so.10 (0x28b31000)
/usr/local/lib/libpng.so.5:
/lib/libz.so.5:
/usr/local/lib/libXext.so.6:
/usr/local/lib/libX11.so.6:
/usr/local/lib/libSM.so.6:
/usr/local/lib/libICE.so.6:
/usr/local/lib/libXrender.so.1:
/usr/local/lib/libjpeg.so.10:
/usr/lib/libstdc++.so.6:
/lib/libm.so.5:
/lib/libgcc_s.so.1:
/usr/local/lib/libaudio.so.2:
/usr/local/lib/libXt.so.6:
/usr/local/lib/libmng.so.1:
        libjpeg.so.10 =3D> /usr/local/lib/libjpeg.so.10 (0x28b31000)

=46rom this you can tell that you need to rebuild libqt-mt.so.3 and libmng.=
so.1.=20
One more step:
% egrep -l '(libqt-mt.so.3|libmng.so.1)' /var/db/pkg/*/+CONTENTS | xargs gr=
ep=20
=2Dh '@comment ORIGIN:'
@comment ORIGIN:graphics/libmng
@comment ORIGIN:x11-toolkits/qt33

And those are the ports to rebuild for kdelibs3 to be able to build.
=2D-=20
Mel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907231358.03734.mel.flynn%2Bfbsd.ports>