From owner-freebsd-questions@FreeBSD.ORG Sun Feb 7 12:37:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B4601065672 for ; Sun, 7 Feb 2010 12:37:03 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id D5CAF8FC16 for ; Sun, 7 Feb 2010 12:37:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id A6A9B5E117; Sun, 7 Feb 2010 13:37:01 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -1.835 X-Spam-Level: X-Spam-Status: No, score=-1.835 tagged_above=-999 required=5 tests=[AWL=-0.140, BAYES_00=-2.599, RCVD_IN_PBL=0.905, SPF_PASS=-0.001] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id x8YURcDUSib9; Sun, 7 Feb 2010 13:36:56 +0100 (CET) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mx1.bjare.net (Postfix) with ESMTP id 130905E15F; Sun, 7 Feb 2010 13:36:55 +0100 (CET) Message-ID: <4B6EB3E7.70903@eskk.nu> Date: Sun, 07 Feb 2010 13:36:55 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.1.7) Gecko/20100207 Thunderbird/3.0.1 MIME-Version: 1.0 To: Ion-Mihai Tetcu References: <4B6D40B4.70203@mail.zedat.fu-berlin.de> <20100206124952.34cb5f1d@it.buh.tecnik93.com> <20100206125856.601e513b@it.buh.tecnik93.com> In-Reply-To: <20100206125856.601e513b@it.buh.tecnik93.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kde-freebsd@kde.org, freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: [WORKAROUND] Re: /usr/ports/x11-toolkits/qt33: /usr/bin/ld: warning: libjpeg.so.10, needed by /usr/local/lib/libqt-mt.so, not found (try using -rpath or -rpath-link) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2010 12:37:03 -0000 2010-02-06 11:58, Ion-Mihai Tetcu skrev: > On Sat, 6 Feb 2010 12:49:52 +0200 > Ion-Mihai Tetcu wrote: > >> On Sat, 06 Feb 2010 11:13:08 +0100 >> "O. Hartmann" wrote: >> >>> Since yesterday's portsnape and attempt updating my ports, ALL >>> FreeBSD boxes (running FreeBSD 8.0/amd64) fail to update ports via >>> 'portmaster -av' at the same point with the following error. >>> >>> It seems that that port jpeg-8 has been updated and now offering >>> libjpeg.so.11 instead of the desired old libjpeg.so.10, so I guess >>> everything depending on port jpeg-8 needs to be rebuild - but >>> ports/UPDATE does not reflect this. >>> >>> c++ -fno-exceptions -Wl,-rpath,/usr/local/lib >>> -Wl,-rpath,/usr/local/lib -pthread -o ../../../bin/uic >>> .obj/release-shared-mt/main.o .obj/release-shared-mt/uic.o >>> .obj/release-shared-mt/form.o .obj/release-shared-mt/object.o >>> .obj/release-shared-mt/subclassing.o .obj/release-shared-mt/embed.o >>> .obj/release-shared-mt/widgetdatabase.o >>> .obj/release-shared-mt/domtool.o .obj/release-shared-mt/parser.o >>> -L/usr/local/lib -L/usr/local/lib >> >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> >>> -L/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/lib >>> -L/usr/local/lib -lqt-mt -lmng -ljpeg -lpng -lz -lXi -lXrender >>> -lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig -lXext >>> -lX11 -lm -lSM -lICE >>> /usr/bin/ld: warning: libjpeg.so.10, needed by >>> /usr/local/lib/libqt-mt.so, not found (try using -rpath or >>> -rpath-link) /usr/local/lib/libqt-mt.so: undefined reference to >>> `jpeg_start_decompress@LIBJPEG_7.0' >> >> >> That above it's the problem, kde team is aware of it. >> >> For the moment the workaround, when you get to this, is to: >> mv /usr/local/lib/libqt-mt.so /usr/local/lib/libqt-mt.so.old&& \ >> cd /usr/ports/x11-toolkits/qt33/&& make&& \ >> mv /usr/local/lib/libqt-mt.so.old /usr/local/lib/libqt-mt.so&& \ >> portmaster -C x11-toolkits/qt33 >> >> >> I did this yesterday while under KDE3 without problems. > > You'll run into the same kind of problem with kdelibs3: > > > Making all in dnssd > gmake[2]: Entering directory `/usr/home/itetcu/wrk/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/dnssd' > ../kdecore/kconfig_compiler/kconfig_compiler ./kcm_kdnssd.kcfg ./settings.kcfgc; ret=$?; \ > if test "$ret" != 0; then rm -f settings.h ; exit $ret ; fi > /libexec/ld-elf.so.1: Shared object "libjpeg.so.10" not found, required by "libkdefx.so.6" > gmake[2]: *** [settings.h] Error 1 > gmake[2]: Leaving directory `/usr/home/itetcu/wrk/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/dnssd' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/usr/home/itetcu/wrk/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10' > gmake: *** [all] Error 2 > *** Error code 1 > > Stop in /usr/ports/x11/kdelibs3. > > > The same workaround works. > > And yes, this means the kde ports are in wrong. > > I've tried this and I couldn't make it work! I then decided to remove the ports arts, kdelibs3, qt33 and k3b with pkg_deinstall, because these are the only ones installed that are affected of the above problem. I also did make clean for these ports. Even so, when I start installing qt33 again the same problem comes up. Do you have any suggestions on how I should do to make it work? Thanks /Leslie