Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Oct 2013 18:20:00 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Sevan / Venture37 <venture37@gmail.com>
Cc:        jlh@freebsd.org, java@FreeBSD.org
Subject:   Re: JNA broken with r251668 as libc.so cant be loaded
Message-ID:  <20131004152000.GS41229@kib.kiev.ua>
In-Reply-To: <524E934D.70303@gmail.com>
References:  <524DFB7D.2000207@gmail.com> <20131004050824.GK41229@kib.kiev.ua> <524E934D.70303@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--V25oM+p0gSikHNMC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Oct 04, 2013 at 02:07:09PM +0400, Sevan / Venture37 wrote:
> On 04/10/2013 09:08, Konstantin Belousov wrote:
> > Does the source contain some workaround for Linux, already ?  Linux uses
> > script for libc.so for very long time, and should have the same issue
> > unless code explicitely dlopen()s libc.so.6 or such.
>=20
>=20
> No
> https://svn.java.net/svn/jna~svn/trunk/jnalib/test/com/sun/jna/LibraryLoa=
dTest.java

I do not know what should I see in the pointer you provided, and how it
implies the answer 'No' to my question.

I just verified dlopen("libc.so") on some fresh Linux box, and the function
returned expected error '/lib/libc.so: invalid ELF header'.

--V25oM+p0gSikHNMC
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (FreeBSD)

iQIcBAEBAgAGBQJSTtyfAAoJEJDCuSvBvK1BH54P/iyv7W4SyRDlM+KVjdwi4Sj3
cJPXgj6TxLz3UxE6uPI5khEbW6ru/95xJwRoRxCtWouWZ12fAqS7YfXvSalln48C
GBVvPlKPSt145qpmYeSaFaF+PRVvCDbhtE8nWdRumZBbRd895tobOCiEYKSMuKw5
rR2ibuG3t+Sg0gfA+Z0QD/OL5E7o/tlJ6XuyTM72G2wghG5R5ujcvX2Ud+RDhmNw
d5ATZcZ5oN7LY8VF6TCHnKrPtMZVZTr7JRasm8TSDr39asA/nHQcGTU97266vkPA
V4MoasMgcK40uP8IPO8NZTbqYrq0BJtRzLR2I/TzFceYxZTkbOrP6jTNzBhxp2Ys
TQKS99+tMdFa6BQxr7eAhnQJnTrsCYJVKTS70OqB5O4XXAM9n4UGmmWhqTZIeztL
Q2ZcGKZlQTmy12cAheXLDZjfoOyHgsjDDbqYd7g2ifuMoqNksYFY7WQTbVNHMGKE
cfKLcqfXv4AUPMNkk0sk1jkeKHgiqtYJxHQTKs7S2kWcahb/F/btuhWiHGPwwSpC
H0FrBZ4/4PNWEiXp1cP39QPRYo6Q739unm4BuLOx5CxhwUzRzG3nFmmAL5C5G4hT
Jj1H6ojR58Z1agFIIwjn9HCRPEbtpwgaUKyheLRWHTBTrk20eXE17D0MlTzPdNrY
mhcBMsdpWmaR36M2zTb4
=MRDc
-----END PGP SIGNATURE-----

--V25oM+p0gSikHNMC--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131004152000.GS41229>