[kde-freebsd] "libhal_storage_policy_new"

Maxim Samsonov xors at mne.ru
Tue Mar 27 22:36:35 CEST 2007


On Tuesday 27 March 2007 06:04:56 Mikhail Teterin wrote:
> Whenever I start the newly-built KDE-3.5.6, the following gets printed:
>
> /libexec/ld-elf.so.1: /opt/lib/kde3/kded_mediamanager.so: Undefined
> symbol "libhal_storage_policy_new"
>
> Google brings up:
>
> 	http://lists.kde.org/?l=kde-devel&m=114408304803396&w=2
>
> which suggests, that linking kded_mediamanager.so with just -lhal is not
> enough -- one needs -lhal-storage as well.
>
> Either that, or -lhal needs to drag in -lhal-storage on its own...
>
> I'm rebuilding with the March-24 version of HAL right now, but this bug is
> not mentioned in the last commit's log...
>
> Please, advise! Thanks,
>
> 	-mi
> _______________________________________________
> kde-freebsd mailing list
> kde-freebsd at kde.org
> https://mail.kde.org/mailman/listinfo/kde-freebsd

Hello!
It looks like a problem with kdebase3 configure script or with installed libs 
location. Have you built all this stuff from ports with "LOCALBASE=/opt"?
Could you provide a config.log (from top kdebase build dir) or output
from configure script?
It would be interesting to have a look at the output of:
"pkg-config --modversion --libs hal hal-storage"
as for me, I get the following:
  0.5.8
  0.5.8
  -pthread -L/usr/local/lib -lhal-storage -lhal -ldbus-1
and the output for:
"ldd /you path/kded_mediamanager.so"
which should look like this:
/usr/local/lib/kde3/kded_mediamanager.so:
	libkio.so.6 => /usr/local/lib/libkio.so.6 (0x281be000)
	libhal-storage.so.1 => /usr/local/lib/libhal-storage.so.1 (0x28523000)
	libhal.so.1 => /usr/local/lib/libhal.so.1 (0x2852c000)
	libintl.so.8 => /usr/local/lib/libintl.so.8 (0x28535000)
	libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x2853f000)
	libdbus-qt-1.so.1 => /usr/local/lib/libdbus-qt-1.so.1 (0x2862d000)
	libdbus-1.so.3 => /usr/local/lib/libdbus-1.so.3 (0x2863d000)
	libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x28677000)
	libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x28696000)
	libm.so.4 => /lib/libm.so.4 (0x2876b000)
	libkdeui.so.6 => /usr/local/lib/libkdeui.so.6 (0x28782000)
	libkdesu.so.6 => /usr/local/lib/libkdesu.so.6 (0x28a6e000)
	libkwalletclient.so.1 => /usr/local/lib/libkwalletclient.so.1 (0x28a88000)
	libz.so.3 => /lib/libz.so.3 (0x28a99000)
	libfam.so.0 => /usr/local/lib/libfam.so.0 (0x28aab000)
	libkdecore.so.6 => /usr/local/lib/libkdecore.so.6 (0x28ab3000)
	libutil.so.5 => /lib/libutil.so.5 (0x28d0c000)
	libDCOP.so.6 => /usr/local/lib/libDCOP.so.6 (0x28d19000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28d4d000)
	libart_lgpl_2.so.5 => /usr/local/lib/libart_lgpl_2.so.5 (0x28d5b000)
	libidn.so.16 => /usr/local/lib/libidn.so.16 (0x28d70000)
	libkdefx.so.6 => /usr/local/lib/libkdefx.so.6 (0x28da0000)
	libqt-mt.so.3 => /usr/X11R6/lib/libqt-mt.so.3 (0x28dca000)
	libpng.so.5 => /usr/local/lib/libpng.so.5 (0x294d3000)
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x294f8000)
	libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x295c5000)
	libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x295ce000)
	libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x295e6000)
	libmng.so.1 => /usr/local/lib/libmng.so.1 (0x295ef000)
	libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x29644000)
	libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x2964c000)
	libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x29650000)
	libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x29659000)
	libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x2965c000)
	libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x2966e000)
	libfontconfig.so.1 => /usr/X11R6/lib/libfontconfig.so.1 (0x296da000)
	liblcms.so.1 => /usr/local/lib/liblcms.so.1 (0x29704000)
	libXfixes.so.3 => /usr/X11R6/lib/libXfixes.so.3 (0x29736000)
	libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x2973b000)

Good luck!


More information about the kde-freebsd mailing list