|
Re: ERROR ... requires a working dlopen()
|
04/28/2008 9:55 AM
post7374
|
Re: ERROR ... requires a working dlopen()
Hello Christian,
calling bmake build after bmake clean in the libtool-base directory, the only message I get is:
> bmake build
=> Bootstrap dependency digest>=20010302: found digest-20070803
ERROR: This package has set PKG_FAIL_REASON:
ERROR: libtool-base-1.5.24nb5 requires a working dlopen().
*** Error code 1
Stop.
bmake: stopped in /home/dev/pkgsrc/HEAD/pkgsrc/devel/libtool-base
that's really bad, cause I know that dlopen is really working... I bootstraped the pkgsrc stuff again, though that did
not help.
any idea, how to get more information?
Thank you!
Regards,
Matthias
|
|
|
|
Re: ERROR ... requires a working dlopen()
|
06/09/2008 8:36 AM
post8873
|
Re: ERROR ... requires a working dlopen()
> checking for dlopen... yes
> checking whether a program can dlopen itself... yes
> checking whether a statically linked program can dlopen itself... no
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> configure: creating libtool
I'm doing some research as to why creating an Apache loadable module of php is so difficult. The problem seems to
start when libtool decides that QNX does not support dynamic libraries calling dynamic libraries. So instead it creates
an apparently unusable static library. In the warning message libtool indicates that this should not be a problem if
the program uses dlopen(). Well, Apache has some kind of pre-processing program that it runs the library through, and
this does not like the static library, not a surprise.
So right now I'm trying to understand how libtool works, and I think I now have to delve into Autoconf. That's the
program that creates "configure", right? Which is how libtool gets this bogus info?
I see from the above output that for this program, the configure script seems to figure out that QNX supports chained
dynamic calling. I haven't looked at whether the same results occur in the php configure.
If anyone has run into any similar problem and has any words of wisdom to guide me, they would be appreciated.
BTW, I've given up on getting php to compile with pkgsrc as the current pkgsrc wrapper scripts do not handle the -R
parameter properly.
|
|
|