Query on install apache 2.4.27 on Solaris Sparc 9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi team,


There is an issue on apache upgrade from 2.4.25 to 2.4.27 on solaris sparc 9 server.
Error message occurs when i 'gmake'
ld: fatal: library - lnghttp2: not found

This error also occurred on last upgrade but i fixed by creating a softlink with that library name.
This no longer work for this time.
I tried to re-install the package and reboot server but it still the same.

Openssl, apr and  apr-util installed successfully.
Attached deployment steps for your reference.

New Packages version:
Apache 2.4.27
Openssl-1.0.2l
Apr-1.6.2
Apr-util-1.6.0


Do you have any idea on that?​



Thanks,


Regards,


Lok

 

This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.

 

©2017 Deloitte Touche Tohmatsu in Hong Kong, Deloitte Touche Tohmatsu in Macau, and Deloitte Touche Tohmatsu Certified Public Accountants LLP in the Chinese Mainland. All rights reserved.

 

Deloitte refers to one or more of Deloitte Touche Tohmatsu Limited, a UK private company limited by guarantee (“DTTL”), its network of member firms, and their related entities. DTTL and each of its member firms are legally separate and independent entities. DTTL (also referred to as “Deloitte Global”) does not provide services to clients. Please see About Deloitte for a detailed description of DTTL and its member firms.

 

gzip and tar

# gzip -d httpd-2.4.17.tar.gz

# tar -xvf httpd-2.4.17.tar



# gzip -d apr-1.5.2.tar.gz
# tar -xvf apr-1.5.2.tar


# gzip -d apr-util-1.5.4.tar.gz
# tar -xvf apr-util-1.5.4.tar

# gzip -d pcre-8.37.tar.gz
# tar -xvf pcre-8.37.tar


# gzip -d openssl-1.0.2d.tar.gz
# tar -xvf openssl-1.0.2d.tar


------------------------------------
-- make install
------------------------------------

#Set ENV variables
export LDFLAGS=" -L/usr/sfw/lib -R/usr/sfw/lib -L/usr/X/lib -R/usr/X/lib -L/usr/X11/lib -R/usr/X11/lib -L/usr/ccs/lib -R/usr/ccs/lib "
export PATH=/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin/amd64
export LD_LIBRARY_PATH=/usr/lib:/usr/sfw/lib
export LD_LIBRARY_PATH_64=/usr/lib/64:/usr/sfw/lib/64
#Dont use CC, use GCC! This is VERY important. It wont work otherwise!!
export CC=gcc
export CFLAGS=-m64 
export CPP_FLAGS=-m64 


#The -m64 flag is FUNDAMENTAL!!! Not sure about the others
cd /var/tmp/install/pcre-8.37
./configure --disable-cpp CFLAGS="-g -O3" CC="gcc -m64" --prefix=/opt/pcre-8.37
gmake clean
gmake
gmake install


#Install OPENSSL

cd /var/tmp/install/openssl-1.0.2d
./Configure --prefix=/opt/openssl-1.0.2d solaris64-sparcv9-gcc --shared 
gmake clean
gmake
gmake install


------------------------------------
-------------
-- option 1 (instal arp , arp-util)
-------------
#Install ARP
cd /var/tmp/install/apr-1.5.2
./configure --prefix=/opt/apr-1.5.2 --with-gnu-ld --enable-threads
gmake clean
gmake
gmake install

#Install ARP-UTIL
cd /var/tmp/install/apr-util-1.5.4
./configure --prefix=/opt/apr-util-1.5.4 --with-openssl=/opt/openssl-1.0.2d --with-apr=/opt/apr-1.5.2 --with-crypto --enable-threads 
gmake clean
gmake
gmake install

#Install Apache. THE HOT PART!!
cd /var/tmp/install/httpd-2.4.17
./configure --prefix=/opt/httpd-2.4.17 --enable-so --enable-pie --enable-module=all --enable-mods-shared=all --enable-proxy --enable-proxy-connect --enable-proxy-ftp --enable-proxy-http --enable-proxy-ajp --enable-proxy-balancer --enable-ssl --with-ssl=/opt/openssl-1.0.2d --enable-static-support --enable-static-htpasswd --enable-static-htdigest --enable-static-rotatelogs --enable-static-logresolve --enable-cgi --enable-vhost --enable-imagemap --with-mpm=prefork --with-pcre=/opt/pcre-8.37 --with-apr=/opt/apr-1.5.2 --with-apr-util=/opt/apr-util-1.5.4
gmake clean
gmake
gmake install

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux