[MPlayer-dev-eng] configure issue
alex at naxine.org
Wed Mar 20 20:16:19 CET 2002
> > i'm trying to install FAAD (with success, also 'make install' didn't copied
> > faad.h to the includes dir). The package installed everything to /usr/local/.
> > (eof offtopic)
> > Finally i added a dummy function call to the configure test, to check
> > if library is installed too (not only headers).
> > It works right, but, as it's placed to /usr/local/ and it isn't in my
> > environment path, ldd returns with libfaad.so.0 => not found. (hmm, but gcc
> > knows /usr/local, as it linked the binary)
> > Shouldn't we check ldd's output too? I mean ldd $file | grep 'not found',
> > if returned string isn't empty we should write a message or only set
> > configure test to no (disable) and/or add a configure switch for this.
> What about the -rpath option to ld? If we add "-rpath /usr/local/lib" in the
> link stage the executable will search in /usr/local/lib even if /usr/local/lib
> isn't in /etc/ld.so.conf or LD_LIBRARY_PATH. If we do this the ldd test won't
> be necessary.
This isn't the question. The question is about running mplayer.
If the libs which are linked with mplayer arent placed into the path (ld.so.conf)
or into LD_LIBRARY_PAT, than mplayer will fail execution.
More information about the MPlayer-dev-eng