Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Mar 2007 13:57:18 -0600
From:      Don Hinton <don.hinton@vanderbilt.edu>
To:        freebsd-questions@freebsd.org
Cc:        Drew Jenkins <drewjenkinsjr@yahoo.com>
Subject:   Re: Setting Env
Message-ID:  <200703071357.18810.don.hinton@vanderbilt.edu>
In-Reply-To: <187983.26761.qm@web62203.mail.re1.yahoo.com>
References:  <187983.26761.qm@web62203.mail.re1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart2834853.Alfu9fqGfD
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wednesday 07 March 2007 13:39, Drew Jenkins wrote:
> On 06/03/07, Drew Jenkins <drewjenkinsjr@yahoo.com> wrote:
> > > Don Hinton wrote:
> > > ># ldconfig -aout -f /etc/ld.so.conf /usr/local/lib/mysql/
> > > >
> > > >will create it for you.  man ldconfig for more info...
> > >
> > > Well, that created a binary, but when I rebooted...nothing. Same
> > > problem :(
> >
> > The command should be
> > # ldconfig -m /usr/local/lib/mysql
> >
> > The file is not /etc/ld.so.conf, nor does this file exist on
> > the default install of freebsd, but rather /var/run/ld.so.hints.
>
> # ldconfig -m /usr/local/lib/mysql
> ldconfig: /usr/local/lib/mysql: ignoring directory not owned by root
>
> I had some permissions problems earlier with this installation and ended =
up
> chowning everything to mysql. But I think that dir needs to be owned by
> mysql. Comment?=20

Here's what the man page says about it:

     For security reasons, directories which are world or group-writable or
     which are not owned by root produce warning messages and are skipped,
     unless the -i option is present.

So pass -i or fix the ownership/permissions.  Take a look at man ldconfig f=
or=20
more info...

Also, sorry for my initial erroneous post..

hth...
don

> TIA,=20
> Drew
>
>
>
>
> _________________________________________________________________________=
__
>_________ Bored stiff? Loosen up...
> Download and play hundreds of games for free on Yahoo! Games.
> http://games.yahoo.com/games/front
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"

=2D-=20
Don Hinton <don.hinton at vanderbilt.edu> or <hintonda at gmail.com>
Institute for Software Integrated Systems (ISIS), Vanderbilt University
tel: 615.480.5667 or 615.870.9728

--nextPart2834853.Alfu9fqGfD
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQBF7xke0U0xbM5cLs0RAsh0AKDNpFhbpd7xDZee6cKr3b3wNjJNUQCg2Us/
dqiqh9JXW17rmmsrcWD8+88=
=LkRz
-----END PGP SIGNATURE-----

--nextPart2834853.Alfu9fqGfD--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703071357.18810.don.hinton>