[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] egg jni installation error
From: |
Cao Jin |
Subject: |
[Chicken-users] egg jni installation error |
Date: |
Fri, 04 Mar 2016 11:01:17 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0 |
Hi all,
I am trying to install egg jni, but with no luck. The following error
occurs:
--------------
'/home/lab/build/bin/csc' -feature compiling-extension -setup-mode
-L/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/ -ljvm
-I/usr/lib/jvm/java-7-openjdk-amd64/include
-I/usr/lib/jvm/java-7-openjdk-amd64/include/linux -s jni.scm -J
Error: (load) during expansion of (reexport ...) - unable to load
compiled module - libjvm.so: cannot open shared object file: No such
file or directory: "./jni-lolevel.import.so"
Call history:
<syntax> (##core#begin (module jni (jlambda jimport) (import
scheme chicken srfi-1) (reexport jni-lolevel) (i......
<syntax> (module jni (jlambda jimport) (import scheme chicken
srfi-1) (reexport jni-lolevel) (import-for-synt......
<syntax> (##core#module jni (jlambda jimport) (import scheme
chicken srfi-1) (reexport jni-lolevel) (import-f......
<syntax> (import scheme chicken srfi-1)
<syntax> (##core#undefined)
<syntax> (reexport jni-lolevel) <--
Error: shell command terminated with non-zero exit status 17920:
'/home/lab/build/bin/chicken' 'jni.scm' -output-file 'jni.c' -dynamic
-feature chicken-compile-shared -feature compiling-extension -setup-mode
-emit-all-import-libraries
make: Failed to make jni.so: shell command failed with nonzero exit
status 256:
'/home/lab/build/bin/csc' -feature compiling-extension -setup-mode
-L/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/ -ljvm
-I/usr/lib/jvm/java-7-openjdk-amd64/include
-I/usr/lib/jvm/java-7-openjdk-amd64/include/linux -s jni.scm -J
-------------------
Since I am new to chicken, I don't know how to figure it out.
Can anyone tell whether it is a bug of egg jni or an improper
installation procedure, and how to fix the error?
Regards,
Lop
- [Chicken-users] egg jni installation error,
Cao Jin <=