I have some debian packages available of 0.5.4 at
http://people.debian.org/~bug1/gnunet/
To get the packages lintian clean (no packaging errors) i dont install
the <library>.so symlink, just <library>.so.0 and <library>.so.0.0
To get this to work i had to change dso.c, im not 100% sure its the
right thing to do, but i think its better to load <library>.so.x so we
can preserve backwards compatability.
--- gnunet-0.5.4.orig/src/util/dso.c
+++ gnunet-0.5.4/src/util/dso.c
@@ -39,10 +39,9 @@
char * libname;
libname = MALLOC(strlen(dso) +
- strlen(prefix) + 1);
+ strlen(prefix) + 6);
libname[0] = '\0';
- strcat(libname, prefix);
- strcat(libname, dso);
+ sprintf(libname, "%s%s.so.0", prefix, dso);
return libname;
}
@@ -90,7 +89,7 @@
/* finally, load the library */
libname = buildLibName(libprefix,
dsoname);
- libhandle = lt_dlopenext(libname);
+ libhandle = lt_dlopen(libname);
if (libhandle == NULL)
errexit("Could not open library %s (%s)!\n",
libname,
_______________________________________________
GNUnet-developers mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/gnunet-developers