logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache 2.4 install on Solaris10
Author
kiranapache



Joined: 25 Apr 2014
Posts: 3

PostPosted: Mon 02 Mar '15 16:54    Post subject: Apache 2.4 install on Solaris10 Reply with quote

Hi All,
I have been running into the following fatal error issue while compiling apache2.4 version on Solaris. Config command ran successfully, however the make command fails with recording name conflict error for libapr-1.so.

==========
ld: fatal: recording name conflict: file '/soft/oracle/product/apache24/httpd-2.4.12/srclib/apr/lib/libapr-1.so' and file '/soft/oracle/product/apache24/httpd-2.4.12/srclib/apr/.libs/libapr-1.so' provide identical dependency names: libapr-1.so.0 (possible multiple inclusion of the same file)
ld: fatal: file processing errors. No output written to .libs/httpd
*** Error code 2
make: Fatal error: Command failed for target `httpd'
Current working directory /soft/oracle/product/apache24/httpd-2.4.12
*** Error code 1
The following command caused the error:
otarget=`echo all-recursive|sed s/-recursive//`; \
list=' srclib os server modules support'; \
for i in $list; do \
if test -d "$i"; then \
target="$otarget"; \
echo "Making $target in $i"; \
if test "$i" = "."; then \
made_local=yes; \
target="local-$target"; \
fi; \
(cd $i && make $target) || exit 1; \
fi; \
done; \
if test "$otarget" = "all" && test -z 'httpd shared-build '; then \
made_local=yes; \
fi; \
if test "$made_local" != "yes"; then \
make "local-$otarget" || exit 1; \
fi
make: Fatal error: Command failed for target `all-recursive'
==========

Here is my environment info:

OpenSSL 1.0.0
Apache 2.4.12
pcre 8.35
Solaris 10
apr 1.5.1
apr-util 1.5.4
cc: Sun C 5.13 SunOS_sparc

/oracle/product/apache24/httpd-2.4.12/configure --with-pcre=/oracle/product/apache24/pcre/bin/pcre-config --with-ssl=/usr/local/ssl --prefix=/oracle/product/apache24 --enable-mods-shared=all --enable-ssl=shared --enable-proxy-connect --enable-proxy-ftp --enable-proxy-http --enable-ssl

========================

I appreciate your help in resolving this issue..

thanks!
kiran
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Tue 03 Mar '15 18:26    Post subject: Reply with quote

Do you use the offical source code or some oracle source code?
Back to top
kiranapache



Joined: 25 Apr 2014
Posts: 3

PostPosted: Tue 03 Mar '15 18:50    Post subject: Reply with quote

Hi James, for this one I have used official source code only, not oracle's. Sorry my installation directory was kind of misleading.

Not sure if there is any bug associated with this Apache installation for Solaris. We could not find any trusted source for Solaris to download the Apache binaries directly.

Thanks
kiran
Back to top
kiranapache



Joined: 25 Apr 2014
Posts: 3

PostPosted: Tue 03 Mar '15 22:50    Post subject: Reply with quote

It appears that some of the libraries for the dependent components are compiled differently..64bit vs 32bit.
I am able to compile everything successfully and install with no issue..

Thanks everyone for the help!
Back to top


Reply to topic   Topic: Apache 2.4 install on Solaris10 View previous topic :: View next topic
Post new topic   Forum Index -> Apache