Solved

Can't compile Apache 2.4.10 with Openssl on Solaris 10

Posted on 2014-09-16
3
1,369 Views
Last Modified: 2014-09-19
Hello I can not compile Apache 2.4.10 with openssl on solaris 10, I still have errors during make or gmake.

Openssl is installed in /usr/local/openssl

./Configure solaris64-sparcv9-gcc --prefix=/opt/local --openssldir=/usr/local/openssl
gmake
gmake install

export LD_LIBRARY_PATH=/usr/local/openssl
export CC=gcc
PATH=/usr/ccs/bin:/usr/sfw/bin:$PATH

./configure --prefix=/opt/local/apache2410 --with-ssl=/usr/local/openssl --enable-ssl --enable-setenvif --with-included-apr
gmake

Here is the gmake output error :

Undefined                       first referenced
 symbol                             in file
TLSv1_2_client_method               ab.o
TLSv1_1_client_method               ab.o
BIO_set_callback                    ab.o
BIO_set_callback_arg                ab.o
BIO_get_callback_arg                ab.o
SSL_CTX_set_info_callback           ab.o
ld: fatal: Symbol referencing errors. No output written to .libs/ab
collect2: ld returned 1 exit status

cat /etc/release
                       Solaris 10 8/07 s10s_u4wos_12b SPARC
           Copyright 2007 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 16 August 2007



I think I used the wrong LD_LIBRARY_PATH, can someone help me or guide me to the right solution?

Thank you
0
Comment
Question by:spmt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 40327338
/usr/local/openssl/lib should be in LD_LIBRARY_PATH if you installed your openssl build there.
0
 

Author Closing Comment

by:spmt
ID: 40333446
Hello.

i tried with LD_LIBRARY_PATH = /usr/local/openssl/lib, i compiled openssl with -fPIC and Apache works now!


Thank you
0
 
LVL 62

Expert Comment

by:gheist
ID: 40333658
--with-openssl=/opt/openssl

it will include /opt/openssl/include/*.h
and expect /opt/openssl/lib to be in library path.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question