Subject: ldconfig error
To: netbsd-users@NetBSD.org <netbsd-users@netbsd.org>
From: Rakhesh Sasidharan <rakhesh@cse.iitd.ernet.in>
List: netbsd-users
Date: 03/13/2001 17:10:01
Hi,

Why do I get this when I use ldconfig:

[root@NetBSD](etc)# /sbin/ldconfig -v
ldconfig: can't open `/emul/aout//etc/ld.so.conf'
Totals: entries 0, buckets 0, string size 1

Later on, when I link /etc/ld.so.conf to the above location, things work:

[root@NetBSD](etc)# ln -s /etc/ld.so.conf /emul/aout/etc/
[root@NetBSD](etc)# /sbin//ldconfig -b
Adding /usr/pkg/lib/libogg.so.1.0
Totals: entries 1, buckets 1, string size 44
[root@NetBSD](etc)# exit

Isn't that kind of strange ?  I mean, even the manpages kept saying that
ldconfig checks in /etc/ld.so.conf.

Regards.
__
Rakhesh Sasidharan	rakhesh at cse.iitd.ac.in