Bug #16962 Updated: Compile failure with --ldap
| From: | php-bugs at lists dot php dot net | Date: | Wed, 12 Jun 2002 05:00:09 +0000 |
| Subject: | Bug #16962 Updated: Compile failure with --ldap | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10204@lists.php.net to get a copy of this message | ||
ID: 16962
Updated by: php-bugs@lists.php.net
Reported By: acroft@cyber-wizard.com
-Status: Feedback
+Status: No Feedback
Bug Type: Compile Failure
Operating System: Solaris >= 2.6
PHP Version: 4.2.0
New Comment:
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2002-05-27 19:47:54] justin@tanner.net
I'm having the exact same problem as the guy about, using php-4.2.1, if
anybody knows of a fix or patch, could you please tell me, i'd like to
be able to compile php thanks.
------------------------------------------------------------------------
[2002-05-11 12:06:49] derick@php.net
These things have nothing to do with mcrypt, can you try only
configuring with ldap? (And also try the latest RC from
www.php.net/~derick).
Deric
------------------------------------------------------------------------
[2002-05-02 13:41:35] acroft@cyber-wizard.com
I added the information as a comment, instead of through here-please
forgive my newbieness. It appears as the comment at "2 May 8:47am".
Please let me know if you need additional information.
------------------------------------------------------------------------
[2002-05-02 08:47:35] acroft@cyber-wizard.com
(I flattened the undefined symbol list somewhat-can send you the
complete config.log if helpful.)
configure:36252: checking for mcrypt support
configure:36292: result: yes
configure:36313: checking for mcrypt_module_open in -lmcrypt
configure:36340: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS
-DSOLARIS2=280 -DMOD_SSL=208108 -DMOD_PERL -DUSE_PERL_SSI -DEAPI
-DUSE_EXPAT
-L/usr/local/lib -lltdl
-R/usr/ucblib -L/usr/ucblib -R/usr/local/ssl/lib
-L/usr/local/ssl/lib -R/usr/local/lib -L/usr/local/lib conftest.c
-lmcrypt -lldap -lgd -lz -lcrypt -lssl -lcrypto -lresolv -lresolv
-lresolv -lm -ldl -lnsl -lsocket -lsocket -lcrypt >&5
Undefined first referenced
symbol in file
(the following as undefined symbols, all first referenced from
/usr/local/lib/libldap.so : ber_dup, ber_get_int, ber_printf,
ber_next_element, ber_sockbuf_io_readahead, ber_init, ber_write,
ber_log_dump, ber_first_element, ber_sockbuf_alloc, ber_reset,
ber_sockbuf_io_tcp, ber_memrealloc, ber_sockbuf_io_fd, ber_flush,
ber_flatten, ber_pvt_socket_set_nonblock, ber_scanf, ber_peek_tag,
ber_memfree, ber_memcalloc, ber_set_option, ber_memvfree,
ber_sockbuf_io_debug, ber_get_next, ber_sockbuf_ctrl, ber_bvfree,
ber_free, ber_bvecfree, ber_memalloc, ber_strdup, ber_sockbuf_free,
ber_skip_tag, ber_pvt_log_print, ber_alloc_t, ber_sockbuf_add_io)
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:36343: $? = 1
configure: failed program was:
#line 36321 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mcrypt_module_open ();
int
main ()
{
mcrypt_module_open ();
;
return 0;
}
configure:36360: result: no
configure:36469: checking for init_mcrypt in -lmcrypt
configure:36496: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS
-DSOLARIS2=280 -DMOD_SSL=208108 -DMOD_PERL -DUSE_PERL_SSI -DEAPI
-DUSE_EXPAT
-L/usr/local/lib
-R/usr/ucblib -L/usr/ucblib -R/usr/local/ssl/lib
-L/usr/local/ssl/lib -R/usr/local/lib -L/usr/local/lib conftest.c
-lmcrypt -lldap -lgd -lz -lcrypt -lssl -lcrypto -lresolv -lresolv
-lresolv -lm -ldl -lnsl -lsocket -lsocket -lcrypt >&5
Undefined first referenced
symbol in file
init_mcrypt /var/tmp/ccKHWj2o.o
(the following as undefined symbols, all first referenced from
/usr/local/lib/libldap.so : ber_dup, ber_get_int, ber_printf,
ber_next_element, ber_sockbuf_io_readahead, ber_init, ber_write,
ber_log_dump, ber_first_element, ber_sockbuf_alloc, ber_reset,
ber_sockbuf_io_tcp, ber_memrealloc, ber_sockbuf_io_fd, ber_flush,
ber_flatten, ber_pvt_socket_set_nonblock, ber_scanf, ber_peek_tag,
ber_memfree, ber_memcalloc, ber_set_option, ber_memvfree,
ber_sockbuf_io_debug, ber_get_next, ber_sockbuf_ctrl, ber_bvfree,
ber_free, ber_bvecfree, ber_memalloc, ber_strdup, ber_sockbuf_free,
ber_skip_tag, ber_pvt_log_print, ber_alloc_t, ber_sockbuf_add_io)
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:36499: $? = 1
configure: failed program was:
#line 36477 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char init_mcrypt ();
int
main ()
{
init_mcrypt ();
;
return 0;
}
configure:36516: result: no
configure:36530: error: Sorry, I was not able to diagnose which
libmcrypt version you have installed.
------------------------------------------------------------------------
[2002-05-02 08:27:07] derick@php.net
What does config.log tells you about this?
Derick
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/16962
--
Edit this bug report at http://bugs.php.net/?id=16962&edit=1