Sponsored Content
Top Forums UNIX for Advanced & Expert Users solaris 9 openssl make problem with ld Post 47116 by xyyz on Tuesday 3rd of February 2004 08:44:37 AM
Old 02-03-2004
solaris 9 openssl make problem with ld

i've seen a few posts regarding this issue, and i've tried the resolutions,
but i keep running into the same problem.

i'm trying to compile OpenSSL with the use of rsaref-2.0 (i'm running
through this tutorial
http://www.devshed.com/c/a/PHP/The-S...MySQL-and-PHP/).

i hit the following error:
---------------------------------
if [ "" = "hpux-shared" -o "" = "darwin-shared" ] ; then \
gcc -o openssl -DMONOLITH -I.. -I../include -DOPENSSL_NO_KRB5 -O
openssl.o ve
rify.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 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 ve
rsion.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o rand.o
engin
e.o ocsp.o ../libssl.a ../libcrypto.a ; \
else \
LD_LIBRARY_PATH=..:$LD_LIBRARY_PATH \
gcc -o openssl -DMONOLITH -I.. -I../include -DOPENSSL_NO_KRB5 -O
openssl.o ve
rify.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 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 ve
rsion.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o rand.o
engin
e.o ocsp.o -L.. -lssl -L.. -lcrypto ; \
fi
Undefined first referenced
symbol in file
getsockopt ../libcrypto.a(b_sock.o)
listen s_socket.o
connect s_socket.o
shutdown s_server.o
socket s_socket.o
getservbyname s_socket.o
gethostbyname s_socket.o
accept s_socket.o
bind s_socket.o
setsockopt s_socket.o
gethostbyaddr s_socket.o
ld: fatal: Symbol referencing errors. No output written to openssl
collect2: ld returned 1 exit status
make[1]: *** [openssl] Error 1
make[1]: Leaving directory `/usr/home/austin/openssl-0.9.7c/apps'
make: *** [sub_all] Error 1
-----------------------------------

i've added binutils, i'm sure i have everything in my path (/usr/local/bin,
/usr/local/include, /usr/local/lib)

so right now, i'm really outta ideas on how to resolve this issue.
 

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 and 64 bit apache/openssl/gcc

I installed Solaris 10 on a v440. I installed v3.4.6 gcc from Sun Freeware. I was considering installing 64 bit Apache/Openssl and wondered if people encountered any problems with it. What config parameters did you have to compile openssl and apache? Thank you (3 Replies)
Discussion started by: csross
3 Replies

2. Solaris

Solaris 10 Core Installation wsftpd make problem

Hello, I have just installed a Solaris10 server with core installation option. I tried to install vsftp on this server but it's asking me "make" to compile the program. But I could'nt find make. I searched that on web and installed SUNWarc SUNWbinutils SUNWgcc SUNWgccruntime SUNWgcmn... (2 Replies)
Discussion started by: shadowfaxxxx
2 Replies

3. Cybersecurity

What Solaris SSL pkg in equivelant to OpenSSL v0.9.8i?

I am researching CVE-2009-1386 and am trying to determine if my version of SUNWopensslr is equivalent to OpenSSL v0.9.8i. Here's my output: root# pkginfo -l SUNWopensslr PKGINST: SUNWopensslr NAME: OpenSSL (Root) CATEGORY: system ARCH: sparc VERSION: ... (1 Reply)
Discussion started by: bluescreen
1 Replies

4. Solaris

[problem]Make minimalis CPU and Memory Solaris 10

Dear All master We have Sunfire memory 16G memory and 8 Processor. I install with Solaris 10, but i think resource that use all proccess is very much, I installed this machine 3 times, twice install Oracle the load process make machine is very slow. in new install process like this,... (1 Reply)
Discussion started by: moslemovic
1 Replies

5. Solaris

I need make backup of OS solaris 10

Hello I need to do some backup of operation system Solaris 10, but I donīt know how can I do, I would like to do this backup in tape, but I need to do this backup in both to disk and to tape. How can I do backup of solaris 10 Operation System to disk? How can I do backup of solaris 10... (1 Reply)
Discussion started by: cata
1 Replies

6. Solaris

NRPE Compiling problem with OpenSSL 1.0

I am trying to compile nrpe 2.12 against openssl 1.0 on Solaris 10 however I am getting core dumps for some reason. Anyone know a way to fix this? Here is the output of make: bash-3.00# make all cd ./src/; make ; cd .. gcc -g -fPIC -Wall -O2 -I/usr/local/ssl/include... (0 Replies)
Discussion started by: _JPL_
0 Replies

7. UNIX for Dummies Questions & Answers

openssl dgst cat header problem

I am trying to run an old script to modify an image file with a modified header to bypass the md5 check but it comes up with an error message. The image file is for use on a Expressgate SSD so that I can add sqx files to it. This is a link from where I got the script:-... (3 Replies)
Discussion started by: r1speedyrider
3 Replies

8. Solaris

Solaris v Ubuntu using OpenSSL paste problem

Hello, I hope this means something to someone. I have an odd problem that just started happening recently. I am not the system admin, so I don't have full info on any changes to the system lately. Except that I did upgrade OpenSSL to version 1.0.1.c from 1.0.0j. Anyway, I am trying to... (4 Replies)
Discussion started by: jonycp
4 Replies

9. Shell Programming and Scripting

Openssl scripting problem

im trying to make sure the openssl password does not show up in the output of ps. so i'm trying to do something like this: MAST=yup echo "U2FsdGVkX19wH9LrQhuRZes45BM9rfiRpdhTCi+gLls=" | openssl <<HERE 2>&1 >/dev/null aes-128-cbc -a -d -salt -k "${MAST}" HERE But this isn't working.. I... (10 Replies)
Discussion started by: SkySmart
10 Replies

10. Shell Programming and Scripting

Problem of encrypt openssl RC4

Hi Guys sorry about post the code in portuguese but now i fix almost parts of code. now i can encryped and decryped the files but have a small problem. When not writte nathing generate automatically a random cypher but after the value of this cypher not appear igual than variable $saved_key. And... (2 Replies)
Discussion started by: Xremix30
2 Replies
VERSION(1SSL)                                                         OpenSSL                                                        VERSION(1SSL)

NAME
openssl-version, version - print OpenSSL version information SYNOPSIS
openssl version [-help] [-a] [-v] [-b] [-o] [-f] [-p] [-d] [-e] DESCRIPTION
This command is used to print out version information about OpenSSL. OPTIONS
-help Print out a usage message. -a All information, this is the same as setting all the other flags. -v The current OpenSSL version. -b The date the current version of OpenSSL was built. -o Option information: various options set when the library was built. -f Compilation flags. -p Platform setting. -d OPENSSLDIR setting. -e ENGINESDIR setting. NOTES
The output of openssl version -a would typically be used when sending in a bug report. COPYRIGHT
Copyright 2000-2017 The OpenSSL Project Authors. All Rights Reserved. Licensed under the OpenSSL license (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>. 1.1.1a 2018-12-18 VERSION(1SSL)
All times are GMT -4. The time now is 08:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy