[kde-freebsd] [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)
Leslie Jensen
leslie at eskk.nu
Mon Feb 8 08:44:53 CET 2010
2010-02-07 15:37, Ion-Mihai Tetcu skrev:
> On Sun, 07 Feb 2010 13:36:55 +0100
> Leslie Jensen<leslie at eskk.nu> wrote:
>
> [ .. ]
>
>>>> 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?
>
> Please send the make output with the failure, and pkg_info -Ia.
>
When I run the command I get this
pkg_info -Ia > pkg_info_100208.txt
pkg_info: corrupted record (pkgdep line without argument), ignoring
pkg_info: corrupted record (pkgdep line without argument), ignoring
pkg_info: corrupted record (pkgdep line without argument), ignoring
Probably because the ports deinstalled are dependencies of openoffice!
When running portmaster --check-depends it complains about
x11-toolkits/qt33
audio/arts
x11/kdelibs3
Please see attached file!
Make output:
/usr/bin/ld: warning: libjpeg.so.10, needed by /usr/local/lib/libmng.so,
not found (try using -rpath or -rpath-link)
/usr/local/lib/libmng.so: undefined reference to
`jpeg_start_decompress at LIBJPEG_7.0'
/usr/local/lib/libmng.so: undefined reference to
`jpeg_input_complete at LIBJPEG_7.0'
/usr/local/lib/libmng.so: undefined reference to
`jpeg_start_output at LIBJPEG_7.0'
/usr/local/lib/libmng.so: undefined reference to
`jpeg_resync_to_restart at LIBJPEG_7.0'
/usr/local/lib/libmng.so: undefined reference to
`jpeg_read_scanlines at LIBJPEG_7.0'
/usr/local/lib/libmng.so: undefined reference to
`jpeg_finish_decompress at LIBJPEG_7.0'
/usr/local/lib/libmng.so: undefined reference to
`jpeg_read_header at LIBJPEG_7.0'
/usr/local/lib/libmng.so: undefined reference to
`jpeg_CreateDecompress at LIBJPEG_7.0'
/usr/local/lib/libmng.so: undefined reference to
`jpeg_has_multiple_scans at LIBJPEG_7.0'
/usr/local/lib/libmng.so: undefined reference to
`jpeg_std_error at LIBJPEG_7.0'
/usr/local/lib/libmng.so: undefined reference to
`jpeg_destroy_compress at LIBJPEG_7.0'
/usr/local/lib/libmng.so: undefined reference to
`jpeg_destroy_decompress at LIBJPEG_7.0'
/usr/local/lib/libmng.so: undefined reference to
`jpeg_finish_output at LIBJPEG_7.0'
*** Error code 1
Stop in
/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/tools/designer/uic.
*** Error code 1
Stop in
/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/tools/designer/uic.
*** Error code 1
Stop in /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/tools/designer.
*** Error code 1
Stop in /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/tools.
*** Error code 1
Stop in /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8.
*** Error code 1
Stop in /usr/ports/x11-toolkits/qt33.
*** Error code 1
Stop in /usr/ports/x11-toolkits/qt33.
Thanks :-)
/Leslie
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pkg_info_100208.txt
Url: http://mail.kde.org/pipermail/kde-freebsd/attachments/20100208/fed13553/attachment-0001.txt
More information about the kde-freebsd
mailing list