[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HP-UX "module" linking problem
From: |
Albert Chin |
Subject: |
Re: HP-UX "module" linking problem |
Date: |
Tue, 19 Sep 2006 09:58:59 -0500 |
User-agent: |
Mutt/1.5.6i |
On Tue, Sep 19, 2006 at 10:11:36AM +0200, Kent Boortz wrote:
>
> Albert Chin <address@hidden> writes:
> <snip>
> > So, in both cases, libz is not on the command-line used to create the
> > shared library.
>
> Yes, what I meant was that I took the "cc...." line libtool expand to,
> inserted "-lmysqlclient" and tried link it manually. and it worked.
> Making me beleive it is a libtool problem.
Well, I suppose you could argue libtool should exit(1) rather than
stripping libraries from the command-line in this case.
> Looking inside the "libtool" command and Googling a bit more, I found
> an ugly way around this. After generating the "configure" script, I
> change it to say
>
> hpux10.20* | hpux11*)
> lt_cv_deplibs_check_method=pass_all
>
> This makes it let "-lmysqlclient" pass on, I found no way to force
> this using any command line flag.
Correct. Some systems like AIX and Tru64 UNIX generate PIC for all
object files.
--
albert chin (address@hidden)