pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/34613: devel/libgnome database/db4 Solaris



The following reply was made to PR pkg/34613; it has been noted by GNATS.

From: Gilles Dauphin <Gilles.Dauphin%enst.fr@localhost>
To: juan%xtrarom.org@localhost, heas%shrubbery.net@localhost
Cc: solaris-pkg-people%NetBSD.org@localhost, pkg-manager%NetBSD.org@localhost,
        gnats-admin%NetBSD.org@localhost, snj%NetBSD.org@localhost
Subject: Re: pkg/34613: devel/libgnome database/db4 Solaris
Date: Tue, 26 Sep 2006 11:22:30 +0200 (CEST)

 > From: john heasley <heas%shrubbery.net@localhost>
 > 
 > Mon, Sep 25, 2006 at 07:57:07PM +0200, Juan RP:
 > > On Mon, 25 Sep 2006 17:55:00 +0000 (UTC)
 > > "Gilles Dauphin" <dauphin%enst.fr@localhost> wrote:
 > > 
 > > > I think the bug is in database/db4 
 > > > 
 > > > Maybe this patch in db4:
 > > > 
 > > > [root@redhot 1068] pwd
 > > > /home/cvsmywork/pkgsrc/databases/db4
 > > > [root@redhot 1069] diff -bu buildlink3.mk.orig buildlink3.mk
 > > > --- buildlink3.mk.orig  Mon Jul 10 16:00:22 2006
 > > > +++ buildlink3.mk       Mon Sep 25 19:48:52 2006
 > > > @@ -16,6 +16,11 @@
 > > >  BUILDLINK_PKGSRCDIR.db4?=      ../../databases/db4
 > > >  BUILDLINK_INCDIRS.db4?=                include/db4
 > > >  BUILDLINK_LDADD.db4=           -ldb4
 > > > +.if ${OPSYS} == "SunOS"
 > > > +BUILDLINK_LDADD.db4=           -R${LOCALBASE}/lib
 > > > +BUILDLINK_LDADD.db4+=          -L${LOCALBASE}/lib
 > > > +BUILDLINK_LDADD.db4+=          -ldb4
 > > > +.endif
 > > >  BUILDLINK_TRANSFORM+=          l:db-4:db4
 > > >  
 > > >  .  include "../../mk/bsd.prefs.mk"
 > > 
 > > I don't think this fix is the correct way, because buildlink shouldn't
 > > need to look for libraries in ${LOCALBASE}/lib, there's BUILDLINK_DIR
 > > for that.
 > 
 > This made it work for me (Solaris 9); with no change to databases/db4:
 
 Did you set some LD_LIBRARY_PATH or LD_* variables in your shell?
 Please let me know.
 
 Gilles
 



Home | Main Index | Thread Index | Old Index