Subject: Re: pkg/22395: Libtool needs shared version of libXss (or does it?)
To: Julio M. Merino Vidal <jmmv@menta.net>
From: Nate Hill <vugdeox@freeshell.org>
List: tech-pkg
Date: 08/07/2003 17:36:07
On Thu August 7 2003 17:21, you wrote:
> I already said it: Kopete IS in pkgsrc. Then you must update the
> package and not create your own. Second thing, this is not a
> problem report; this is a question you already asked in tech-pkg,
> iirc. If libXss is only static, then link against the static
> library (it should still provide a libkopete shared library, or
> whatever); we already do it for several things that use some X
> libraries...
I know Kopete is in pkgsrc. What I meant by "my own Kopete package"
was my own 0.7 package - based on the 0.6.2 one. I am updating the
existing package. What this report is about is the fact that It's not
linking against the static library correctly and only provides a
static libkopete. I just want to know how to get libtool to do this
correctly. Thanks.
> On Thu, 7 Aug 2003 21:47:07 +0000 (UTC)
>
> vugdeox@freeshell.org wrote:
> > >Number: 22395
> > >Category: pkg
> > >Synopsis: Libtool needs shared version of libXss (or does
> > > it?) Confidential: no
> > >Severity: serious
> > >Priority: medium
> > >Responsible: pkg-manager
> > >State: open
> > >Class: support
> > >Submitter-Id: net
> > >Arrival-Date: Thu Aug 07 21:48:00 UTC 2003
> > >Closed-Date:
> > >Last-Modified:
> > >Originator: Nate Hill
> > >Release: 1.6U
> > >Organization:
> > >Environment:
> >
> > NetBSD cryogen 1.6U NetBSD 1.6U (CRYOGEN) #9: Mon Jul 28 17:18:00
> > CDT 2003 vugdeox@cryogen:/sys/arch/i386/compile/CRYOGEN i386
> >
> > >Description:
> >
> > I'm trying to build my own Kopete 0.7 package on a 1.6U system. I
> > have a problem building the libkopete shared object. Libtool
> > tells me it needs to link to libXss (X ScreenSaver extension)
> > but, I only have a static version (True, only libXss.a) and it
> > then builds a static libkopete (this means the entire build is
> > worthless). I saw another similar bug but, I also know that other
> > users of Kopete 0.7 (On GNU/Linux/FreeBSD systems) only have a
> > static version of Xss. Are there any libtool experts who can
> > figure out what I'm doing wrong?
> >
> > DISTNAME= kopete-0.7
> > CATEGORIES= chat kde
> > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=kopete/}
> >
> > MAINTAINER= vugdeox@freeshell.org
> > HOMEPAGE= http://kopete.kde.org/
> > COMMENT= KDE Instant Messenger
> >
> > BUILD_USES_MSGFMT= yes
> >
> > GNU_CONFIGURE= yes
> > USE_BUILDLINK2= yes
> > USE_LIBTOOL= yes
> > USE_GMAKE= yes
> > USE_PKGLOCALEDIR= yes
> >
> > LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
> >
> > CONFIGURE_ARGS+= --with-tags=CXX
> > CONFIGURE_ENV+= ac_cv_have_libpsi="no"
> >
> > .include "../../audio/arts/buildlink2.mk"
> > .include "../../devel/zlib/buildlink2.mk"
> > .include "../../graphics/jpeg/buildlink2.mk"
> > .include "../../meta-pkgs/kde3/buildlink2.mk"
> > .include "../../textproc/libxml2/buildlink2.mk"
> > .include "../../textproc/libxslt/buildlink2.mk"
> > .include "../../x11/kdelibs3/buildlink2.mk"
> > .include "../../mk/pthread.buildlink2.mk"
> > .include "../../mk/bsd.pkg.mk"
> >
> > ---
> >
> > *** Warning: This library needs some functionality provided by
> > -lXss. *** I have the capability to make that library
> > automatically link in when *** you link to this library. But I
> > can only do this if you have a *** shared version of the library,
> > which you do not appear to have. *** The inter-library
> > dependencies that have been dropped here will be ***
> > automatically added whenever a program is linked with this
> > library *** or is declared to -dlopen it.
> >
> > *** Since this library must not contain undefined symbols,
> > *** because either the platform does not support them or
> > *** it was explicitly requested with -no-undefined,
> > *** libtool will only create a static version of it.
> >
> > ---
> >
> > *** Warning: This library needs some functionality provided by
> > ../../libkopete/libkopete.la. *** I have the capability to make
> > that library automatically link in when *** you link to this
> > library. But I can only do this if you have a *** shared version
> > of the library, which you do not appear to have.
> >
> > ---
> >
> > More detail at:
> >
> > http://bugs.kde.org/show_bug.cgi?id=62214
> >
> > >How-To-Repeat:
> > >
> > >Fix:
> > >
> > >Release-Note:
> > >Audit-Trail:
> > >Unformatted:
--
Nate Hill <vugdeox@freeshell.org>