Getting the same problem nss problem with evolution

Scott T. Hildreth shild at sbcglobal.net
Thu Dec 27 11:40:01 PST 2007


On Wed, 2007-12-26 at 18:40 -0500, Gary Palmer wrote:
> On Wed, Dec 26, 2007 at 12:27:15PM -0600, Scott T. Hildreth wrote:
> > 
> > On Mon, 2007-12-24 at 15:09 -0500, Joe Marcus Clarke wrote:
> > > On Mon, 2007-12-24 at 13:28 -0600, Scott T. Hildreth wrote:
> > > > ===>  Extracting for evolution-2.12.2
> > > > => MD5 Checksum OK for gnome2/evolution-2.12.2.tar.bz2.
> > > > => SHA256 Checksum OK for gnome2/evolution-2.12.2.tar.bz2.
> > > > ===>  Patching for evolution-2.12.2
> > > > ===>  Applying FreeBSD patches for evolution-2.12.2
> > > > ===>   evolution-2.12.2 depends on executable: gmake - found
> > > > ===>   evolution-2.12.2 depends on executable: bison - found
> > > > ===>   evolution-2.12.2 depends on file: /usr/local/bin/intltool-extract - found
> > > > ===>   evolution-2.12.2 depends on file: /usr/local/libdata/pkgconfig/gnome-mime-data-2.0.pc - found
> > > > ===>   evolution-2.12.2 depends on executable: pkg-config - found
> > > > ===>   evolution-2.12.2 depends on executable: update-desktop-database - found
> > > > ===>   evolution-2.12.2 depends on file: /usr/local/libdata/pkgconfig/gnome-doc-utils.pc - found
> > > > ===>   evolution-2.12.2 depends on file: /usr/local/libdata/xorg/libraries - found
> > > > ===>   evolution-2.12.2 depends on shared library: nss3.1 - not found
> > > > ===>    Verifying install for nss3.1 in /usr/ports/security/nss
> > > > ===>   Returning to build of evolution-2.12.2
> > > > Error: shared library "nss3.1" does not exist
> > > > *** Error code 1
> > > > 
> > > > I am have this error installing firefox 2.0.0.11 as well, what am I missing here?
> > > 
> > > Probably the contents of /usr/local/libdata/ldconfig.  Assuming you have
> > > nss properly installed, running ldconfig -m /usr/local/lib/nss will
> > > temporarily resolve this problem, but you should reinstall nss to get
> > > the directory re-added permanently.
> > 
> >   Maybe this is it (from ldconfig -r)
> > 
> >    641:-lnss3.1 => /usr/local/lib/compat/pkg/libnss3.so.1
> > 
> >   ...nss3 was reinstalled several times, but the ldconfig -m must 
> >   have failed.  When I ran ldconfig -m /usr/local/lib/nss, it failed
> >   printing that /usr/local/lib/nss is being ignored, because it is 
> >   group writable.  I changed the mode, the ldconfig worked and 
> >   libnss3 is found now.   
> 
> I kept getting bitten by directory mode permission problems so I put a 
> 
> chmod go-w ${USE_LDCONFIG}
> 
> (or ${USE_LDCONFIG32} as appropriate)
> 
> into bsd.port.mk locally.  I think it would be a good idea to put that
> into the master bsd.port.mk personally.
> 
> Patch is attached (I hope)
> 
> Note that the line-numbers will be wrong as I have other changes in
> my bsd.port.mk in addition to the changes attached.  It is also a
> while since I did the change, so I'm not sure if I caught every
> potential case.  But it seems to be working here.
> 
> Gary


  I got firefox to compile, but evolution is failing in the data-server
compile,

/usr/lib/libssp.so: warning: warning: this program uses gets(), which is unsafe.
/usr/local/lib/nss/libnss3.so: undefined reference to `NSC_ModuleDBFunc at NSS_3.4'
/usr/local/lib/nss/libnss3.so: undefined reference to `NSC_GetFunctionList at NSS_3.4'
/usr/local/lib/nss/libnss3.so: undefined reference to `FC_GetFunctionList at NSS_3.4'
gmake[3]: *** [camel-lock-helper-1.2] Error 1
gmake[3]: Leaving directory `/usr/ports/databases/evolution-data-server/work/evolution-data-server-1.12.2/camel'
gmake[2]: *** [all-recursive] Error 1

I must have another library issue.
> 


More information about the freebsd-ports mailing list