Subject: Re: pkg/5781: mysql doesnt build on alpha
To: Tim Rightnour <root@polaris.garbled.net>
From: Todd Vierling <tv@pobox.com>
List: netbsd-bugs
Date: 07/17/1998 09:51:57
On Fri, 17 Jul 1998, Tim Rightnour wrote:

: mysql does not build on alpha.  Two problems: 
: #1 -Bforcearchive breaks on alpha, --whole-archive is the answer to that

The build process is rather broken to begin with.  There's no reason to
build the _pic.a _and_then_ build a .so from that.  This brokenness is part
of the changes in patch-aa.

: #2 you need -rpath for some binaries.

You missed:

#3 you need -soname libmysqlclient.so.# where # is only the major number of
the library.

: This solution is a bit easier than libtool IMHO.. 

Why?  From looking at the Makefiles, libtool is a more elegant solution to
both.  Libtool replaces the entire library build and binary link process
with a platform-independent one.

And, if it becomes possible for mysql to run on a NOPIC platform, all the
existing build procedure goes out the window anyway. 

I'll create a libtool based pkg and send it to you; tell me what you think
of it then.  Expect it later today or tomorrow morning.

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)