I'm trying to use libmcrypt in a C code extension I'm working on, which has to be done in 32 bit. I'm trying to compile with the following commands:
./configure --build=i686-linux-gnu CFLAGS=-m32 CXXFLAGS=-m32 FFLAGS=-m32 FCFLAGS=-m32 LDFLAGS=-m32 --prefix=/home/me/mcrypt
During the make I get some warnings:
/usr/bin/ld: warning: i386 architecture of input file [snip]/twofish.lo is incompatible with i386:x86-64 output
and then an error during the cipher_test stage:
..lib/.libs/libmcrypt.so: could not read symbols: File in wrong format
I see that libmcrypt.so has been compiled in 64 bit? Please help me compile in 32 bit mode! What am I missing?
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.