Mailinglist Archive: opensuse-java (11 mails)
| < Previous | Next > |
[opensuse-java] Problem with linking JNI
- From: Kirill Kirillov <kirill.kirillov@xxxxxxxxx>
- Date: Mon, 08 Mar 2010 13:00:05 +0300
- Message-id: <1268042405.3872.47.camel@xxxxxxxxxxxxxxx>
Hi, all!
We [1] are trying to move [2] Java-based Scilab [3] to Factory OSS
repository.
We have problem with linking jogl JNI to Scilab [4], if we remove the
following line in scilab.spec:
"BuildRequires: -post-build-checks"
then build fails on configure stage with the following error:
checking jogl... /usr/lib64/java//jogl.jar
checking for glTexParameterf in -ljogl... no
configure: WARNING: Could not link against -ljogl. Will try against -ljogl -lGL
checking for glTexParameterf in -ljogl ... no
configure: error: "libjogl: Library missing (Cannot find symbol
glTexParameterf). Check if libjogl - C/Java (JNI) interface for JOGL - or libGL
are installed and if the version is correct. Note that you might have to update
etc/librarypath.xml to provide the actual path the the JNI libraries."
error: Bad exit status from /var/tmp/rpm-tmp.CYklG7 (%build)
I've fixed jogl package [5] to place jar's and so's according to [6]:
/usr/lib/java and /usr/lib/jni for 32 bits and
/usr/lib64/java and /usr/lib64/jni for 64 bits.
But unfortunately it didn't help.
Could you tell please how to fix it? Thanks.
[1] http://lists.opensuse.org/opensuse-edu/2010-03/msg00000.html
[2] http://en.opensuse.org/Scilab/Moving
[3] http://www.scilab.org/
[4]
https://build.opensuse.org/package/show?package=scilab&project=Education
[5]
https://build.opensuse.org/package/show?package=jogl&project=Education
[6]
http://en.opensuse.org/Packaging/Java#Packaging_JAR_files_that_use_JNI
--
Kirill Kirillov
<><
--
To unsubscribe, e-mail: opensuse-java+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-java+help@xxxxxxxxxxxx
We [1] are trying to move [2] Java-based Scilab [3] to Factory OSS
repository.
We have problem with linking jogl JNI to Scilab [4], if we remove the
following line in scilab.spec:
"BuildRequires: -post-build-checks"
then build fails on configure stage with the following error:
checking jogl... /usr/lib64/java//jogl.jar
checking for glTexParameterf in -ljogl... no
configure: WARNING: Could not link against -ljogl. Will try against -ljogl -lGL
checking for glTexParameterf in -ljogl ... no
configure: error: "libjogl: Library missing (Cannot find symbol
glTexParameterf). Check if libjogl - C/Java (JNI) interface for JOGL - or libGL
are installed and if the version is correct. Note that you might have to update
etc/librarypath.xml to provide the actual path the the JNI libraries."
error: Bad exit status from /var/tmp/rpm-tmp.CYklG7 (%build)
I've fixed jogl package [5] to place jar's and so's according to [6]:
/usr/lib/java and /usr/lib/jni for 32 bits and
/usr/lib64/java and /usr/lib64/jni for 64 bits.
But unfortunately it didn't help.
Could you tell please how to fix it? Thanks.
[1] http://lists.opensuse.org/opensuse-edu/2010-03/msg00000.html
[2] http://en.opensuse.org/Scilab/Moving
[3] http://www.scilab.org/
[4]
https://build.opensuse.org/package/show?package=scilab&project=Education
[5]
https://build.opensuse.org/package/show?package=jogl&project=Education
[6]
http://en.opensuse.org/Packaging/Java#Packaging_JAR_files_that_use_JNI
--
Kirill Kirillov
<><
--
To unsubscribe, e-mail: opensuse-java+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-java+help@xxxxxxxxxxxx
| < Previous | Next > |