[MPlayer-dev-eng] configure issue
Alex Beregszaszi
alex at naxine.org
Wed Mar 20 22:06:12 CET 2002
Hi,
> > > 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.
>
> IMHO it's not the responsibility of apps to work around a broken os
> install. If /usr/local/lib is missing from ld.so.conf, this needs to
> be fixed, not worked around. If you're installing your libs in a
> strange location you should either add that to ld.so.conf or use
> LD_LIBRARY_PATH yourself, but its better not to do such a thing in the
> first place.
Yes, you're right, but if we're so humanic, why don't display a warning
message?:)
This -rpath stuff looks nice, but dunno nothing about how portable it is.
(i think it's gnu only)
-
alex
More information about the MPlayer-dev-eng
mailing list