Public bug reported:

According to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712567,
the Multi-Arch install directory for JNI libs is /usr/lib/<triplet>/jni

The libastylej-jni.install and libastylej-jni.links files in the
2.05.1-0ubuntu1 debian packaging incorrectly use /usr/lib/jni/<triplet>.

I replaced libastylej-jni.install with
#! /usr/bin/dh-exec
build/gcc/bin/libastyle-2.05.1j.so usr/lib/${DEB_HOST_MULTIARCH}/jni

and libastylej-jni.links with
#! /usr/bin/dh-exec --with-scripts=subst-multiarch
usr/lib/${DEB_HOST_MULTIARCH}/jni/libastyle-2.05.1j.so 
usr/lib/${DEB_HOST_MULTIARCH}/jni/libastylej.so

and confirmed that that openjdk will load it with /usr/lib/jni on
java.library.path.

** Affects: astyle (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1651314

Title:
  libastylej-jni uses wrong Multi-Arch install directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/astyle/+bug/1651314/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to