[kde-freebsd] KDE4 versioning problems

David Johnson david at usermode.org
Sun Feb 10 06:05:11 CET 2008

I cleaned out everything and started building KDE4 from the top. When I got 
the kdepimlibs, I notice that kio_imap4.so links to KDE3's libkmime. Arrg! 
Looking closer, I note that it's a version problem, as both kdepim (KDE3) and 
kdepimlibs (KDE4) provide "libkmime.so.4", and kio_imap4 is picking up the 
wrong one.

ldd /usr/local/kde4/lib/kde4/kio_imap4.so:
	libQtCore.so.4 => /usr/X11R6/lib/libQtCore.so.4 (0x281d7000)
	libpthread.so.2 => /lib/libpthread.so.2 (0x28342000)
	libkdecore.so.7 => /usr/local/kde4/lib/libkdecore.so.7 (0x28369000)
	libkmime.so.4 => /usr/X11R6/lib/libkmime.so.4 (0x2925d000)
	libkdecore.so.6 => /usr/local/lib/libkdecore.so.6 (0x2a113000)
	libqt-mt.so.3 => /usr/local/lib/libqt-mt.so.3 (0x2a599000)

I am fixing this locally this by bumping GENERIC_LIB_VERSION to 5 in 
KDE4Defaults.cmake, and if it works I may commit it.  I am concerned with 
this tactic of reversioning, however. Is this something we would be stuck 
with forever if we pursue it? Is there any way to fix it in KDE3?

David Johnson

More information about the kde-freebsd mailing list