[vlc-devel] [PATCH] Fix live555media libraries link order

Brad brad at comstyle.com
Sat Nov 21 18:07:42 CET 2009

On Saturday 21 November 2009 05:06:00 Rémi Denis-Courmont wrote:
> Le samedi 21 novembre 2009 01:18:49 Brad, vous avez écrit :
> > On Friday 20 November 2009 18:02:20 Rafaël Carré wrote:
> > > Perhaps libtool just doesn't work on your mysterious OS
> >
> > Your build is using libMedia_pic which is not built with the default
> > liveMedia.
> You cannot link VLC with a non-PIC live555 anyway, since it is linked into
> a plugin which is a shared object. Don't blame the VLC build system for
> failing in a case that's essentially impossible to handle. Fix your live555
> build instead.

I am blaming VLC's build system because it doesn't build with the default 
live555. VLC created this situation. I shouldn't have to make a custom copy 
to have VLC build.

> That said, libtool does not care. If you give it a real static library
> (.a), it will just try to link it. Whether it works depends on the
> platform, and, if the platforms requires position-independence, whether the
> library was actually built position-independent.

Exactly. VLC is relying on a behavior which isn't portable.

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the vlc-devel mailing list