Steven Spies wrote:

Yup, that seemed to do the trick. I tested the new executable on my
iBook that does not have the required library installed and it worked
fine. The old one complained the library is missing. This is slightly
off topic but how do you compile a program like sox so it does not
need an external library? I have been wanting to do the same thing for
a great program called wavegain that can calculate replaygain values
for wave and aiff files and optionally apply the changes to the file
but I was never able to figure it out. Do you have any ideas? Besides
my knowledge of compiling is very limited. If ./configure, make, sudo
make install does not work I am completely lost ;^)



Obviously, I'm no expert either. :-) To statically link in the ogg and vorbis libraries for sox, you need to make sure that the .a versions of the libraries and not the .so versions are in the library path (both the LD_LIBRARY_PATH environment variable and any -L inclusions on the command line). For me, this generally involves finding out where the libraries were installed (e.g. /usr/local/lib) and temporarily mv'ing them. Some configure scripts support the --enable-static and --disable-shared options.


--Vidur
_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to