← Back to team overview

openjdk team mailing list archive

Bug#632794: Fails to find libnss3.so

 

Hi,

Looking at the source of the macros & configure, I am pretty confident
that a simple rebuild of the openjdk will fix this bug.

The path to the system library is detected by compiling on the fly a c
file and get the path to the multi arch libs
  $CC conftest.c
  syslibdir=`$LDD a.out | sed -n '/libc\.so./s,.*=> */\(@<:@^/@:>@*
\)/.*,\1,p'`

For example, on my laptop, the output is:
$ ldd a.out 
	linux-vdso.so.1 =>  (0x00007fff77fe1000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2afa5ce000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f2afa973000)


Sylvestre