I am switching the library server from 32 to 64 bit machine and encountered a few problems. On access server the installation went without a hitch. The main difference is on the library server I have to install oracle instantclient, DBI and DBD-Oracle in order to use autoenrollment etc. Before installing the oracle instantclient, loncapa installation went fine but now it complains of the following:<br>
      <br>/usr/bin/ld: i386 architecture of input file `capaFunctions/capaCgiUtils.o' is incompatible with i386:x86-64 output<br>/usr/bin/ld: i386 architecture of input file `capaFunctions/capaCommon.o' is incompatible with i386:x86-64 output<br>
/usr/bin/ld: i386 architecture of input file `capaFunctions/capaFormulaLexer.o' is incompatible with i386:x86-64 output<br>/usr/bin/ld: i386 architecture of input file `capaFunctions/capaFormulaParser.o' is incompatible with i386:x86-64 output<br>
/usr/bin/ld: i386 architecture of input file `capaFunctions/capaFunction.o' is incompatible with i386:x86-64 output<br>+ .... other<br><br>capaFunctions/capaCommon.o: In function `split_num_unit':<br>capaCommon.c:(.text+0x6dd9): undefined reference to `pow'<br>
capaCommon.c:(.text+0x704f): undefined reference to `pow'<br>capaFunctions/capaFormulaParser.o: In function `f_symbol_pow':<br>capaFormulaParser.c:(.text+0xdcb): undefined reference to `pow'<br>capaFunctions/capaFunction.o: In function `.L527':<br>
+ ... other<br><br>and finally it gave up<br><br>make[2]: *** [blib/arch/auto/capa/capa.so] Error 1<br>make[2]: Leaving directory `/home/www/loncapa-2.10.1/loncom/homework/caparesponse'<br>cp: cannot stat `blib/arch/auto/capa/capa.so': No such file or directory<br>
Can't load './capa.so' for module capa: ./capa.so: wrong ELF class: ELFCLASS32 at /usr/lib64/perl5/DynaLoader.pm line 200.<br> at <a href="http://capa.pm">capa.pm</a> line 11<br>make[1]: *** [../../loncom/homework/caparesponse/capa.so] Error 255<br>
make[1]: Leaving directory `/home/www/loncapa-2.10.1/loncom/build'<br>make: *** [build] Error 2<br>**** ERROR **** command "make build" failed<br><br>Any ideas how to fix the problems? It seems that one module is expecting 32-bit lib but being forced to use 64-bit??<br>
<br>Thanks in advance,<br>-hk<br><br>