php-install | 2002112
Date: 11/26/02
- Next message: Grant Morgan: "Re: [PHP-INST] cybercash /usr/bin/ld: cannot find -lmckcrypto"
- Previous message: Dave: "[PHP-INST] Re: PHP and HTML message"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Using the latest CVS snapshot php4-STABLE-200211262230, I was able to
locate what I believe to be the problem. Apparently PHP is trying to
link in -lcrypt, and because libcrypt.a is not a shared library object,
libtool is complaining and then not creating a shared libphp.so object
because of it:
*** Warning: linker path does not have real file for library -lcrypt.
*** I have the capability to make that library automatically link in
when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libcrypt and none of the candidates passed a file format test
*** using a file magic. Last file checked: /usr/lib/libcrypt.a
*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libphp4. Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
So what I did was re-run the last libtool command, which is supposed to
link all the objects together, and create a libphp4.so, but I took out
the -lcrypt portion of the command. Once that was done, a libphp4.so was
created as expected, and then a 'make install' worked also as expected
putting libphp4.so into /opt/apache/modules. Starting apache so far
also works without an error about 'Bad magic number'. I took a gamble
that php didn't use or require the crypt library, otherwise I was half
expecting to get an error from dld.sl about missing reference to
'crypt', but so far so good.
> -----Original Message-----
> From: Konrad Ludwikowski [SMTP:konradl <email protected>]
> Sent: Thursday, November 21, 2002 6:21 AM
> To: Briggs, Patrick
> Cc: php-install <email protected>
> Subject: Re: [PHP-INST] HP-UX 11.00 PHP-4.3.0RC1 Apache-2.0.43 'Bad
> Magic Number'
>
> Czesc Patrick,
>
> Wednesday, November 20, 2002, 12:54:50 AM, you wrote:
>
> BP> I'm attempting to build PHP-4.3.0RC1 on HP-UX 11.00 with Apache-2.0.43
> and
>
> try PHSS_26559, if it don't help mayby it will give you better message...
>
> --
> Pozdrawiam,
> Konrad mailto:konradl <email protected>
This e-mail message, including any attachments, is for the sole use of the
intended recipient(s) and may contain confidential or privileged
information. Any unauthorized review; use, disclosure or distribution is
prohibited. If you are not the intended recipient, please contact the
sender by reply e-mail and destroy the message.
- Next message: Grant Morgan: "Re: [PHP-INST] cybercash /usr/bin/ld: cannot find -lmckcrypto"
- Previous message: Dave: "[PHP-INST] Re: PHP and HTML message"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

