[Petter Reinholdtsen] > This tell me the build need to be carefully examined and > rewritten before it can be safely integrated into Debian.
I rewrote it to use autotools, and published the result as the autotools branch on <URL: https://github.com/petterreinholdtsen/bs1770gain/ >. > I guess it is possible to get it to use the system libraries, with > some work. The build system is not using autoconf/automake. The program will only build with the latest ffmpeg version of the libav* libraries, as it depend on symbols not present in libav. Because of this, I had to patch the dynamic library code like this to pick the correct file names and look in the correct place on disk. The patch need more work. :) diff --git a/libffsox-2/ffsox_dynload.c b/libffsox-2/ffsox_dynload.c index 6d375be..5665a83 100644 --- a/libffsox-2/ffsox_dynload.c +++ b/libffsox-2/ffsox_dynload.c @@ -142,10 +142,10 @@ found: return hLib; } #else // } { -#define FFSOX_AVUTIL "libavutil.so." FFSOX_AVUTIL_V -#define FFSOX_SWRESAMPLE "libswresample.so." FFSOX_SWRESAMPLE_V -#define FFSOX_AVCODEC "libavcodec.so." FFSOX_AVCODEC_V -#define FFSOX_AVFORMAT "libavformat.so." FFSOX_AVFORMAT_V +#define FFSOX_AVUTIL "libavutil-ffmpeg.so." FFSOX_AVUTIL_V +#define FFSOX_SWRESAMPLE "libswresample-ffmpeg.so." FFSOX_SWRESAMPLE_V +#define FFSOX_AVCODEC "libavcodec-ffmpeg.so." FFSOX_AVCODEC_V +#define FFSOX_AVFORMAT "libavformat-ffmpeg.so." FFSOX_AVFORMAT_V #define FFSOX_LIBSOX "libsox.so." FFSOX_LIBSOX_V @@ -219,6 +219,9 @@ static void *ffsox_loadlib(const char *root, const char *dirname, if (NULL!=(lib=ffsox_loadlib_try("/usr/lib",NULL,basename))) goto found; + if (NULL!=(lib=ffsox_loadlib_try("/usr/lib/x86_64-linux-gnu",NULL,basename))) + goto found; + if (NULL!=(path=getenv("LD_LIBRARY_PATH"))) { if (NULL==(path=strdup(path))) goto path; I've been able to get the binary building in Debian unstable, and the analysis part seem to work by the transcode give me video that seem to be corrupted. probably something went wrong with the patching to get it to build. JFYI. -- Happy hacking Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org