_jcc.so not linking with correct set of libraries

Bug #848931 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jcc (Ubuntu)
Fix Released
High
James Page

Bug Description

Re-occurence of bug 768733;

python2.7 -m jcc.__main__
/usr/bin/python2.7: /usr/lib/python2.7/dist-packages/jcc/_jcc.so: undefined symbol: JNI_GetDefaultJavaVMInitArgs

Current cause of FTBFS in pylucene (see bug 756199)

Linked libraries in oneiric:

ldd /usr/lib/pyshared/python2.7/jcc/_jcc.so
 linux-vdso.so.1 => (0x00007fff66f58000)
 libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f2014287000)
 libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f2014071000)
 libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f2013e53000)
 libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2013ab4000)
 libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f2013830000)
 /lib64/ld-linux-x86-64.so.2 (0x00007f2014828000)

Linked libraries in natty:

 ldd _jcc.so
 linux-vdso.so.1 => (0x00007fffe933b000)
 libjava.so => /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libjava.so (0x00007f6172721000)
 libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f6172416000)
 libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6172190000)
 libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f6171f7a000)
 libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f6171d5c000)
 libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f61719c7000)
 libjvm.so => /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server/libjvm.so (0x00007f6170dae000)
 libverify.so => /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libverify.so (0x00007f6170b9e000)
 libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007f6170983000)
 libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f617077f000)
 /lib64/ld-linux-x86-64.so.2 (0x00007f6172bcf000)

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: jcc 2.9-1
ProcVersionSignature: Ubuntu 3.0.0-10.16-generic 3.0.4
Uname: Linux 3.0.0-10-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.22.1-0ubuntu2
Architecture: amd64
Date: Tue Sep 13 13:30:10 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
SourcePackage: jcc
UpgradeStatus: Upgraded to oneiric on 2011-09-09 (3 days ago)

Related branches

Revision history for this message
James Page (james-page) wrote :
James Page (james-page)
Changed in jcc (Ubuntu):
assignee: nobody → James Page (james-page)
status: New → In Progress
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package jcc - 2.9-1ubuntu1

---------------
jcc (2.9-1ubuntu1) oneiric; urgency=low

  * Link to libjvm.so instead of libjava.so (LP: #848931):
    - debian/rules: Switched JCC_LFLAGS -ljava -> -ljvm to pickup
      JNI_GetDefaultJavaVMInitArgs symbol directly.
 -- James Page <email address hidden> Tue, 13 Sep 2011 15:37:42 +0100

Changed in jcc (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.