You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2009/07/31 14:54:09 UTC

DO NOT REPLY [Bug 47614] New: Unsatisfied symbols:apr_generate_random_bytes (first referenced in .libs/htpasswd.o)

https://issues.apache.org/bugzilla/show_bug.cgi?id=47614

           Summary: Unsatisfied symbols:apr_generate_random_bytes (first
                    referenced in .libs/htpasswd.o)
           Product: Apache httpd-2
           Version: 2.2.11
          Platform: HP
        OS/Version: HP-UX
            Status: NEW
          Severity: major
          Priority: P2
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: felice.antelmi@telecomitalia.it


I'm trying to compile apache2.2.11 on HP-UX, but I have the following error:

Making all in srclib
Making all in apr
        sed 's,^\(location=\).*$,\1installed,' < apr-1-config > apr-config.out
        sed 's,^\(apr_build.*=\).*$,\1/opt/hpws/build,' < build/apr_rules.mk >
build/apr_rules.out
Making all in apr-util
Making all in xml/expat
        /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H
-DPACKAGE='"expat"' -DVERSION='"expat_1.95.2"' -I. -I..
-I/users/psoweb/apache/httpd-2.2.11/srclib/apr-util/xml/expat/lib  -g -c
xmlparse.c
 cc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"expat_1.95.2\" -I. -I..
-I/users/psoweb/apache/httpd-2.2.11/srclib/apr-util/xml/expat/lib -g -c
xmlparse.c  +Z -DPIC -o .libs/xmlparse.o
 cc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"expat_1.95.2\" -I. -I..
-I/users/psoweb/apache/httpd-2.2.11/srclib/apr-util/xml/expat/lib -g -c
xmlparse.c -o xmlparse.o >/dev/null 2>&1
        /bin/sh ../libtool --mode=link  cc -version-info 1:0:1 -g  -o
libexpat.la -rpath /opt/hpws/lib  xmlparse.lo xmltok.lo xmlrole.lo
rm -fr  .libs/libexpat.a .libs/libexpat.la .libs/libexpat.lai .libs/libexpat.sl
.libs/libexpat.sl.1 .libs/libexpat.sl.1.0
cc -b -Wl,+h -Wl,libexpat.sl.1 -Wl,+b -Wl,/opt/hpws/lib -o
.libs/libexpat.sl.1.0  .libs/xmlparse.o .libs/xmltok.o .libs/xmlrole.o  -lc
(cd .libs && rm -f libexpat.sl.1 && ln -s libexpat.sl.1.0 libexpat.sl.1)
(cd .libs && rm -f libexpat.sl && ln -s libexpat.sl.1.0 libexpat.sl)
ar cru .libs/libexpat.a  xmlparse.o xmltok.o xmlrole.o
ranlib .libs/libexpat.a
creating libexpat.la
(cd .libs && rm -f libexpat.la && ln -s ../libexpat.la libexpat.la)
        sed 's,^\(location=\).*$,\1installed,' < apu-1-config > apu-config.out
Making all in pcre
Making all in os
Making all in unix
Making all in server
Making all in mpm
Making all in prefork
Found newer headers. Will rebuild exports.c.
rm -f exports.c export_files
        tmp=export_files_unsorted.txt; \
        rm -f $tmp && touch $tmp; \
        for dir in /users/psoweb/apache/httpd-2.2.11/include
