/
Forside
/
Teknologi
/
Operativsystemer
/
Linux
/
Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn
*
Kodeord
*
Husk mig
Brugerservice
Kom godt i gang
Bliv medlem
Seneste indlæg
Find en bruger
Stil et spørgsmål
Skriv et tip
Fortæl en ven
Pointsystemet
Kontakt Kandu.dk
Emnevisning
Kategorier
Alfabetisk
Karriere
Interesser
Teknologi
Reklame
Top 10 brugere
Linux
#
Navn
Point
1
o.v.n.
11177
2
peque
7911
3
dk
4814
4
e.c
2359
5
Uranus
1334
6
emesen
1334
7
stone47
1307
8
linuxrules
1214
9
Octon
1100
10
BjarneD
875
Problemer med Apache efter at have ilf=F8j~
Fra :
Bofh
Dato :
19-09-01 16:37
Hejsa
Jeg har en Rødhætte m.
Apache 1.3.20 (fra src)
configured med:
--prefix=/usr/local/apache --enable-module=rewrite --activate-module=src/modules/php4/libphp4.a
--enable-module=imap
MySQL 3.23.42 (fra src)
PHP 4.0.4 (fra src)
configured med:
--prefix=/usr/local/php --with-mysql=/usr/local/mysql
--with-apache=/usr/src/apache_1.3.20 --with-imap=/usr/lib
--enable-track-vars
imap-2000c-14 (rpm)
imap-devel-2000c-14 (rpm)
Hvis jeg installere apache & php uden imap support kører det fint, men
når jeg bygger imap med ind i php kan jeg ikke bygge apache....
make kommer med følgende fejl (har klippet frem til fejlen opstår)...
gcc -DLINUX=22 -I/usr/include/db1 -I/usr/src/php-4.0.6 -I/usr/src/php-4.0.6/main -I/usr/src/php-4.0.6/main -I/usr/src/php-4.0.6/Zend -I/usr/src/php-4.0.6/Zend -I/usr/src/php-4.0.6/TSRM -I/usr/src/php-4.0.6/TSRM -I/usr/src/php-4.0.6 -DUSE_EXPAT -I./lib/expat-lite -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 lib/expat-lite/libexpat.a -Wl,-rpath,/usr/local/mysql/lib/mysql -rdynamic -L/usr/local/mysql/lib/mysql -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -lc-client -ldl -lmysqlclient -lpam -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lm -lcrypt -ldb1
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `ssl_onceonlyinit':
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:153: the use of `tmpnam' is dangerous, better use `mkstemp'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `auth_gssapi_valid':
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:64: undefined reference to `gss_nt_service_name'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:64: undefined reference to `gss_import_name'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:66: undefined reference to `krb5_defkeyname'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:68: undefined reference to `gss_release_name'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `auth_gssapi_client':
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:109: undefined reference to `gss_nt_service_name'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:109: undefined reference to `gss_import_name'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:116: undefined reference to `gss_init_sec_context'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:128: undefined reference to `gss_release_buffer'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:131: undefined reference to `gss_init_sec_context'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:146: undefined reference to `gss_unwrap'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:153: undefined reference to `gss_release_buffer'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:160: undefined reference to `gss_wrap'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:162: undefined reference to `gss_release_buffer'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:169: undefined reference to `gss_delete_sec_context'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:186: undefined reference to `gss_display_status'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:192: undefined reference to `gss_release_buffer'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:199: undefined reference to `gss_display_status'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:206: undefined reference to `gss_release_buffer'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:209: undefined reference to `gss_display_status'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:215: undefined reference to `gss_release_buffer'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:222: undefined reference to `gss_release_name'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `auth_gssapi_server':
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:253: undefined reference to `gss_nt_service_name'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:253: undefined reference to `gss_import_name'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:255: undefined reference to `gss_acquire_cred'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:259: undefined reference to `gss_accept_sec_context'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:270: undefined reference to `gss_release_buffer'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:278: undefined reference to `gss_display_name'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:285: undefined reference to `gss_wrap'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:288: undefined reference to `gss_release_buffer'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:289: undefined reference to `gss_unwrap'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:301: undefined reference to `gss_release_buffer'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:307: undefined reference to `gss_release_buffer'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:310: undefined reference to `gss_release_name'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:312: undefined reference to `gss_delete_sec_context'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:315: undefined reference to `gss_release_cred'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:319: undefined reference to `gss_display_name'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:322: undefined reference to `gss_display_status'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:328: undefined reference to `gss_release_buffer'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:331: undefined reference to `gss_display_status'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:336: undefined reference to `gss_release_buffer'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_gss.c:341: undefined reference to `gss_release_name'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `ssl_onceonlyinit':
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:166: undefined reference to `RAND_seed'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:181: undefined reference to `SSL_library_init'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `ssl_open':
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:203: undefined reference to `SSLv23_client_method'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:203: undefined reference to `SSL_CTX_new'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:204: undefined reference to `BIO_new_socket'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:205: undefined reference to `SSL_CTX_ctrl'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:208: undefined reference to `SSL_CTX_set_verify'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:210: undefined reference to `SSL_CTX_load_verify_locations'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:211: undefined reference to `SSL_CTX_set_default_verify_paths'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:213: undefined reference to `SSL_new'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:214: undefined reference to `SSL_set_bio'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:215: undefined reference to `SSL_set_connect_state'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:216: undefined reference to `SSL_state'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:216: undefined reference to `SSL_ctrl'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:218: undefined reference to `SSL_write'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `ssl_open_verify':
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:243: undefined reference to `X509_STORE_CTX_get_error'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:243: undefined reference to `X509_verify_cert_error_string'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:245: undefined reference to `X509_STORE_CTX_get_current_cert'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:245: undefined reference to `X509_get_subject_name'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:245: undefined reference to `X509_NAME_oneline'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `ssl_getdata':
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:354: undefined reference to `SSL_get_fd'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:357: undefined reference to `SSL_pending'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:379: undefined reference to `SSL_read'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `ssl_sout':
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:417: undefined reference to `SSL_write'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `ssl_abort':
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:443: undefined reference to `SSL_shutdown'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:444: undefined reference to `SSL_free'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:448: undefined reference to `SSL_CTX_free'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `server_input_wait':
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:656: undefined reference to `SSL_get_fd'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:659: undefined reference to `SSL_pending'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:659: undefined reference to `SSL_read'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `ssl_server_init':
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:692: undefined reference to `ERR_load_crypto_strings'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:693: undefined reference to `SSL_load_error_strings'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:698: undefined reference to `TLSv1_server_method'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:698: undefined reference to `SSLv23_server_method'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:698: undefined reference to `SSL_CTX_new'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:704: undefined reference to `SSL_CTX_ctrl'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:711: undefined reference to `SSL_CTX_set_cipher_list'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:715: undefined reference to `SSL_CTX_use_certificate_chain_file'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:719: undefined reference to `SSL_CTX_use_RSAPrivateKey_file'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:725: undefined reference to `SSL_CTX_ctrl'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:726: undefined reference to `SSL_CTX_set_tmp_rsa_callback'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:728: undefined reference to `SSL_new'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:732: undefined reference to `SSL_set_fd'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:734: undefined reference to `SSL_accept'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:749: undefined reference to `ERR_error_string'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:749: undefined reference to `ERR_get_error'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `ssl_genkey':
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:767: undefined reference to `RSA_generate_key'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:771: undefined reference to `ERR_error_string'
/tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:771: undefined reference to `ERR_get_error'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/usr/src/apache_1.3.20/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/src/apache_1.3.20'
make: *** [build] Error 2
Er der nogen der har en ide om hvad problemet kan være ?
Rasmus Bøg Hansen (
20-09-2001
)
Kommentar
Fra :
Rasmus Bøg Hansen
Dato :
20-09-01 06:42
Bofh wrote:
> Apache 1.3.20 (fra src)
> MySQL 3.23.42 (fra src)
> PHP 4.0.4 (fra src)
> imap-2000c-14 (rpm)
> imap-devel-2000c-14 (rpm)
> gcc -DLINUX=22 -I/usr/include/db1 -I/usr/src/php-4.0.6
> -I/usr/src/php-4.0.6/main -I/usr/src/php-4.0.6/main
> -I/usr/src/php-4.0.6/Zend -I/usr/src/php-4.0.6/Zend
> -I/usr/src/php-4.0.6/TSRM -I/usr/src/php-4.0.6/TSRM
> -I/usr/src/php-4.0.6 -DUSE_EXPAT -I./lib/expat-lite -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 lib/expat-lite/libexpat.a
> -Wl,-rpath,/usr/local/mysql/lib/mysql -rdynamic
> -L/usr/local/mysql/lib/mysql -Lmodules/php4 -L../modules/php4
> -L../../modules/php4 -lmodphp4 -lpam -lc-client -ldl
> -lmysqlclient -lpam -lcrypt -lresolv -lm -ldl -lnsl -lresolv
> -lm -lcrypt -ldb1
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o):
> In function `auth_gssapi_valid':
[mange flere]
imap er linket mod kerberos. Du skal derfor også linke php med kerberos
(og altså have kerberos-devel installeret) eller installere en imap
uden kerberos.
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o):
> In function `ssl_onceonlyinit':
> /tmp/24858-i386/BUILD/imap-2000c/c-client/auth_ssl.c:166: undefined
> reference to `RAND_seed'
Det samme gælder openssl - du skal enten linke med openssl eller
installere en imap uden ssl.
Rasmus
--
-- [ Rasmus 'Møffe' Bøg Hansen ] ---------------------------------------
"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot.
-- Microsoft help desk
--------------------------------- [ moffe at amagerkollegiet dot dk ] --
Søg
Alle emner
Teknologi
Operativsystemer
Linux
Indstillinger
Spørgsmål
Tips
Usenet
Reklame
Statistik
Spørgsmål :
177557
Tips :
31968
Nyheder :
719565
Indlæg :
6408885
Brugere :
218888
Månedens bedste
Årets bedste
Sidste års bedste
Copyright © 2000-2024 kandu.dk. Alle rettigheder forbeholdes.