Getting the same problem nss problem with evolution

Gary Palmer gpalmer at freebsd.org
Wed Dec 26 15:40:43 PST 2007


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bsd.port.mk.patch
Type: text/x-diff
Size: 1064 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20071226/2a1fa3d2/bsd.port.mk.bin


More information about the freebsd-ports mailing list