Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Apr 2004 14:31:02 -0500
From:      "Andrew L. Gould" <algould@datawok.com>
To:        freebsd-questions@freebsd.org
Cc:        Kent Stewart <kstewart@owt.com>
Subject:   Re: libintl.so.5 not found and general ports question
Message-ID:  <200404051431.02337.algould@datawok.com>
In-Reply-To: <200404051223.06090.kstewart@owt.com>
References:  <xzpu102pdc1.fsf@dwp.des.no> <20040405191308.GB1800@cs025_2k> <200404051223.06090.kstewart@owt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 05 April 2004 02:23 pm, Kent Stewart wrote:
> On Monday 05 April 2004 12:13 pm, Joshua Lokken wrote:
> > * Kent Stewart <kstewart@owt.com> [2004-04-05 12:06]:
> > > On Monday 05 April 2004 11:51 am, Andrew L. Gould wrote:
> > > > What would happen if a link called /usr/local/lib/libintl.so.5
> > > > was created to point to the existing libintl.so.* file on Gerry's
> > > > system?
> > >
> > > The library interface was changed and cross linking is a really bad
> > > idea.
> >
> > I was able to work around the problem temporarily (on 4-stable) with
> > the above method (symlink), but Kent is probably right that it's not
> > an ideal solution.
>
> It is worse than that. It is how off by one or many security problems
> crop up. You call a library function and it doesn't return what you
> think it was returning.
>
> Find out what is wrong and fix the problem.
>
> Kent

Thank you for the warning and example.

Andrew Gould



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