From owner-freebsd-amd64@FreeBSD.ORG Tue Mar 28 19:52:08 2006 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 382C316AA1A for ; Tue, 28 Mar 2006 19:52:08 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD81F43D91 for ; Tue, 28 Mar 2006 19:51:39 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so8894wxc for ; Tue, 28 Mar 2006 11:51:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=BFdjoNdyKJW3AQ134I5XY4X2lVjC3LkJn3S7hvbfRKatMrlDfaLtDglZy19bSKzqZ1GfYxt7yBDSbIV4xUKYc3LxStZslsOOXvX44hJJXsANTkpeaZbo6Bpl88RQcQ99bb8+7OsBT/44rK6xNPGLJxTJ2IMs+VME0FK+h2HsTVM= Received: by 10.70.105.9 with SMTP id d9mr2916340wxc; Tue, 28 Mar 2006 11:51:38 -0800 (PST) Received: by 10.70.27.14 with HTTP; Tue, 28 Mar 2006 11:51:38 -0800 (PST) Message-ID: <790a9fff0603281151j1d5b0b0lab9642dfed66676e@mail.gmail.com> Date: Tue, 28 Mar 2006 13:51:38 -0600 From: "Scot Hetzel" To: "Ken Gunderson" In-Reply-To: <20060328121449.2e5e3803.kgunders@teamcool.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_27271_30417059.1143575498587" References: <20060328095101.68a2d9a4.kgunders@teamcool.net> <790a9fff0603280928wf523778p95eaf855ecc330bf@mail.gmail.com> <20060328114131.0f995d97.kgunders@teamcool.net> <790a9fff0603281110q1dc9f769y5a73d87f60b1c95a@mail.gmail.com> <20060328121449.2e5e3803.kgunders@teamcool.net> Cc: freebsd-amd64@freebsd.org Subject: Re: mysql shared objects getting lost after reboot X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Mar 2006 19:52:09 -0000 ------=_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 wrote: > On Tue, 28 Mar 2006 13:10:33 -0600 > "Scot Hetzel" wrote: > > > On 3/28/06, Ken Gunderson 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--