cross problem at gpgme

Oguz Yarimtepe comp.ogz at gmail.com
Wed Mar 11 16:45:40 CET 2009


Hi,

I have a cross compile problem of gpgme. Although i had set the
LD_LIBRARY_PATH and LDFLAGS i am getting errors at the make process of
gpgme. 

Below is how i compile:

./configure --host="sh4-linux"  --prefix="$ROOTDIR/usr"
--enable-maintainer-mode --without-pth-test
--with-gpg="$ROOTDIR/usr/bin" --with-gpgsm="$ROOTDIR/usr/bin"
--disable-largefile --with-pth=$ROOTDIR/usr

$ make

/opt/STM/STLinux-2.2/devkit/sh4/lib/gcc/sh4-linux/4.1.1/../../../../sh4-linux/bin/ld: skipping incompatible /lib/ld-linux.so.2 when searching for /lib/ld-linux.so.2
/opt/STM/STLinux-2.2/devkit/sh4/lib/gcc/sh4-linux/4.1.1/../../../../sh4-linux/bin/ld: cannot find /lib/ld-linux.so.2
collect2: ld returned 1 exit status
make[3]: *** [libgpgme.la] Error 1
make[3]: Leaving directory
`/home/oguz/libgcrypt/trustcheck/gpgme1.0-1.1.5/gpgme'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/oguz/libgcrypt/trustcheck/gpgme1.0-1.1.5/gpgme'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/oguz/libgcrypt/trustcheck/gpgme1.0-1.1.5'
make: *** [all] Error 2

Is there any one that can give me an idea about what the problem is? The
compile is searching /lib for ld-linux.so file but the path it should
look is somewhere different. How can i set it? 

Thanx.




More information about the Gnupg-devel mailing list