Subject: pkg/22395: Libtool needs shared version of libXss (or does it?)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <vugdeox@freeshell.org>
List: netbsd-bugs
Date: 08/07/2003 21:47:07
>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: