The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Solaris 10 and 64 bit apache/openssl/gcc csross SUN Solaris 3 08-15-2008 03:57 PM
Sun to make Solaris more friendly - PC Pro iBot UNIX and Linux RSS News 0 07-09-2007 10:20 PM
sun solaris 10 make error sunrise SUN Solaris 9 05-29-2007 05:20 AM
solaris 9 php-4.3.4 make issue xyyz UNIX for Advanced & Expert Users 2 02-07-2004 02:35 AM
make recovery tape for solaris xiamin Shell Programming and Scripting 2 08-09-2002 07:00 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-03-2004
xyyz xyyz is offline
Registered User
  
 

Join Date: Sep 2001
Posts: 114
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.
  #2 (permalink)  
Old 02-03-2004
Optimus_P Optimus_P is offline Forum Advisor  
flim flam flamma jamma
  
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
which path did you add them to?

you need to add them to this path and export it:
LD_LIBRARY_PATH

Library paths goto : LD_LIBRARY_PATH
Execuateble path goto: PATH
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:21 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0