Comment 5 for bug 13362

Revision history for this message
In , Julien Cristau (julien-cristau) wrote : Re: Bug#297315: libX11-6: missing links

michael, you should copy your replies to the bug report, so that other
peoples can read them. (I did this for this one)

On 28/02/2005-17:57, michael bane wrote:

> On Mon, 2005-02-28 at 17:13 +0100, Julien Cristau wrote:
> > On 28/02/2005-17:06, michael wrote:
> >
> > > Package: libX11-6
> > > Version: 4.3.0.dfsg.1-10
> > > Severity: grave
> > > Tags: patch
> > > Justification: renders package unusable
> > >
> > > On my system I had to put these symbolic links
> > > lrwxrwxrwx 1 root root 11 Feb 28 14:47 libXpm.so -> libXpm.so.4
> > > lrwxrwxrwx 1 root root 12 Feb 28 13:48 libXext.so -> libXext.so.6
> > > lrwxrwxrwx 1 root root 11 Feb 28 12:59 libX11.so -> libX11.so.6
> > > in order for `ld` to accept -L/usr/X11R6/lib -lXpm -lXext -lX11
> > >
> > Hi,
> >
> > this is not a bug, the .so symlinks are provided by the -dev packages
> > (libx11-dev, libxext-dev, libxpm-dev), as they are not needed at
> > runtime. They are not, and should not be, included in the library
> > packages themselves.
> > Closing this spurious bug report.
> >
> > Regards,
> > Julien
>
> Julien - hope you don't mind a quick "thanks for prompt reply"! I didn't
> realise the above so is it worth amending the libX11 and libX11-dev doc
> (package info) to say if you require to link against X11 etc you need
> the -dev package too?
>
> Cheers, Michael
>
Personally, I think it's fairly obvious you need the devel package when
you want to use a library for development, but as I'm not the package
maintainer, I'm not the one you should try to convince :)

Regards,
Julien