Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2001 00:48:00 -0500 (EST)
From:      Darren Henderson <darren@bmv.state.me.us>
To:        freebsd-stable@freebsd.org
Subject:   ldconfig/rc.conf change
Message-ID:  <Pine.A41.4.21.0102070034180.23808-100000@katahdin.bmv.state.me.us>

next in thread | raw e-mail | index | archive | help

cvsup'd my 4.2-stable system on the 5th. Built world, kernel, installed
them, and ran mergemaster. This was last done about a month ago.

When the system came back up apache wold no longer work. PHP failed to load
becuase it couldn't find libmysqlclient.so.10.

Apache starts via an /usr/local/etc/rc.d script. I had the following in
/etc/rc.conf, it wasn't changed over the update.

ldconfig_paths="$ldconfig_paths /usr/local/mysql/lib/mysql"

This always worked fine in the past. Now after booting ldconfig -r doesn't
show libmysqlclient.so.10 

Glancing at the mailing list archives and /usr/src/UPDATING I don't see any
mention of changes to ldconfig or rc.conf processing. So...what changed? Is
the -i opt for ldconfig new? Is the ldconfig_insecure var in
/etc/defaults/rc.conf new or changed? The /usr/local/mysql/lib/mysql dir
isn't owned by root so my previous solution can't work with the
ldconfig_insecure default of "NO"...so I suspect something there changed.

What ever it was, it probably deserves a mention in /usr/src/UPDATING

________________________________________________________________________
Darren Henderson                                  darren@bmv.state.me.us
                                            darren.henderson@state.me.us



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.A41.4.21.0102070034180.23808-100000>