Date: Tue, 28 Mar 2006 13:51:38 -0600 From: "Scot Hetzel" <swhetzel@gmail.com> To: "Ken Gunderson" <kgunders@teamcool.net> Cc: freebsd-amd64@freebsd.org Subject: Re: mysql shared objects getting lost after reboot Message-ID: <790a9fff0603281151j1d5b0b0lab9642dfed66676e@mail.gmail.com> In-Reply-To: <20060328121449.2e5e3803.kgunders@teamcool.net> References: <20060328095101.68a2d9a4.kgunders@teamcool.net> <790a9fff0603280928wf523778p95eaf855ecc330bf@mail.gmail.com> <20060328114131.0f995d97.kgunders@teamcool.net> <790a9fff0603281110q1dc9f769y5a73d87f60b1c95a@mail.gmail.com> <20060328121449.2e5e3803.kgunders@teamcool.net>
next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_27271_30417059.1143575498587 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 3/28/06, Ken Gunderson <kgunders@teamcool.net> wrote: > On Tue, 28 Mar 2006 13:10:33 -0600 > "Scot Hetzel" <swhetzel@gmail.com> wrote: > > > On 3/28/06, Ken Gunderson <kgunders@teamcool.net> wrote: > > > On Tue, 28 Mar 2006 11:28:44 -0600 > > > > You should also see the script that does the ldconfig show the > > > > /usr/local/libdata/ldconfig/mysql when you boot the system. > > > > > > Might this be related to the removal of /etc/rd.c/ldconfig_compat? / > > > etc/rc.d/ldconfig doesn't seem to be picking up the libs at boot. On= a > > > system where I've done a rebuild of the ports w/o rebooting: > > > > > Do you have the following revisions of /etc/rc.d/ldconfig? > > > > 1.15 - CURRENT 2006/01/08 > > 1.14.2.1 - RELENG_6 2006/01/17 > > 1.11.2.2 - RELENG_5 2006/01/17 > > On a 6.0-p6 box: > > gw02-ny# head ldconfig > #!/bin/sh > # > # $NetBSD: ldconfig,v 1.5 2002/03/22 04:33:58 thorpej Exp $ > # $FreeBSD: src/etc/rc.d/ldconfig,v 1.14 2005/01/16 08:34:30 obrien Exp $ > # > > On a 5.4-p13 box: > > kobuk# head /etc/rc.d/ldconfig > #!/bin/sh > # > # $NetBSD: ldconfig,v 1.5 2002/03/22 04:33:58 thorpej Exp $ > # $FreeBSD: src/etc/rc.d/ldconfig,v 1.11.2.1 2004/10/10 09:50:53 mtm Exp = $ > # > Looks like you need to update your ldconfig to a newer version on both of the 5.x and 6.x systems. Attached are the newer versions of the /etc/rc.d/ldconfig script for your systems. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised. ------=_Part_27271_30417059.1143575498587 Content-Type: text/plain; name=RELENG_5-ldconfig; charset=us-ascii Content-Transfer-Encoding: 7bit X-Attachment-Id: f_elcn93ie Content-Disposition: attachment; filename="RELENG_5-ldconfig" #!/bin/sh # # $NetBSD: ldconfig,v 1.5 2002/03/22 04:33:58 thorpej Exp $ # $FreeBSD: /repoman/r/ncvs/src/etc/rc.d/ldconfig,v 1.11.2.2 2006/01/17 07:33:33 dougb Exp $ # # PROVIDE: ldconfig # REQUIRE: mountcritremote # BEFORE: DAEMON . /etc/rc.subr name="ldconfig" ldconfig_command="/sbin/ldconfig" start_cmd="ldconfig_start" stop_cmd=":" ldconfig_start() { _ins= ldconfig=${ldconfig_command} checkyesno ldconfig_insecure && _ins="-i" if [ -x "${ldconfig_command}" ]; then _LDC="/lib /usr/lib" for i in ${ldconfig_local_dirs}; do if [ -d "${i}" ]; then ldconfig_paths="${ldconfig_paths} `find ${i} -type f`" fi done for i in ${ldconfig_paths} /etc/ld-elf.so.conf; do if [ -r "${i}" ]; then _LDC="${_LDC} ${i}" fi done echo 'ELF ldconfig path:' ${_LDC} ${ldconfig} -elf ${_ins} ${_LDC} case `sysctl -n hw.machine_arch` in amd64) for i in ${ldconfig_local32_dirs}; do if [ -d "${i}" ]; then ldconfig32_paths="${ldconfig32_paths} `find ${i} -type f`" fi done echo '32-bit compatibility ldconfig path:' ${ldconfig32_paths} ${ldconfig} -32 -m ${_ins} ${ldconfig32_paths} ;; esac # Legacy aout support for i386 only case `sysctl -n hw.machine_arch` in i386) # Default the a.out ldconfig path. : ${ldconfig_paths_aout=${ldconfig_paths}} _LDC=/usr/lib/aout for i in ${ldconfig_paths_aout} /etc/ld.so.conf; do if [ -r "${i}" ]; then _LDC="${_LDC} ${i}" fi done echo 'a.out ldconfig path:' ${_LDC} ${ldconfig} -aout ${_ins} ${_LDC} ;; esac fi } load_rc_config $name run_rc_command "$1" ------=_Part_27271_30417059.1143575498587 Content-Type: text/plain; name=RELENG_6-ldconfig; charset=us-ascii Content-Transfer-Encoding: 7bit X-Attachment-Id: f_elcn9wgi Content-Disposition: attachment; filename="RELENG_6-ldconfig" #!/bin/sh # # $NetBSD: ldconfig,v 1.5 2002/03/22 04:33:58 thorpej Exp $ # $FreeBSD: /repoman/r/ncvs/src/etc/rc.d/ldconfig,v 1.14.2.1 2006/01/17 06:53:17 dougb Exp $ # # PROVIDE: ldconfig # REQUIRE: mountcritremote cleanvar # BEFORE: DAEMON . /etc/rc.subr name="ldconfig" ldconfig_command="/sbin/ldconfig" start_cmd="ldconfig_start" stop_cmd=":" ldconfig_start() { _ins= ldconfig=${ldconfig_command} checkyesno ldconfig_insecure && _ins="-i" if [ -x "${ldconfig_command}" ]; then _LDC="/lib /usr/lib" for i in ${ldconfig_local_dirs}; do if [ -d "${i}" ]; then ldconfig_paths="${ldconfig_paths} `find ${i} -type f`" fi done for i in ${ldconfig_paths} /etc/ld-elf.so.conf; do if [ -r "${i}" ]; then _LDC="${_LDC} ${i}" fi done echo 'ELF ldconfig path:' ${_LDC} ${ldconfig} -elf ${_ins} ${_LDC} case `sysctl -n hw.machine_arch` in amd64) for i in ${ldconfig_local32_dirs}; do if [ -d "${i}" ]; then ldconfig32_paths="${ldconfig32_paths} `find ${i} -type f`" fi done echo '32-bit compatibility ldconfig path:' ${ldconfig32_paths} ${ldconfig} -32 -m ${_ins} ${ldconfig32_paths} ;; esac # Legacy aout support for i386 only case `sysctl -n hw.machine_arch` in i386) # Default the a.out ldconfig path. : ${ldconfig_paths_aout=${ldconfig_paths}} _LDC=/usr/lib/aout for i in ${ldconfig_paths_aout} /etc/ld.so.conf; do if [ -r "${i}" ]; then _LDC="${_LDC} ${i}" fi done echo 'a.out ldconfig path:' ${_LDC} ${ldconfig} -aout ${_ins} ${_LDC} ;; esac fi } load_rc_config $name run_rc_command "$1" ------=_Part_27271_30417059.1143575498587--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0603281151j1d5b0b0lab9642dfed66676e>