LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-17-2003, 04:39 PM   #1
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Rep: Reputation: 30
apache && php4 err


Hey all... any insight on this?
putting together a small webmail proggie.
apache w/php4 and ssl patches.

Got the following output err from the following command:

apoc2:/var/webmail/apache_1.3.27 # make
===> src
make[1]: Entering directory `/var/webmail/apache_1.3.27'
make[2]: Entering directory `/var/webmail/apache_1.3.27/src'
===> src/os/unix
make[3]: Nothing to be done for `all'.
<=== src/os/unix
===> src/ap
make[3]: Nothing to be done for `all'.
<=== src/ap
===> src/main
make[3]: Nothing to be done for `all'.
<=== src/main
===> src/lib
<=== src/lib
===> src/modules
===> src/modules/standard
make[4]: Nothing to be done for `all'.
<=== src/modules/standard
===> src/modules/php4
make[4]: Nothing to be done for `all'.
<=== src/modules/php4
<=== src/modules
gcc -c -I./os/unix -I./include -DLINUX=22 -I/var/webmail/php-4.0.3pl1 -I/var/webmail/php-4.0.3pl1/main -I/var/webmail/php-4.0.3pl1/main -I/var/webmail/php-4.0.3pl1/Zend -I/var/webmail/php-4.0.3pl1/Zend -I/var/webmail/php-4.0.3pl1/TSRM -I/var/webmail/php-4.0.3pl1/TSRM -I/var/webmail/php-4.0.3pl1 -DNO_DL_NEEDED `./apaci` modules.c
gcc -c -I./os/unix -I./include -DLINUX=22 -I/var/webmail/php-4.0.3pl1 -I/var/webmail/php-4.0.3pl1/main -I/var/webmail/php-4.0.3pl1/main -I/var/webmail/php-4.0.3pl1/Zend -I/var/webmail/php-4.0.3pl1/Zend -I/var/webmail/php-4.0.3pl1/TSRM -I/var/webmail/php-4.0.3pl1/TSRM -I/var/webmail/php-4.0.3pl1 -DNO_DL_NEEDED `./apaci` buildmark.c
gcc -DLINUX=22 -I/var/webmail/php-4.0.3pl1 -I/var/webmail/php-4.0.3pl1/main -I/var/webmail/php-4.0.3pl1/main -I/var/webmail/php-4.0.3pl1/Zend -I/var/webmail/php-4.0.3pl1/Zend -I/var/webmail/php-4.0.3pl1/TSRM -I/var/webmail/php-4.0.3pl1/TSRM -I/var/webmail/php-4.0.3pl1 -DNO_DL_NEEDED `./apaci` \
-o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a -Wl,-rpath,/var/webmail/imap-2002/c-client -rdynamic -L/var/webmail/imap-2002/c-client -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lc-client -ldl -lresolv -lm -ldl -lcrypt -lnsl -lresolv -lm -lcrypt -lexpat
/var/webmail/imap-2002/c-client/libc-client.a(osdep.o): In function `ssl_onceonlyinit':
/var/webmail/imap-2002/c-client/osdep.c:267: the use of `tmpnam' is dangerous, better use `mkstemp'
/var/webmail/imap-2002/c-client/osdep.c:280: undefined reference to `RAND_seed'
/var/webmail/imap-2002/c-client/osdep.c:285: undefined reference to `SSL_library_init'
/var/webmail/imap-2002/c-client/libc-client.a(osdep.o): In function `ssl_start_work':
/var/webmail/imap-2002/c-client/osdep.c:385: undefined reference to `TLSv1_client_method'
/var/webmail/imap-2002/c-client/osdep.c:385: undefined reference to `SSLv23_client_method'
/var/webmail/imap-2002/c-client/osdep.c:385: undefined reference to `SSL_CTX_new'
/var/webmail/imap-2002/c-client/osdep.c:389: undefined reference to `SSL_CTX_ctrl'
/var/webmail/imap-2002/c-client/osdep.c:393: undefined reference to `SSL_CTX_set_verify'
/var/webmail/imap-2002/c-client/osdep.c:395: undefined reference to `SSL_CTX_set_default_verify_paths'
/var/webmail/imap-2002/c-client/osdep.c:397: undefined reference to `SSL_new'
/var/webmail/imap-2002/c-client/osdep.c:399: undefined reference to `BIO_new_socket'
/var/webmail/imap-2002/c-client/osdep.c:400: undefined reference to `SSL_set_bio'
/var/webmail/imap-2002/c-client/osdep.c:401: undefined reference to `SSL_set_connect_state'
/var/webmail/imap-2002/c-client/osdep.c:402: undefined reference to `SSL_state'
/var/webmail/imap-2002/c-client/osdep.c:402: undefined reference to `SSL_ctrl'
/var/webmail/imap-2002/c-client/osdep.c:404: undefined reference to `SSL_write'
/var/webmail/imap-2002/c-client/osdep.c:409: undefined reference to `SSL_get_peer_certificate'
/var/webmail/imap-2002/c-client/libc-client.a(osdep.o): In function `ssl_getdata':
/var/webmail/imap-2002/c-client/osdep.c:576: undefined reference to `SSL_get_fd'
/var/webmail/imap-2002/c-client/osdep.c:579: undefined reference to `SSL_pending'
/var/webmail/imap-2002/c-client/osdep.c:603: undefined reference to `SSL_read'
/var/webmail/imap-2002/c-client/osdep.c:603: undefined reference to `SSL_get_error'
/var/webmail/imap-2002/c-client/libc-client.a(osdep.o): In function `ssl_server_init':
/var/webmail/imap-2002/c-client/osdep.c:759: undefined reference to `ERR_load_crypto_strings'
/var/webmail/imap-2002/c-client/osdep.c:760: undefined reference to `SSL_load_error_strings'
/var/webmail/imap-2002/c-client/osdep.c:766: undefined reference to `TLSv1_server_method'
/var/webmail/imap-2002/c-client/osdep.c:766: undefined reference to `SSLv23_server_method'
/var/webmail/imap-2002/c-client/osdep.c:766: undefined reference to `SSL_CTX_new'
/var/webmail/imap-2002/c-client/osdep.c:772: undefined reference to `SSL_CTX_ctrl'
/var/webmail/imap-2002/c-client/osdep.c:774: undefined reference to `SSL_CTX_set_cipher_list'
/var/webmail/imap-2002/c-client/osdep.c:778: undefined reference to `SSL_CTX_use_certificate_chain_file'
/var/webmail/imap-2002/c-client/osdep.c:782: undefined reference to `SSL_CTX_use_RSAPrivateKey_file'
/var/webmail/imap-2002/c-client/osdep.c:788: undefined reference to `SSL_CTX_ctrl'
/var/webmail/imap-2002/c-client/osdep.c:789: undefined reference to `SSL_CTX_set_tmp_rsa_callback'
/var/webmail/imap-2002/c-client/osdep.c:791: undefined reference to `SSL_new'
/var/webmail/imap-2002/c-client/osdep.c:795: undefined reference to `SSL_set_fd'
/var/webmail/imap-2002/c-client/osdep.c:797: undefined reference to `SSL_accept'
/var/webmail/imap-2002/c-client/osdep.c:818: undefined reference to `ERR_error_string'
/var/webmail/imap-2002/c-client/osdep.c:818: undefined reference to `ERR_get_error'
/var/webmail/imap-2002/c-client/libc-client.a(osdep.o): In function `ssl_genkey':
/var/webmail/imap-2002/c-client/osdep.c:836: undefined reference to `RSA_generate_key'
/var/webmail/imap-2002/c-client/osdep.c:840: undefined reference to `ERR_error_string'
/var/webmail/imap-2002/c-client/osdep.c:840: undefined reference to `ERR_get_error'
/var/webmail/imap-2002/c-client/libc-client.a(osdep.o): In function `ssl_server_input_wait':
/var/webmail/imap-2002/c-client/osdep.c:860: undefined reference to `SSL_get_fd'
/var/webmail/imap-2002/c-client/osdep.c:863: undefined reference to `SSL_pending'
/var/webmail/imap-2002/c-client/osdep.c:863: undefined reference to `SSL_read'
/var/webmail/imap-2002/c-client/libc-client.a(osdep.o): In function `PFLUSH':
/var/webmail/imap-2002/c-client/osdep.c:640: undefined reference to `SSL_write'
/var/webmail/imap-2002/c-client/libc-client.a(osdep.o): In function `ssl_sout':
/var/webmail/imap-2002/c-client/osdep.c:640: undefined reference to `SSL_write'
/var/webmail/imap-2002/c-client/libc-client.a(osdep.o): In function `ssl_open_verify':
/var/webmail/imap-2002/c-client/osdep.c:440: undefined reference to `X509_STORE_CTX_get_error'
/var/webmail/imap-2002/c-client/osdep.c:440: undefined reference to `X509_verify_cert_error_string'
/var/webmail/imap-2002/c-client/osdep.c:442: undefined reference to `X509_STORE_CTX_get_current_cert'
/var/webmail/imap-2002/c-client/osdep.c:442: undefined reference to `X509_get_subject_name'
/var/webmail/imap-2002/c-client/osdep.c:442: undefined reference to `X509_NAME_oneline'
/var/webmail/imap-2002/c-client/libc-client.a(osdep.o): In function `ssl_abort':
/var/webmail/imap-2002/c-client/osdep.c:666: undefined reference to `SSL_shutdown'
/var/webmail/imap-2002/c-client/osdep.c:667: undefined reference to `SSL_free'
/var/webmail/imap-2002/c-client/osdep.c:671: undefined reference to `SSL_CTX_free'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/var/webmail/apache_1.3.27/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/var/webmail/apache_1.3.27'
make: *** [build] Error 2nce to `X509_get_subject_name'
/var/webmail/imap-2002/c-client/osdep.c:442: undefined reference to `X509_NAME_oneline'
/var/webmail/imap-2002/c-client/libc-client.a(osdep.o): In function `ssl_abort':
/var/webmail/imap-2002/c-client/osdep.c:666: undefined reference to `SSL_shutdown'
/var/webmail/imap-2002/c-client/osdep.c:667: undefined reference to `SSL_free'
/var/webmail/imap-2002/c-client/osdep.c:671: undefined reference to `SSL_CTX_free'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/var/webmail/apache_1.3.27/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/var/webmail/apache_1.3.27'
make: *** [build] Error 2


Not sure what exactly I'm leaving out here.
Any help is appreciated. Tnx

Already compiled in php4 mod; ssl_mod and openssl. All went ok with no errz. All prefix'z and paths are aligned ok too.

L8rz
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Japanese canna won't work : Warning: &#12363;&#12394;&#28450;&#23383;&#22793;&am OrganicOrange84 Debian 3 06-30-2005 03:28 PM
Ph&#7909;c h&#7891;i d&#7919; li&#7879;u b&#7883; m&#7845;t???, c&#7913; pollsite General 1 06-27-2005 01:39 PM
SElinux & php4 & interbase & apache maxut Linux - Security 0 03-15-2005 05:57 AM
php4 & apache installed but will not run web pages with scripts oberon-ken-obi Linux - Newbie 5 07-06-2004 09:00 AM
PHP4 & Apache Install Error yazan Programming 2 02-28-2002 04:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration