Ports and ldconfig (Was: No crypto in firefox)
+ Harald Hanche-Olsen <hanche@math.ntnu.no>:
[color=blue]
> Well, to make a long story short, after messing around with ktrace and
> lsof I found a workaround: I symlinked everything in
> /usr/local/lib/nss/ to /usr/local/lib/, and now things work once more.
>
> As to why this should be necessary, well I don't know ...[/color]
But I just had a little "duh!" moment here: As I have explained
before, my recompiled firefox works fine on my office machine, while
it stopped working on my home machine after rebooting. (My office
machine has been up for 193 days ...) So I looked in
/var/run/ld-elf.so.hints on the office machine, and it does indeed
list /usr/local/lib/nss/. Surely, that will go away when I reboot,
and then firefox will stop working again.
Does the ports system run ldconfig without making provisions for the
same to happen at boot? Nah, that would be too dumb. Must be
something I messed up in my configuration. But what? Where?
(I have not touched ldconfig_paths in /etc/rc.conf.)
--
* Harald Hanche-Olsen <URL:http://www.math.ntnu.no/~hanche/>
- It is undesirable to believe a proposition
when there is no ground whatsoever for supposing it is true.
-- Bertrand Russell