I compiled xfwm from source on a solaris10 machine. Because of this I had to compile several packages from ground up (including gtk2, glib 2.18, etc). After I solved all the dependencies, I could compile xfwm-4.4.2. I tried starting 'xfwm' afterwards but got the following error:
ld.so.1: xfwm4: fatal: relocation error: file /home/stephan/local/lib/libgio-2.0.so.0: symbol g_thread_gettime: referenced symbol not found Killed Exit 137
In fact, the file IS at the mentioned location so I'm rather out of ideas what to do now....
Any suggestions or more information needed?
Here are the package versions which I compiled myself:
Dependencies: Cairo 1.8.0, Pango 1.22.0, Glib 2.18.2, Atk-1.24.0, Gtk2+-2.14.3
Xfce-Packages: libxfce4util-4.4.2 libxfce4mcs-4.4.2 libxfcegui4-4.4.2 xfce-mcs-manager-4.4.2
the relocation error does not refer to the file, but to the symbol exported from the library.
"g_thread_gettime" seems to be missing.
Google for "g_thread_gettime" and you'll notice you're not alone.
I'd guess that libgio wants to call function g_thread_gettime from libgthread, but it is getting the old solaris version.
try to make sense of ldd $(which xfwm4) output.
That was it!
ldd xfwm4 showed that it tried using the old sun libraries.
Solution was to put my local library directory in front of the LD_LIBRARY_PATH environment variable
Thanks for your advice!