|
From: Siet <si...@ho...> - 2007-12-19 12:55:20
|
Hi there, I am trying to staticly compile Sox so that all libraries are contained in the binary. This allows for easy distribution to our servers. If it works that is, because I cant seem to get it to compile right. Sox 14 seems to have support for compiling this way. I tried compiling like this on a Suse 10.2 machine: ./configure --disable-shared --enable-static However it does not seem to compile staticly: $ ldd sox linux-gate.so.1 => (0xffffe000) libmad.so.0 => /usr/lib/libmad.so.0 (0xb7ef6000) libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0xb7e65000) libogg.so.0 => /usr/lib/libogg.so.0 (0xb7e5f000) [..] I have tried a few different flags like --enable-shared=no as well which did not help unfortunately. Does anybody have a tip on how to achieve this? At first I tried to staticly compile version 12.18.1 since we had a special patch made for this version. Unfortunately this version does not support the static/shared compile flags. It should however be possible to still compile staticly using 'ar'. I havent been able to do so unfortunately. Any tips? All help is much appriciated! Thanks, Siet |