[LON-CAPA-admin] 64 bit lib server
hkng
hkng at fsu.edu
Tue Mar 6 08:32:57 EST 2012
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:
/usr/bin/ld: i386 architecture of input file `capaFunctions/capaCgiUtils.o'
is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `capaFunctions/capaCommon.o'
is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`capaFunctions/capaFormulaLexer.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`capaFunctions/capaFormulaParser.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `capaFunctions/capaFunction.o'
is incompatible with i386:x86-64 output
+ .... other
capaFunctions/capaCommon.o: In function `split_num_unit':
capaCommon.c:(.text+0x6dd9): undefined reference to `pow'
capaCommon.c:(.text+0x704f): undefined reference to `pow'
capaFunctions/capaFormulaParser.o: In function `f_symbol_pow':
capaFormulaParser.c:(.text+0xdcb): undefined reference to `pow'
capaFunctions/capaFunction.o: In function `.L527':
+ ... other
and finally it gave up
make[2]: *** [blib/arch/auto/capa/capa.so] Error 1
make[2]: Leaving directory
`/home/www/loncapa-2.10.1/loncom/homework/caparesponse'
cp: cannot stat `blib/arch/auto/capa/capa.so': No such file or directory
Can't load './capa.so' for module capa: ./capa.so: wrong ELF class:
ELFCLASS32 at /usr/lib64/perl5/DynaLoader.pm line 200.
at capa.pm line 11
make[1]: *** [../../loncom/homework/caparesponse/capa.so] Error 255
make[1]: Leaving directory `/home/www/loncapa-2.10.1/loncom/build'
make: *** [build] Error 2
**** ERROR **** command "make build" failed
Any ideas how to fix the problems? It seems that one module is expecting
32-bit lib but being forced to use 64-bit??
Thanks in advance,
-hk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.lon-capa.org/pipermail/lon-capa-admin/attachments/20120306/cd808ee7/attachment.html>
More information about the LON-CAPA-admin
mailing list