installed ndesk-dbus-1.0.pc got libdir wrong

Bug #638473 reported by Matt Davey
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NDesk D-Bus
New
Undecided
Unassigned

Bug Description

I've been building the gnome-2.31.91 release using jhbuild.
I found that I had problems when building "ndesk-dbus-glib" which I fixed by amending the ndesk-dbus-1.0.pc that was installed by ndsk-dbus-0.6.0.

The problem was the pkgconfig gave libdir as
  libdir=${exec_prefix}/lib
when it should have been
  libdir=${exec_prefix}/lib64

ndesk-dbus-1.0..pc was installed in /opt/gnome2/lib64/pkgconfig/ndesk-dbus-1.0.pc so it wasn't ignoring lib64 entirely.

Revision history for this message
Dan Ziemba (zman0900) wrote :

I've also been building gnome, the 2.32 release. Here is a patch to fix the problem. Apply it then run autoreconf and and rebuild ndesk-dbus.

Revision history for this message
Dan Ziemba (zman0900) wrote :

Here's another patch to correct the same problem with ndesk-dbus-glib-0.4.1

Revision history for this message
Dan Ziemba (zman0900) wrote :

Turns out these patches are not quite right. This makes the .pc file correct, but on 64bit systems, it seems mono puts all their libs and the gac in lib and only pkg-config file in lib64. Maybe the .pc files were correct, but the libs were being installed to the wrong place. I'm not very familiar with mono, so I will leave this one to the pros.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.