I get errors linking xfce4-session because libtool seems to pick up libxfce4util.so from the /usr/lib directory (where I have xfce 4.0.x installed) rather than the /usr/local/xfce4 directory I specified as a PREFIX If I add -L$PREFIX/lib at the beginning of the libtool command it works fine
Additional information: Compiling on Fedora Core 2 with xfce 4.0.x installed in default directories, installing into /usr/local/xfce4 I have attached a patch that (though it is obviously inappropriate to apply), fixes the problem
rearranging the order of LD_ADD fixes this, attaching a proper patch
Created attachment 68 Updated patch that fixes the -l order... Added updated patch for latest CVS, fixing similar problem with -lxfce4gui
The @GNOME_LIBS@ line pulls in /usr/lib, which causes the problem. (TODO benny) To fix the problem, move the @GNOME_LIBS@ line at the end.
Created attachment 69 move GNOME libs to the end so they don't pull in dbh and /lib Attached an exact patch in case, just to make fixing this easier :-)
Fixed, thanks for the patch.