MCRYPT HELP
| From: | Scott Stearns | Date: | Wed, 27 Dec 2000 15:09:02 +0000 |
| Subject: | MCRYPT HELP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-31962@lists.php.net to get a copy of this message | ||
I am trying to install libmcrypt-2.4.4 (and 2.2.7) on PHP 4.0.4 (FreeBSD
server).
I configured and installed libmcrypt just fine (I
used --disable-posix-threads).
I configured and installed PHP just fine.
I ./configured apache just fine.
When I went to "make" apache, I got the following errors:
make
===> src
===> src/os/unix
<=== src/os/unix
===> src/ap
<=== src/ap
===> src/main
<=== src/main
===> src/lib
===> src/lib/expat-lite
<=== src/lib/expat-lite
<=== src/lib
===> src/modules
===> src/modules/standard
<=== src/modules/standard
===> src/modules/ssl
<=== src/modules/ssl
===> src/modules/php4
cp libmodphp4.a libphp4.a
ar r libphp4.a mod_php4.o
ranlib libphp4.a
<=== src/modules/php4
<=== src/modules
gcc -c -I./os/unix -I./include -funsigned-char -DMOD_SSL=207101 -I/usr/lo
cal/
etc/php-4.0.4 -I/usr/local/etc/php-4.0.4/main -I/usr/local/etc/php-4.0.4/mai
n -I
/usr/local/etc/php-4.0.4/Zend -I/usr/local/etc/php-4.0.4/Zend -I/usr/local/e
tc/p
hp-4.0.4/TSRM -I/usr/local/etc/php-4.0.4/TSRM -I/usr/local/etc/php-4.0.4 -DE
API
-DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
./apaci modules.c
gcc -c -I./os/unix -I./include -funsigned-char -DMOD_SSL=207101 -I/usr/lo
cal/
etc/php-4.0.4 -I/usr/local/etc/php-4.0.4/main -I/usr/local/etc/php-4.0.4/mai
n -I
/usr/local/etc/php-4.0.4/Zend -I/usr/local/etc/php-4.0.4/Zend -I/usr/local/e
tc/p
hp-4.0.4/TSRM -I/usr/local/etc/php-4.0.4/TSRM -I/usr/local/etc/php-4.0.4 -DE
API
-DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ./apaci buildmark.c
gcc -funsigned-char -DMOD_SSL=207101 -I/usr/local/etc/php-4.0.4 -I/usr/loca
l/et
c/php-4.0.4/main -I/usr/local/etc/php-4.0.4/main -I/usr/local/etc/php-4.0.4/
Zend
-I/usr/local/etc/php-4.0.4/Zend -I/usr/local/etc/php-4.0.4/TSRM -I/usr/loca
l/et
c/php-4.0.4/TSRM -I/usr/local/etc/php-4.0.4 -DEAPI -DUSE_EXPAT -I./lib/expat
-lit
e -DNO_DL_NEEDED ./apaci -L/usr/lib -o httpd buildmark.o modules.o
modules
/standard/libstandard.a modules/ssl/libssl.a modules/php4/libphp4.a
main/libm
ain.a ./os/unix/libos.a ap/libap.a
lib/expat-lite/libexpat.a -R/usr/local/my
sql/lib/mysql -rdynamic -L/usr/local/mysql/lib/mysql -Lmodules/php4 -L../mo
dule
s/php4 -L../../modules/php4 -lmodphp4 -lpam -lmysqlclient -lm -lcrypt -
lcry
pt -lssl -lcrypto
modules/php4/libphp4.a(mcrypt.o): In function `php_info_mcrypt':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c:351: undefined reference to
`mcrypt
_list_algorithms'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c:359: undefined reference to
`mcrypt
_free_p'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c:363: undefined reference to
`mcrypt
_list_modes'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c:371: undefined reference to
`mcrypt
_free_p'
modules/php4/libphp4.a(mcrypt.o): In function `php_if_mcrypt_module_open':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x8a2): undefined
reference t
o `mcrypt_module_open'
modules/php4/libphp4.a(mcrypt.o): In function `php_if_mcrypt_generic_init':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0xada): undefined
reference t
o `mcrypt_enc_get_key_size'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0xb0c): undefined
reference t
o `mcrypt_enc_get_iv_size'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0xbef): undefined
reference t
o `mcrypt_generic_init'
modules/php4/libphp4.a(mcrypt.o): In function `php_if_mcrypt_generic':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0xd26): undefined
reference t
o `mcrypt_enc_is_block_algorithm'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0xd37): undefined
reference t
o `mcrypt_enc_get_block_size'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0xdc3): undefined
reference t
o `mcrypt_generic'
modules/php4/libphp4.a(mcrypt.o): In function `php_if_mdecrypt_generic':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0xef6): undefined
reference t
o `mcrypt_enc_is_block_algorithm'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0xf07): undefined
reference t
o `mcrypt_enc_get_block_size'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0xf93): undefined
reference t
o `mdecrypt_generic'
modules/php4/libphp4.a(mcrypt.o): In function
`php_if_mcrypt_enc_get_supported_k
ey_sizes':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x102d): undefined
reference
to `mcrypt_enc_get_supported_key_sizes'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x1083): undefined
reference
to `mcrypt_free'
modules/php4/libphp4.a(mcrypt.o): In function `php_if_mcrypt_enc_self_test':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x10f5): undefined
reference
to `mcrypt_enc_self_test'
modules/php4/libphp4.a(mcrypt.o): In function `php_if_mcrypt_module_close':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x1161): undefined
reference
to `mcrypt_module_close'
modules/php4/libphp4.a(mcrypt.o): In function `php_if_mcrypt_generic_end':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x1205): undefined
reference
to `mcrypt_generic_end'
modules/php4/libphp4.a(mcrypt.o): In function
`php_if_mcrypt_enc_is_block_algori
thm_mode':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c:655: undefined reference to
`mcrypt
_enc_is_block_algorithm_mode'
modules/php4/libphp4.a(mcrypt.o): In function
`php_if_mcrypt_enc_is_block_algori
thm':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x131d): undefined
reference
to `mcrypt_enc_is_block_algorithm'
modules/php4/libphp4.a(mcrypt.o): In function
`php_if_mcrypt_enc_is_block_mode':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x13a1): undefined
reference
to `mcrypt_enc_is_block_mode'
modules/php4/libphp4.a(mcrypt.o): In function
`php_if_mcrypt_enc_get_block_size'
:
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x1429): undefined
reference
to `mcrypt_enc_get_block_size'
modules/php4/libphp4.a(mcrypt.o): In function
`php_if_mcrypt_enc_get_key_size':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c:724: undefined reference to
`mcrypt
_enc_get_key_size'
modules/php4/libphp4.a(mcrypt.o): In function
`php_if_mcrypt_enc_get_iv_size':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x1509): undefined
reference
to `mcrypt_enc_get_iv_size'
modules/php4/libphp4.a(mcrypt.o): In function
`php_if_mcrypt_enc_get_algorithms_
name':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x1575): undefined
reference
to `mcrypt_enc_get_algorithms_name'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x15a7): undefined
reference
to `mcrypt_free'
modules/php4/libphp4.a(mcrypt.o): In function
`php_if_mcrypt_enc_get_modes_name'
:
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x1615): undefined
reference
to `mcrypt_enc_get_modes_name'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x1647): undefined
reference
to `mcrypt_free'
modules/php4/libphp4.a(mcrypt.o): In function
`php_if_mcrypt_module_self_test':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x180d): undefined
reference
to `mcrypt_module_self_test'
modules/php4/libphp4.a(mcrypt.o): In function
`php_if_mcrypt_module_is_block_alg
orithm_mode':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x19ed): undefined
reference
to `mcrypt_module_is_block_algorithm_mode'
modules/php4/libphp4.a(mcrypt.o): In function
`php_if_mcrypt_module_is_block_alg
orithm':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x1bcd): undefined
reference
to `mcrypt_module_is_block_algorithm'
modules/php4/libphp4.a(mcrypt.o): In function
`php_if_mcrypt_module_is_block_mod
e':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x1dad): undefined
reference
to `mcrypt_module_is_block_mode'
modules/php4/libphp4.a(mcrypt.o): In function
`php_if_mcrypt_module_get_algo_blo
ck_size':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x1f91): undefined
reference
to `mcrypt_module_get_algo_block_size'
modules/php4/libphp4.a(mcrypt.o): In function
`php_if_mcrypt_module_get_algo_key
_size':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x215d): undefined
reference
to `mcrypt_module_get_algo_key_size'
modules/php4/libphp4.a(mcrypt.o): In function
`php_if_mcrypt_module_get_supporte
d_key_sizes':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c:922: undefined reference to
`mcrypt
_module_get_algo_supported_key_sizes'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c:933: undefined reference to
`mcrypt
_free'
modules/php4/libphp4.a(mcrypt.o): In function
`php_if_mcrypt_list_algorithms':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x24a1): undefined
reference
to `mcrypt_list_algorithms'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x2509): undefined
reference
to `mcrypt_free_p'
modules/php4/libphp4.a(mcrypt.o): In function `php_if_mcrypt_list_modes':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x261d): undefined
reference
to `mcrypt_list_modes'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x2685): undefined
reference
to `mcrypt_free_p'
modules/php4/libphp4.a(mcrypt.o): In function `php_if_mcrypt_get_key_size':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x2829): undefined
reference
to `mcrypt_module_open'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x283b): undefined
reference
to `mcrypt_enc_get_key_size'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x2846): undefined
reference
to `mcrypt_module_close'
modules/php4/libphp4.a(mcrypt.o): In function
`php_if_mcrypt_get_block_size':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x2a0d): undefined
reference
to `mcrypt_module_open'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x2a1f): undefined
reference
to `mcrypt_enc_get_block_size'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x2a2a): undefined
reference
to `mcrypt_module_close'
modules/php4/libphp4.a(mcrypt.o): In function `php_if_mcrypt_get_iv_size':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c:1130: undefined reference to
`mcryp
t_module_open'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c:1137: undefined reference to
`mcryp
t_enc_get_iv_size'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c:1138: undefined reference to
`mcryp
t_module_close'
modules/php4/libphp4.a(mcrypt.o): In function
`php_if_mcrypt_get_cipher_name':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c:1170: undefined reference to
`mcryp
t_module_open'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c:1184: undefined reference to
`mcryp
t_module_open'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c:1191: undefined reference to
`mcryp
t_enc_get_algorithms_name'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c:1192: undefined reference to
`mcryp
t_module_close'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c:1194: undefined reference to
`mcryp
t_free'
modules/php4/libphp4.a(mcrypt.o): In function `php_mcrypt_do_crypt':
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x2de0): undefined
reference
to `mcrypt_module_open'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x2e18): undefined
reference
to `mcrypt_enc_get_key_size'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x2e49): undefined
reference
to `mcrypt_enc_get_supported_key_sizes'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x2f18): undefined
reference
to `mcrypt_free'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x2f2b): undefined
reference
to `mcrypt_enc_get_iv_size'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x2fc2): undefined
reference
to `mcrypt_enc_is_block_algorithm'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x2fd3): undefined
reference
to `mcrypt_enc_get_block_size'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x3066): undefined
reference
to `mcrypt_generic_init'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x3093): undefined
reference
to `mcrypt_generic'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x30a6): undefined
reference
to `mdecrypt_generic'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x30ce): undefined
reference
to `mcrypt_generic_end'
/usr/local/etc/php-4.0.4/ext/mcrypt/mcrypt.c(.text+0x30fb): undefined
reference
to `mcrypt_module_close'
*** Error code 1
Stop in /usr/local/etc/apache_1.3.14/src.
*** Error code 1
Stop in /usr/local/etc/apache_1.3.14.
*** Error code 1
Stop in /usr/local/etc/apache_1.3.14.
I tried redoing everything using both libmcrypt, but it came up with the
same thing everytime.
Any ideas?