Bug #163938: Change the library name dlopen uses to libesd.so.0, since we hard depend on libesd0-dev. Probably this should be integrated into autoconf? diff -Ndurp libmikmod-3.1.10.orig/drivers/drv_esd.c libmikmod-3.1.10/drivers/drv_esd.c --- libmikmod-3.1.10.orig/drivers/drv_esd.c 2002-01-12 19:00:36.000000000 +0100 +++ libmikmod-3.1.10/drivers/drv_esd.c 2003-01-22 18:03:37.000000000 +0100 @@ -100,7 +100,7 @@ static BOOL ESD_Link(void) if (libesd) return 0; /* load libesd.so */ - libesd=dlopen("libesd.so",RTLD_LAZY|RTLD_GLOBAL); + libesd=dlopen("libesd.so.0",RTLD_LAZY|RTLD_GLOBAL); if (!libesd) return 1; /* resolve function references */