On Mon, 2013-08-19 at 12:54 +0300, Tanu Kaskinen wrote: > On Tue, 2013-08-13 at 01:54 -0300, jprvita at gmail.com wrote: > > +static bool exists(const char *filename) { > > + const char *paths, *state = NULL; > > + char *p, *pathname; > > + bool result; > > + > > + if (!(paths = lt_dlgetsearchpath())) > > undefined reference to `lt_dlgetsearchpath' > > Does this compile on your machine? Apparently this works on some machines and not on others. On my machine this is required to make the linking work: -module_bluetooth_discover_la_LIBADD = $(MODULE_LIBADD) +module_bluetooth_discover_la_LIBADD = $(MODULE_LIBADD) $(LIBLTDL) -- Tanu