Re: Bug id #3386/3765/7031 - Informix related
| From: | Danny Heijl | Date: | Wed, 04 Oct 2000 19:35:30 +0000 |
| Subject: | Re: Bug id #3386/3765/7031 - Informix related | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-34254@lists.php.net to get a copy of this message | ||
>...snip ....
> Originally I
> though it was because I was trying to force libtool to link it the way
> Andrej indicated in his suggested work around for bug #3386, which it
> obviously didn't like.
The work-around suggested by Andrej is still valid, but libtool does not
like those "libifsql.a libifasf.a ..." libraries, you have to specify them
as '-lifsql -lifasf ...' etc..
This will use the shared (.so) libraries, which is not a problem (unless you
move the binary to another machine with a different Informix server or
client version, in that case you should use the static libraries). If you
need the static Informix libraries, copy them to a separate directory and
add that directory to your $LDFLAGS when running configure for PHP and for
Apache, this way the linker won't find the shared libraries and use the
static ones. This is the way I build Apache/modphp4 because I have to
distribute the binary to SVR4 Unix servers running different Informix
server versions (7.21, 7.22, 7.23, 7.30 and 7.31).
Danny
---