On Mon, Mar 29, 1999 at 02:52:32PM +0300, Michael Widenius scribbled:
> >>>>> "Chris" == Chris Trown <ctrown@stripped>
> Chris> Ahhhh.... Success.
> Chris> Some of you may remember that I have been grappling with trying to
> Chris> HPUX, MySQL and Perl MySQL modules to co-oexist together. With some help
> Chris> the egcs mailing list, I got it.
> Chris> I ended up having to rebuild the libmysqlclient.sl library by hand
> Chris> gcc instead of ld.
> Chris> The command line looked something like:
> Chris> gcc -shared -fPIC -o .libs/libmysqlclient.sl.6.0 Lotsa binaries here
> Chris> With egcs and older versions of gcc, necessary routines from libgcc.a
> Chris> copied to the final library when using gcc instead of ld. From Jeffrey A
> Chris> (law@stripped):
> >> When you build a shared library routines like __udivdi3 from libgcc.a
> >> have been copied into the library.
> Chris> Monty, was ld always used? I seem to remember not having this
> Chris> with older 3.22.XX versions.
> A while ago we switched to use libtool and libtool does some strange
I'm glad to see that my sanity is intact. I knew that this used to work.
> You may be able to tell libtool to use gcc instead of ld, but I
> don't know how to tell it to do this.
Ah! It's not something that you wrote.
> the --disable-shared option may help you solve your problem...
Well, the problem is fixed for now. The work-around is easy, so I'll
stick to shared libs for now.
> Chris> Is there some way we can get this incorporated into the distro? Not
> Chris> it's a big deal, now that I know the solution.
> I would really like to fix this, but I don't know where to fix this in
> libtool. Could you please mail the libtool maintainer about this. If
> you don't get any answers, I shall try to find time to look into
> patching libtool myself...
When I get a chance, I'll dive into this thing and see what I can figure
out. I need to finish a couple of other pressing projects first.
What's the point?
An NT server can be run by an idiot, and usually is.
PGP fingerprint: 063FCE320681C336 78C164FC9B2F91EA