vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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...ySQL-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. |
| |||
| "Sameer" <ssnewsgroups@hotmail.com> wrote in message news:FeednbnobeB_A4LdRVn-tA@adelphia.com... > 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...f-Apache-SSL-M ySQL-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. > Those symbols are defined in libsocket.so, which should be specified to the link command. I guess this should be taken care of by the configure script. But you might try modify the Makefile like : ...... e.o ocsp.o -L.. -lssl -L.. -lcrypto -lsocket ; \ Hope this helps. |
| |||
| "Christian" <cgregoir99@yahoo.com> wrote in message news:bvoa1h$hfc$1@reader1.imaginet.fr... > Those symbols are defined in libsocket.so, which should be specified to the > link command. I guess this should be taken care of by the configure script. > But you might try modify the Makefile like : > > ..... > e.o ocsp.o -L.. -lssl -L.. -lcrypto -lsocket ; \ > > Hope this helps. > > > > i was reading a bit more and someone stated that rsaref-2.0 was outdated and to rely on the current version of OpenSSL's generic rsa abilities. if i ignore the rsaref portion, will things "break"? |
| ||||
| "Sameer" <ssnewsgroups@hotmail.com> wrote in message news > > "Christian" <cgregoir99@yahoo.com> wrote in message > news:bvoa1h$hfc$1@reader1.imaginet.fr... > > Those symbols are defined in libsocket.so, which should be specified to > the > > link command. I guess this should be taken care of by the configure > script. > > But you might try modify the Makefile like : > > > > ..... > > e.o ocsp.o -L.. -lssl -L.. -lcrypto -lsocket ; \ > > > > Hope this helps. > > > > > > > > > > i was reading a bit more and someone stated that rsaref-2.0 was outdated and > to rely on the current version of OpenSSL's generic rsa abilities. if i > ignore the rsaref portion, will things "break"? > > Our web admins set SSL secured Apache web servers up using only OpenSSL. I guess you can safely try without rsaref. |