configure cannot find in /usr/local/lib & /usr/include
Posted: 07 Jan 2013 06:10
I'm following the instructions to cross compile for win32, and when I reach the configure step, I get errors telling me that I lack libraries (libmad) or header files (for libfaad). However, when I look for these files, they appear to be in ordinary places, such as /usr/local/lib and /usr/include. Can anyone tell me what I must change?
Here's the error message I get when running configure:
...Yet when I look for libmad using `find` or `aptitude`, it appears to be installed. (Indeed, I downloaded the library from the url given in the error message):
I also tried including the `--disable-mad` flag in my call to the configure script, but that yielded the error:
...Yet the libfaad headers too appear to me be in their proper place:
Here's the error message I get when running configure:
Code: Select all
$ ../extras/package/win32/configure.sh --host=i686-w64-mingw32
<lots of checks...>
configure: error: Could not find libmad on your system: you may get it from http://www.underbit.com/products/mad/. Alternatively you can use --disable-mad to disable the mad plugin.
Code: Select all
$ find / -name libmad.so
/usr/lib/i386-linux-gnu/libmad.so
/usr/local/lib/libmad.so
/home/<me>/Downloads/libmad-0.15.0b/.libs/libmad.so
$ aptitude search libmad
p libmad-ocaml - OCaml bindings for the MAD library (Runtim
v libmad-ocaml-0hmp8 -
p libmad-ocaml-dev - OCaml bindings for the MAD library (Develo
v libmad-ocaml-dev-0hmp8 -
i libmad0 - MPEG audio decoder library
i libmad0-dev - MPEG audio decoder development library
i A libmadlib - mesh adaptation library
p libmadlib-dbg - mesh adaptation library
i libmadlib-dev - mesh adaptation library
Code: Select all
configure: error: Cannot find development headers for libfaad...
Code: Select all
$ find / -name faad.h
/usr/include/faad.h
/home/<me>/dev/win/vlc/contrib/i686-linux-gnu/include/faad.h
/home/<me>/dev/win/vlc/contrib/win32/faad2/include/faad.h