binreloc, which currently lives in libpurple, redefines LIBDIR to $PREFIX/lib/libpurple This means that, the -DLIBDIR=/usr/local/lib/pidgin command line flag we're passing in Pidgin is getting ignored in favor of binreloc (I hate that thing). What's the correct fix? Having binreloc in the library and in the client, I presume? -s.