Libraries not being put into hints file on reboot

Ciro domino at
Sat Nov 29 23:51:09 PST 2003

Everytime my freebsd box reboots (No, I can't afford a ups that keeps me
up through the 5 hour FPL blackouts <g>), it seems that
isn't being read by ldconfig, but the file is present. The program
having the problem is bitlbee, which starts, but doesn't let you

bash-2.05$ telnet localhost 6667
Connected to
Escape character is '^]'.
/usr/libexec/ Shared object "" not found
Connection closed by foreign host.

I checked ldconfig:

bash-2.05a# ldconfig -r | grep glib
        110:-lglib-2.0.200 => /usr/local/lib/
        115:-lglib-1.2.0 => /usr/local/lib/

bash-2.05a# ls -l /usr/local/lib/
-rwxr-xr-x  1 root  wheel  162897 Nov 30 02:47 /usr/local/lib/

However, if I reinstall the port, it works:

bash-2.05a# make install | more
===>  Installing for glib-1.2.10_10
===>   glib-1.2.10_10 depends on executable: pkg-config - found
===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===>   Registering installation for glib-1.2.10_10

bash-2.05a# telnet localhost 6667
Connected to localhost.
Escape character is '^]'.
:localhost NOTICE AUTH :BitlBee-IRCd initialized, please go on

I have /usr/local/lib/ in /etc/, and I added it to
/etc/, but the problem still occurs every time. Has anyone
run into something like this before?

Thanks in advance.

"Why would burgulars need to look for a backdoor when they can climb in
through Windows?" --Norman L DeForest, in NANAE
"You know how dumb the average luser is? Well, half of 'em are dumber
than that" -- The Roadie, in NANAE

More information about the freebsd-questions mailing list