From owner-freebsd-ports Wed Nov 7 5:10:31 2001 Delivered-To: freebsd-ports@freebsd.org Received: from wwweasel.geeksrus.net (wwweasel.geeksrus.net [64.67.200.82]) by hub.freebsd.org (Postfix) with ESMTP id 9B9E737B416 for ; Wed, 7 Nov 2001 05:10:25 -0800 (PST) Received: from there (localhost.geeksrus.net [127.0.0.1]) by wwweasel.geeksrus.net (8.11.6/8.11.6) with SMTP id fA7D9Or71864; Wed, 7 Nov 2001 08:09:24 -0500 (EST) (envelope-from alane@geeksrus.net) Message-Id: <200111071309.fA7D9Or71864@wwweasel.geeksrus.net> Content-Type: text/plain; charset="iso-8859-1" From: Alan E To: Jason Vervlied Subject: Re: Errors with kde-2.2.1 Date: Wed, 7 Nov 2001 08:09:24 -0500 X-Mailer: KMail [version 1.3.1] References: <20011107125738.CAC3D37B417@hub.freebsd.org> In-Reply-To: <20011107125738.CAC3D37B417@hub.freebsd.org> Cc: ports@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wednesday 07 November 2001 07:57, you wrote: > Whenever I launch an app in kde-2.2.1 from a shell, I recieve the following > error messages printed to my console > > libpng warning: Application was compiled with png.h from libpng-1.0.12 > libpng warning: Application is running with png.c from libpng-1.2.0 > > Also, any apps I run, such as kmail have no graphics attached to them. > When I built kde-2.2.1, I had libpng-1.0.12 and /usr/local/include/png.h is > from version 1.2.0 > > Has anyone encountered this error, and if so does anyone know how to > correct it. KDE is completly unusable at this point because of this. Yes, this is apparently a FAQ, and not as OS specific one. The errors are the clues: mismatched header and code for the png libraries. How? You've got 2 versions of PNG installed. You should have only 1 version of PNG on your system. Corollary is that all other packages installed must be linked against that same version of PNG. This happens when some packages are updated that use libpng and others are not. It seems that it must be an all or nothing upgrade. Look on the mailing list archives from about a week ago (search for libpng) and you'll find the previous discussion; it provides more detail. FWIW: KDE and Qt should be able to use their own private version of libpng if desired. However, their make technology does not support that at the moment. I investigated this a while back on RH Rawhide and decided I didn't want to start mucking around in the kde*/admin directories: it affects all of KDE, and I felt the risk/reward ratio was too high. -- Alan Eldridge #include free(sklyarov); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message