[vorbis-dev] Distribution Fixes

Ingo Saitz Ingo.Saitz at stud.uni-hannover.de
Fri Oct 27 17:33:28 PDT 2000



MoiN

Just found a nice explanation of shared library filenames:

http://www.linuxfocus.org/English/November1997/article6.html#soname

The same information is in the gcc HOWTO:

http://www.linuxdoc.org/HOWTO/GCC-HOWTO/x575.html#INDEX.73

On Fri, Oct 27, 2000 at 12:16:23AM +0200, Segher Boessenkool wrote:
> Segher Boessenkool wrote:
> > > It goes in the -devel package because it's only needed at build time,
> > > not at run time. Not including the link makes it fail when you attempt
> > > to include -lwhatever on the link line, which is desirable if you
> > > don't have the headers.
> > 
> > And it makes dynamic loading fail a well.
> 
> I mean the dlsym() etc. kind of loading here.

You should always reference a library by it's soname, even on
dynamic loading, because you can't be sure that the changes to
the interface are compatible with your code.

Programs which do not reference a library by it's soname will
break (or have to recompile the shared code).

    Ingo

-- 
<PRE>      _
          ( )  ASCII Ribbon Campaign
          /~\  Against HTML Mail
</PRE>   '   `

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis-dev mailing list