[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)

Ion-Mihai Tetcu itetcu at FreeBSD.org
Sat Feb 6 10:50:06 UTC 2010

On Sat, 06 Feb 2010 11:13:08 +0100
"O. Hartmann" <ohartman at 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.
> 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 at 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.

IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
FreeBSD committer -> itetcu at FreeBSD.org, PGP Key ID 057E9F8B493A297B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100206/3d0551b5/signature.pgp

More information about the freebsd-questions mailing list