- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: openssl installation problem (make) on HP11iV1
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2010 09:09 PM
тАО03-04-2010 09:09 PM
Re: openssl installation problem (make) on HP11iV1
I don't know. Could be a bug in the
openssl-0.9.8e kit. According to:
http://marc.info/?l=openssl-announce&m=117223949219571&w=2
0.9.8e was released around three years ago.
I wouldn't be amazed if a bug or two got
fixed between then and now.
I looked through the logs of my build of
0.9.8m, and I can see no evidence of a
"+init" anywhere. I doubt that you would
have anything weird in your environment which
might confuse the builders, but, just to be
sure, you might try something like:
env | grep init
> > I am using openssl-0.9.8e [...]
>
> Why the (very) obsolete version?
Still wondering.
If you can get the new one to fail, then we
might learn more. I have no great interest
in trying to debug the three-year-old
(obsolete) one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2010 10:38 PM
тАО03-04-2010 10:38 PM
Re: openssl installation problem (make) on HP11iV1
gcc -DMONOLITH -I.. -I../include -DOPENSSL_THREADS -DDSO_DL -D_REENTRANT -march=2.0 -O3 -DB_ENDIAN -D_REENTRANT -c -o openssl.o openssl.c
rm -f openssl
shlib_target=; if [ -n "" ]; then \
shlib_target="hpux-shared"; \
elif [ -n "" ]; then \
FIPSLD_CC="gcc"; CC=../fips/fipsld; export CC FIPSLD_CC; \
fi; \
LIBRARIES="-L.. -lssl -L.. -lcrypto" ; \
[ "x" = "xlibfips" ] && LIBRARIES="$LIBRARIES -lfips"; \
gmake -f ../Makefile.shared -e \
CC="${CC}" APPNAME=openssl OBJECTS="openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o gendsa.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o rand.o engine.o ocsp.o prime.o cms.o" \
LIBDEPS=" $LIBRARIES -Wl,+s -ldld" \
link_app.${shlib_target}
gmake[2]: Entering directory `/amit/openssl-0.9.8m/apps'
( :; LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto -Wl,+s -ldld}"; LDCMD="${LDCMD:-gcc}"; LDFLAGS="${LDFLAGS:--DOPENSSL_THREADS -DDSO_DL -D_REENTRANT -march=2.0 -O3 -DB_ENDIAN -D_REENTRANT}"; LIBPATH=`for x in $LIBDEPS; do if echo $x | grep '^ *-L' > /dev/null 2>&1; then echo $x | sed -e 's/^ *-L//'; fi; done | uniq`; LIBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`; LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH ${LDCMD} ${LDFLAGS} -o ${APPNAME:=openssl} openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o gendsa.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o rand.o engine.o ocsp.o prime.o cms.o ${LIBDEPS} )
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (openssl.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: Unrecognized argument: +init
/usr/ccs/bin/ld: Usage: /usr/ccs/bin/ld [options] [flags] files
collect2: ld returned 1 exit status
gmake[2]: *** [link_app.] Error 1
gmake[2]: Leaving directory `/amit/openssl-0.9.8m/apps'
gmake[1]: *** [openssl] Error 2
gmake[1]: Leaving directory `/amit/openssl-0.9.8m/apps'
gmake: *** [build_apps] Error 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2010 10:59 PM
тАО03-04-2010 10:59 PM
Re: openssl installation problem (make) on HP11iV1
The software from the porting archive is installed relatively to /usr/local. This means that the libraries are installed in /usr/local/lib. This path must be added to the default search path.
This means that you must do some additional steps in order to let other binaries find the run time libraries.
If this seems to be too complicated, you can install the binary depot from HP site:
https://h20392.www2.hp.com/portal/swdepot/displayInstallInfo.do?productNumber=OPENSSL11I
This would upgrade your existing /opt/openssl directory.
First remove the previous installation (using swremove) in order to save space.
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2010 11:30 PM
тАО03-04-2010 11:30 PM
Re: openssl installation problem (make) on HP11iV1
... for shared libraries of course.
Read:
http://docs.hp.com/en/B2355-90655/ch05.html
The corequisite "openssl.openssl-SHLIBS" for fileset ├Г┬в├В ├В
├Г┬в├В ├В ├Г┬в├В ├В "openssh.openssh-RUN,r=5.3p1" cannot be successfully
If you need also openssh, the depot that I sent to you on my first message contain also the openssl. (quote from that HP document)
"HP-UX Secure Shell version A.05.30 contains the following libraries:
* zlib v1.2.3
* OpenSSL v 0.9.8l (OpenSSL is a shared library on HP-UX 11i v3)
* TCP Wrappers v7.6-ipv6.4
"
Do not install this from a ssh session because the ssh daemon must be restarted (in fact stop the old version and then start the newly installed version) in order to complete installation.
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2010 03:48 AM
тАО03-05-2010 03:48 AM
Re: openssl installation problem (make) on HP11iV1
Thanks much for your valuable replies my problems got solved by installing respective depots as Horia suggested..
Thanks for your time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2010 04:38 AM
тАО03-05-2010 04:38 AM
Re: openssl installation problem (make) on HP11iV1
You need a more recent linker patch to support gcc's requirement for +init.
The recommended patch is PHSS_39749.
- « Previous
-
- 1
- 2
- Next »