Share your knowledge at the LQ Wiki.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 03-15-2016, 07:38 AM   #1
Registered: Jan 2014
Posts: 107

Rep: Reputation: Disabled
Compiling Apache 2.4.18 in Solaris 10


I tried compiling apache 2.4.18 in Solaris 10. The configure passed through:

#./configure --prefix=/usr/local/Apache2 --enable-proxy --enable-proxy-ajp --enable-deflate --enable-ssl --with-ssl=/usr/local/ssl/ --with-apr=/usr/local/apr-httpd/ --with-apr-util=/usr/local/apr-util-httpd/ --with-pcre=/usr/local/pcre/

But when gmake is issued, it was ok initially but later it produced the following infinite loop:

.text (section) 0x1480 /usr/local/ssl/lib/libssl.a(ssl_lib.o)

Please advise how to rectify? Thanks in advance.
Old 03-17-2016, 03:00 AM   #2
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 876

Rep: Reputation: 124Reputation: 124
Caveat: I've compiled a lot of programs on Linux, but never Apache, specifically. I've only used Solaris briefly.

Is there any more terminal output that you can post? Please do, if so.

The first thing I would do is check the paths you've specified to ensure that they contain the things Apache is looking for. You should probably refer to the Apache documentation to determine exactly which library files it's trying to find.

Based on what you've posted, it would seem like libssl.a or ssl_lib.o are not in the specified locations, or wherever Apache tries to find them, by default. I suspect that, if you make sure that all the relevant development libraries are installed, and point the compiler to the right place(s), it will compile without issue.

It is worth noting that Solaris is probably not the target OS for the majority of Apache developers, so you may be dealing with library version mis-matches, compiler version eccentricities, POSIX compatibility issues, etc. You'll probably need to further delve into the developer documentation to ensure that your platform has everything that the source code is expecting, and add those things, as needed.
Old 03-18-2016, 04:02 AM   #3
Registered: Jan 2014
Posts: 107

Original Poster
Rep: Reputation: Disabled

Thanks for your pointer. The issue is during compiling openssl, the parameter "shared" was not specified.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling Linux on Solaris mintzyuval Solaris / OpenSolaris 10 06-04-2009 01:48 AM
Compiling Sendmail 8.14.3 with NEWDB on Solaris 10 ymesfer Linux - Newbie 4 06-03-2009 11:42 AM
Help compiling Flex on Solaris 5.9 bx.s Solaris / OpenSolaris 5 08-14-2006 07:41 PM
Problem Compiling in Solaris x86 Koven Solaris / OpenSolaris 1 01-13-2006 01:05 AM
Compiling a program with gcc on Solaris (I think) phekno Programming 2 09-15-2004 01:39 PM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 04:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration