! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-session from cvs links with /usr/lib/libxfce4util.so instead of $PREFIX...
Status:
CLOSED: FIXED
Product:
Libxfce4util
Component:
General

Comments

Description davidf 2004-08-24 07:23:39 CEST
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
Comment 1 davidf 2004-08-24 07:23:41 CEST
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
Comment 2 davidf 2004-08-26 11:03:35 CEST
rearranging the order of LD_ADD fixes this, attaching a proper patch
Comment 3 davidf 2004-10-04 07:37:20 CEST
Created attachment 68 
Updated patch that fixes the -l order...

Added updated patch for latest CVS, fixing similar problem with -lxfce4gui
Comment 4 Benedikt Meurer editbugs 2004-10-04 09:39:12 CEST
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.
Comment 5 davidf 2004-10-04 12:00:56 CEST
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 :-)
Comment 6 Benedikt Meurer editbugs 2004-10-04 13:21:18 CEST
Fixed, thanks for the patch.

Bug #304

Reported by:
davidf
Reported on: 2004-08-24
Last modified on: 2009-07-14

People

Assignee:
Xfce Bug Triage
CC List:
0 users

Version

Attachments

Additional information