![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Solaris 10 and 64 bit apache/openssl/gcc | csross | SUN Solaris | 3 | 08-15-2008 11:57 AM |
| Sun to make Solaris more friendly - PC Pro | iBot | UNIX and Linux RSS News | 0 | 07-09-2007 06:20 PM |
| sun solaris 10 make error | sunrise | SUN Solaris | 9 | 05-29-2007 01:20 AM |
| solaris 9 php-4.3.4 make issue | xyyz | UNIX for Advanced & Expert Users | 2 | 02-06-2004 11:35 PM |
| make recovery tape for solaris | xiamin | Shell Programming and Scripting | 2 | 08-09-2002 03:00 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
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 |
|||
| Google The UNIX and Linux Forums |