Subject: Re: /etc/ld.so.conf: invalid/unknown sysctl for libm.so.0 (22)
To: None <joel@carnat.net>
From: Hubert Feyrer <hubert@feyrer.de>
List: port-amd64
Date: 08/05/2006 16:23:37
On Sat, 5 Aug 2006 joel@carnat.net wrote:
> /etc/ld.so.conf: invalid/unknown sysctl for libm.so.0 (22)
FWIW, I've seen that on i386 too.
Is it possible that you have a /etc/ld.so.conf lying around that doesn't
belong there (src/etc/etc.amd64 has no ld.so.conf ...).
The i386 ld.so.conf has:
libm.so.0 machdep.fpu_present 1:libm387.so.0,libm.so.0
This means it checks the 'machdep.fpu_present' sysctl, and if present
("1") it will load libm387.so.0 before libm.so.0.
I don't know why I've seen this on i386 (and i made sure that sysctl is
there!), but for amd64, I recommend "rm /etc/ld.so.conf".
- Hubert