Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Feb 2010 12:49:52 +0200
From:      Ion-Mihai Tetcu <itetcu@FreeBSD.org>
To:        "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de>
Cc:        kde-freebsd@kde.org, freebsd-questions@freebsd.org, freebsd-ports@freebsd.org
Subject:   [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)
Message-ID:  <20100206124952.34cb5f1d@it.buh.tecnik93.com>
In-Reply-To: <4B6D40B4.70203@mail.zedat.fu-berlin.de>
References:  <4B6D40B4.70203@mail.zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/NUXDzXAsnZ4VYPLQIr9_CLv
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Sat, 06 Feb 2010 11:13:08 +0100
"O. Hartmann" <ohartman@mail.zedat.fu-berlin.de> 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.
>=20
> It seems that that port jpeg-8 has been updated and now offering=20
> libjpeg.so.11 instead of the desired old libjpeg.so.10, so I guess=20
> everything depending on port jpeg-8 needs to be rebuild - but=20
> ports/UPDATE does not reflect this.
>=20
> c++ -fno-exceptions  -Wl,-rpath,/usr/local/lib=20
> -Wl,-rpath,/usr/local/lib -pthread -o ../../../bin/uic=20
> .obj/release-shared-mt/main.o  .obj/release-shared-mt/uic.o=20
> .obj/release-shared-mt/form.o  .obj/release-shared-mt/object.o=20
> .obj/release-shared-mt/subclassing.o  .obj/release-shared-mt/embed.o=20
> .obj/release-shared-mt/widgetdatabase.o=20
> .obj/release-shared-mt/domtool.o  .obj/release-shared-mt/parser.o=20
> -L/usr/local/lib -L/usr/local/lib=20

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> -L/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/lib=20
> -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=20
> /usr/local/lib/libqt-mt.so, not found (try using -rpath or
> -rpath-link) /usr/local/lib/libqt-mt.so: undefined reference to=20
> `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.


--=20
IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B

--Sig_/NUXDzXAsnZ4VYPLQIr9_CLv
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkttSVkACgkQJ7GIuiH/oeVcdwCdEBhTI3ad5O7FeGUr9d8QB4J6
0dsAnj0VO0/70mXUeQzsSfrWny+dlbh2
=LulI
-----END PGP SIGNATURE-----

--Sig_/NUXDzXAsnZ4VYPLQIr9_CLv--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100206124952.34cb5f1d>