OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Why does mysql have trouble in launching "mysql" and some other apps?

From: Jacob Meuser (jakemsrjakemsr.com)
Date: Sat Apr 02 2005 - 17:36:52 CST


On Sat, Apr 02, 2005 at 09:06:52PM +0200, Marc Espie wrote:
> On Sun, Apr 03, 2005 at 02:58:27AM +0900, Tetsuji Rai wrote:
> > Installation works perfect, and mysqld_safe also works fine. however some clients such as mysql, mysqladmin doesn't work saying "../libmysql/.libs/libmysqlclient.so.12.0 not found"
> >
> > Maybe ports patches do the trick, but I want to know what's the problem.
> >
> > Will you give me any hints?
>
> This is a libtool issue.
>
> Libtool is a big pain in the ass. It doesn't do what it claims to do,
> and most patches we've sent `don't fit into the GNU scheme of things
> anyways'.
>
> It's a very good example of project management done the GNU way: slippage
> between releases, no-one to answer important stuff, over-designed, bloated
> and not achieving what it meant to do in the first place.
>

at least the current libtool maintainers mostly agree that there is
silly over-designed bloat that is causing stupid problems. this C++
linking problem is a good example; they've done away with trying
to outsmart the linker in HEAD.

but of course, progress is slow, because they have to muck through all
the fragile crap that already exists without breaking it more :(

BTW, this particular issue was fixed for OpenBSD in libtool-1.5.10.
so, I think you should be able to fix this by installing the libtool
port and running 'libtoolize' in the top level of the mysql sources.

--
<jakemsrjakemsr.com>