/users/psoweb/apache/httpd-2.2.11/os/unix
/users/psoweb/apache/httpd-2.2.11/modules/http; do \
            ls $dir/*.h >> $tmp; \
        done; \
        for dir in /users/psoweb/apache/httpd-2.2.11/srclib/apr/include
/users/psoweb/apache/httpd-2.2.11/srclib/apr-util/include; do \
            (ls $dir/ap[ru].h $dir/ap[ru]_*.h >> $tmp 2>/dev/null); \
        done; \
        sort -u $tmp > export_files; \
        rm -f $tmp
        awk -f /users/psoweb/apache/httpd-2.2.11/build/make_exports.awk `cat
export_files` > exports.c
        /users/psoweb/apache/httpd-2.2.11/srclib/apr/libtool --silent
--mode=compile cc -g -Ae +Z +DAportable -mt    -DHPUX11 -D_REENTRANT
-D_HPUX_SOURCE -D_LARGEFILE64_SOURCE   
-I/users/psoweb/apache/httpd-2.2.11/srclib/pcre -I.
-I/users/psoweb/apache/httpd-2.2.11/os/unix
-I/users/psoweb/apache/httpd-2.2.11/server/mpm/prefork
-I/users/psoweb/apache/httpd-2.2.11/modules/http
-I/users/psoweb/apache/httpd-2.2.11/modules/filters
-I/users/psoweb/apache/httpd-2.2.11/modules/proxy
-I/users/psoweb/apache/httpd-2.2.11/include
-I/users/psoweb/apache/httpd-2.2.11/modules/generators
-I/users/psoweb/apache/httpd-2.2.11/modules/mappers
-I/users/psoweb/apache/httpd-2.2.11/modules/database
-I/users/psoweb/apache/httpd-2.2.11/srclib/apr/include
-I/users/psoweb/apache/httpd-2.2.11/srclib/apr-util/include
-I/users/psoweb/apache/httpd-2.2.11/srclib/apr-util/xml/expat/lib
-I/users/psoweb/apache/httpd-2.2.11/modules/proxy/../generators
-I/users/psoweb/apache/httpd-2.2.11/modules/ssl
-I/users/psoweb/apache/httpd-2.2.11/modules/dav/main  -prefer-non-pic -static
-c exports.c && touch exports.lo
        /users/psoweb/apache/httpd-2.2.11/srclib/apr/libtool --silent
--mode=link cc -g -Ae +Z +DAportable -mt        -o libmain.la -static 
test_char.h  config.lo log.lo main.lo vhost.lo util.lo  util_script.lo
util_md5.lo util_cfgtree.lo util_ebcdic.lo util_time.lo  connection.lo
listen.lo  mpm_common.lo util_charset.lo util_debug.lo util_xml.lo 
util_filter.lo util_pcre.lo exports.lo  scoreboard.lo error_bucket.lo
protocol.lo core.lo request.lo provider.lo  eoc_bucket.lo core_filters.lo
        awk -f /users/psoweb/apache/httpd-2.2.11/build/make_var_export.awk `cat
export_files` > export_vars.h
        cc -E  -DHPUX11 -D_REENTRANT -D_HPUX_SOURCE -D_LARGEFILE64_SOURCE   
-I/users/psoweb/apache/httpd-2.2.11/srclib/pcre -I.
-I/users/psoweb/apache/httpd-2.2.11/os/unix
-I/users/psoweb/apache/httpd-2.2.11/server/mpm/prefork
-I/users/psoweb/apache/httpd-2.2.11/modules/http
-I/users/psoweb/apache/httpd-2.2.11/modules/filters
-I/users/psoweb/apache/httpd-2.2.11/modules/proxy
-I/users/psoweb/apache/httpd-2.2.11/include
-I/users/psoweb/apache/httpd-2.2.11/modules/generators
-I/users/psoweb/apache/httpd-2.2.11/modules/mappers
-I/users/psoweb/apache/httpd-2.2.11/modules/database
-I/users/psoweb/apache/httpd-2.2.11/srclib/apr/include
-I/users/psoweb/apache/httpd-2.2.11/srclib/apr-util/include
-I/users/psoweb/apache/httpd-2.2.11/srclib/apr-util/xml/expat/lib
-I/users/psoweb/apache/httpd-2.2.11/modules/proxy/../generators
-I/users/psoweb/apache/httpd-2.2.11/modules/ssl
-I/users/psoweb/apache/httpd-2.2.11/modules/dav/main exports.c | grep
"ap_hack_" | grep -v apr_ | sed -e 's/^.*[)]\(.*\);$/\1/' >> httpd.exp
        cc -E  -DHPUX11 -D_REENTRANT -D_HPUX_SOURCE -D_LARGEFILE64_SOURCE   
-I/users/psoweb/apache/httpd-2.2.11/srclib/pcre -I.
-I/users/psoweb/apache/httpd-2.2.11/os/unix
-I/users/psoweb/apache/httpd-2.2.11/server/mpm/prefork
-I/users/psoweb/apache/httpd-2.2.11/modules/http
-I/users/psoweb/apache/httpd-2.2.11/modules/filters
-I/users/psoweb/apache/httpd-2.2.11/modules/proxy
-I/users/psoweb/apache/httpd-2.2.11/include
-I/users/psoweb/apache/httpd-2.2.11/modules/generators
-I/users/psoweb/apache/httpd-2.2.11/modules/mappers
-I/users/psoweb/apache/httpd-2.2.11/modules/database
-I/users/psoweb/apache/httpd-2.2.11/srclib/apr/include
-I/users/psoweb/apache/httpd-2.2.11/srclib/apr-util/include
-I/users/psoweb/apache/httpd-2.2.11/srclib/apr-util/xml/expat/lib
-I/users/psoweb/apache/httpd-2.2.11/modules/proxy/../generators
-I/users/psoweb/apache/httpd-2.2.11/modules/ssl
-I/users/psoweb/apache/httpd-2.2.11/modules/dav/main export_vars.h | grep -v
apr_ | sed -e 's/^\#[^!]*//' | sed -e '/^$/d' >> httpd.exp
Making all in modules
Making all in aaa
Making all in filters
Making all in loggers
Making all in metadata
Making all in http
Making all in generators
Making all in mappers
Making all in support
        /users/psoweb/apache/httpd-2.2.11/srclib/apr/libtool --silent
--mode=link cc -g -Ae +Z +DAportable -mt        -o htpasswd  htpasswd.lo   -lm
/users/psoweb/apache/httpd-2.2.11/srclib/pcre/libpcre.la
/users/psoweb/apache/httpd-2.2.11/srclib/apr-util/libaprutil-1.la
/users/psoweb/apache/httpd-2.2.11/srclib/apr-util/xml/expat/lib/libexpat.la
/users/psoweb/apache/httpd-2.2.11/srclib/apr/libapr-1.la -lrt -lm -lpthread
-ldld
libtool: link: warning: this platform does not like uninstalled shared
libraries
libtool: link: `htpasswd' will be relinked during installation
/usr/ccs/bin/ld: Unsatisfied symbols:
   apr_generate_random_bytes (first referenced in .libs/htpasswd.o) (code)
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 47614] Unsatisfied symbols:apr_generate_random_bytes (first referenced in .libs/htpasswd.o)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47614


Will Rowe <wr...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Will Rowe <wr...@apache.org>  2009-07-31 12:34:01 PST ---
Your build isn't helpful.  the output of ./configure (especially of the
APR/APR-util part of ./configure) is most useful.

apr_generate_random_bytes requires an entropy source.  It didn't resolve
/dev/urandom, /dev/random or egd/prngd.

Please bring your user configuration questions to the user support list,
the issues.apache.org trackers are not support forums, but strictly for
reporting bugs and source code defects.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org