php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28677 libphp4.so: symbol ber_flush: referenced symbol not found
Submitted: 2004-06-07 19:38 UTC Modified: 2004-06-09 16:26 UTC
From: dhaval dot choksi at in dot iqara dot net Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.3.6 OS: Solaris 9
Private report: No CVE-ID: None
 [2004-06-07 19:38 UTC] dhaval dot choksi at in dot iqara dot net
Description:
------------
I am successfull configured make and make install php-4.2.2 with apache webserver version 1.3.26 but when i am trying to start apache i m getting the below errow 

bash-2.03# ./apachectl start
Syntax error on line 222 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file /usr/local/apache/libexec/libphp4.so: symbol ber_flush: referenced symbol not found
./apachectl start: httpd could not be started

-------------php config command------------------------

./configure  --prefix=/usr/local/php4.2.2 
--with-apxs=/usr/local/apache/bin/apxs 
--with-ldap 
--with-oci8=/export/home/oracle/ 
--with-gdbm 
--with-zlib
--enable-calendar 
--enable-bcmath 
--enable-filepro --enable-track-vars 
--enable-force-cgi-redirect 
--enable-libgcc

configure make and make install are successfull. In one of the post here only i read to add "--enable-libgcc" and --with-zlib which i did but there was no success. I have gcc-3.3.2. If you need any other information please ask.

Thanks 
Dhaval Choksi

Expected result:
----------------
Apache and php should run


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-06-08 08:05 UTC] dhaval dot choksi at in dot iqara dot net
I downloaded the same and configure command ran successfully but make command exited with below errors can you please advice me what to do.


ext/xml/xml.lo ext/xml/expat/xmlparse.lo ext/xml/expat/xmlrole.lo ext/xml/expat/xmltok.lo TSRM/TSRM.lo TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo main/snprintf.lo main/spprintf.lo main/php_sprintf.lo main/safe_mode.lo main/fopen_wrappers.lo main/alloca.lo main/php_scandir.lo main/php_ini.lo main/SAPI.lo main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo main/strlcat.lo main/mergesort.lo main/reentrancy.lo main/php_variables.lo main/php_ticks.lo main/streams.lo main/network.lo main/php_open_temporary_file.lo main/php_logos.lo main/output.lo main/memory_streams.lo main/user_streams.lo Zend/zend_language_parser.lo Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo Zend/zend_dynamic_array.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo main/internal_functions_cli.lo -lldap -lgdbm -lz -lresolv -lm -ldl -lnsl -lsocket -lgcc -lnsl -lsocket -lgen -ldl -lsched -lclntsh  -o sapi/cli/php
Undefined                       first referenced
 symbol                             in file
ber_dup                             /usr/local/lib/libldap.a(result.o)
ber_get_int                         /usr/local/lib/libldap.a(result.o)
ber_printf                          /usr/local/lib/libldap.a(result.o)
ber_init                            /usr/local/lib/libldap.a(result.o)
ber_write                           /usr/local/lib/libldap.a(request.o)
ber_reset                           /usr/local/lib/libldap.a(result.o)
ber_flush                           /usr/local/lib/libldap.a(abandon.o)
ber_scanf                           /usr/local/lib/libldap.a(result.o)
ber_peek_tag                        /usr/local/lib/libldap.a(result.o)
ber_get_next                        /usr/local/lib/libldap.a(result.o)
ber_bvecfree                        /usr/local/lib/libldap.a(free.o)
ber_dump                            /usr/local/lib/libldap.a(request.o)
ber_skip_tag                        /usr/local/lib/libldap.a(result.o)
ber_alloc_t                         /usr/local/lib/libldap.a(request.o)
ld: fatal: Symbol referencing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `sapi/cli/php'


regards
dhaval
 [2004-06-09 16:26 UTC] iliaa@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

This is a problem with a broken libldap.a on your server. 
 [2022-09-27 16:58 UTC] ljeffrey404 at gmail dot com
And then, this one time, at fat camp...
https://bugs.php.net/search.php?cmd=display&search_for=https://www.weightcrafters.com/fat-camp/
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 11 07:01:32 2024 UTC