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
OPENSSL(1)							      OpenSSL								OPENSSL(1)

NAME
openssl - OpenSSL command line tool SYNOPSIS
openssl command [ command_opts ] [ command_args ] openssl [ list-standard-commands | list-message-digest-commands | list-cipher-commands ] openssl no-XXX [ arbitrary options ] DESCRIPTION
OpenSSL is a cryptography toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) network protocols and related cryptography standards required by them. The openssl program is a command line tool for using the various cryptography functions of OpenSSL's crypto library from the shell. It can be used for o Creation of RSA, DH and DSA key parameters o Creation of X.509 certificates, CSRs and CRLs o Calculation of Message Digests o Encryption and Decryption with Ciphers o SSL/TLS Client and Server Tests o Handling of S/MIME signed or encrypted mail COMMAND SUMMARY
The openssl program provides a rich variety of commands (command in the SYNOPSIS above), each of which often has a wealth of options and arguments (command_opts and command_args in the SYNOPSIS). The pseudo-commands list-standard-commands, list-message-digest-commands, and list-cipher-commands output a list (one entry per line) of the names of all standard commands, message digest commands, or cipher commands, respectively, that are available in the present openssl utility. The pseudo-command no-XXX tests whether a command of the specified name is available. If no command named XXX exists, it returns 0 (success) and prints no-XXX; otherwise it returns 1 and prints XXX. In both cases, the output goes to stdout and nothing is printed to stderr. Additional command line arguments are always ignored. Since for each cipher there is a command of the same name, this provides an easy way for shell scripts to test for the availability of ciphers in the openssl program. (no-XXX is not able to detect pseudo-commands such as quit, list-...-commands, or no-XXX itself.) STANDARD COMMANDS asn1parse Parse an ASN.1 sequence. ca Certificate Authority (CA) Management. ciphers Cipher Suite Description Determination. crl Certificate Revocation List (CRL) Management. crl2pkcs7 CRL to PKCS#7 Conversion. dgst Message Digest Calculation. dh Diffie-Hellman Parameter Management. Obsoleted by dhparam. dsa DSA Data Management. dsaparam DSA Parameter Generation. enc Encoding with Ciphers. errstr Error Number to Error String Conversion. dhparam Generation and Management of Diffie-Hellman Parameters. gendh Generation of Diffie-Hellman Parameters. Obsoleted by dhparam. gendsa Generation of DSA Parameters. genrsa Generation of RSA Parameters. ocsp Online Certificate Status Protocol utility. passwd Generation of hashed passwords. pkcs12 PKCS#12 Data Management. pkcs7 PKCS#7 Data Management. rand Generate pseudo-random bytes. req X.509 Certificate Signing Request (CSR) Management. rsa RSA Data Management. rsautl RSA utility for signing, verification, encryption, and decryption. s_client This implements a generic SSL/TLS client which can establish a transparent connection to a remote server speaking SSL/TLS. It's intended for testing purposes only and provides only rudimentary interface functionality but internally uses mostly all functionality of the OpenSSL ssl library. s_server This implements a generic SSL/TLS server which accepts connections from remote clients speaking SSL/TLS. It's intended for testing purposes only and provides only rudimentary interface functionality but internally uses mostly all functionality of the OpenSSL ssl library. It provides both an own command line oriented protocol for testing SSL functions and a simple HTTP response facility to emulate an SSL/TLS-aware webserver. s_time SSL Connection Timer. sess_id SSL Session Data Management. smime S/MIME mail processing. speed Algorithm Speed Measurement. verify X.509 Certificate Verification. version OpenSSL Version Information. x509 X.509 Certificate Data Management. MESSAGE DIGEST COMMANDS md2 MD2 Digest md5 MD5 Digest mdc2 MDC2 Digest rmd160 RMD-160 Digest sha SHA Digest sha1 SHA-1 Digest sha224 SHA-224 Digest sha256 SHA-256 Digest sha384 SHA-384 Digest sha512 SHA-512 Digest ENCODING AND CIPHER COMMANDS base64 Base64 Encoding bf bf-cbc bf-cfb bf-ecb bf-ofb Blowfish Cipher cast cast-cbc CAST Cipher cast5-cbc cast5-cfb cast5-ecb cast5-ofb CAST5 Cipher des des-cbc des-cfb des-ecb des-ede des-ede-cbc des-ede-cfb des-ede-ofb des-ofb DES Cipher des3 desx des-ede3 des-ede3-cbc des-ede3-cfb des-ede3-ofb Triple-DES Cipher idea idea-cbc idea-cfb idea-ecb idea-ofb IDEA Cipher rc2 rc2-cbc rc2-cfb rc2-ecb rc2-ofb RC2 Cipher rc4 RC4 Cipher rc5 rc5-cbc rc5-cfb rc5-ecb rc5-ofb RC5 Cipher PASS PHRASE ARGUMENTS
Several commands accept password arguments, typically using -passin and -passout for input and output passwords respectively. These allow the password to be obtained from a variety of sources. Both of these options take a single argument whose format is described below. If no password argument is given and a password is required then the user is prompted to enter one: this will typically be read from the current terminal with echoing turned off. pass:password the actual password is password. Since the password is visible to utilities (like 'ps' under Unix) this form should only be used where security is not important. env:var obtain the password from the environment variable var. Since the environment of other processes is visible on certain platforms (e.g. ps under certain Unix OSes) this option should be used with caution. file:pathname the first line of pathname is the password. If the same pathname argument is supplied to -passin and -passout arguments then the first line will be used for the input password and the next line for the output password. pathname need not refer to a regular file: it could for example refer to a device or named pipe. fd:number read the password from the file descriptor number. This can be used to send the data via a pipe for example. stdin read the password from standard input. SEE ALSO
asn1parse(1), ca(1), config(5), crl(1), crl2pkcs7(1), dgst(1), dhparam(1), dsa(1), dsaparam(1), enc(1), gendsa(1), genrsa(1), nseq(1), openssl(1), passwd(1), pkcs12(1), pkcs7(1), pkcs8(1), rand(1), req(1), rsa(1), rsautl(1), s_client(1), s_server(1), s_time(1), smime(1), spkac(1), verify(1), version(1), x509(1), crypto(3), ssl(3) HISTORY
The openssl(1) document appeared in OpenSSL 0.9.2. The list-XXX-commands pseudo-commands were added in OpenSSL 0.9.3; the no-XXX pseudo- commands were added in OpenSSL 0.9.5a. For notes on the availability of other commands, see their individual manual pages. 50 2013-03-05 OPENSSL(1)
All times are GMT -4. The time now is 05:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy