From owner-freebsd-java@FreeBSD.ORG Fri Oct 4 05:08:31 2013 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 56367DC9; Fri, 4 Oct 2013 05:08:31 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BAB2024A3; Fri, 4 Oct 2013 05:08:29 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.7/8.14.7) with ESMTP id r9458OW6037909; Fri, 4 Oct 2013 08:08:24 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua r9458OW6037909 Received: (from kostik@localhost) by tom.home (8.14.7/8.14.7/Submit) id r9458O3q037908; Fri, 4 Oct 2013 08:08:24 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 4 Oct 2013 08:08:24 +0300 From: Konstantin Belousov To: Sevan / Venture37 Subject: Re: JNA broken with r251668 as libc.so cant be loaded Message-ID: <20131004050824.GK41229@kib.kiev.ua> References: <524DFB7D.2000207@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yt5qEmeYTd8SiIld" Content-Disposition: inline In-Reply-To: <524DFB7D.2000207@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: jlh@freebsd.org, java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Oct 2013 05:08:31 -0000 --yt5qEmeYTd8SiIld Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 04, 2013 at 03:19:25AM +0400, Sevan / Venture37 wrote: > Hi, > It seems that JNA is unable load C library with the src changes in=20 > r251668 of base, the JNA unit tests fail at testLoadCLibrary,=20 > testHandleObjectMethods & testLoadProperCLibraryVersion as=20 > /usr/lib/libc.so is in an invalid file format. 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. --yt5qEmeYTd8SiIld Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iQIcBAEBAgAGBQJSTk1HAAoJEJDCuSvBvK1BjxsQAKhM4224SeXv10Zkg3g1r4eT Gir2x290XByimcbe3S3ITZ2K+daF2EgY8mayWUvQaH72eS0KKFdU0cnSg9STd/R0 XsuIA3Q36Gjj6sOlXERDYpcM4wAKayPU8mWd8QBsRFgZa6FV2a9dh1njEcgVBOwI SBZ+rDPG38TXHmbIc6jfVPAx6iah51BZn8ZCEzC3YrZX6CR1tWBUjxCQYu1CHCcw RWpzr8HoeVMYj7u11KcTDKVZrefT+t/yqIZy5MajkqpLUVCOmuwKUJP4nmmO0XNh 9bqFIVNDioaGg7LI0SObQu0jKUFTgYJsyqjr3zXiOUFSokigCYvtX+Iys21SZy1y 6RlMrCPP/RwrjP2KSOxS5l3CcWNMqx0CJ8oDwrYe7vh7bRPSlNrwpwHu0mTTgJ3K d8WMAsMr1O/lt4ISyve6WsQmhIs1s7Jx5owXN0VMI0ULunnvAmz/VT1Mj2ugj4G7 IUOSnDY71vt25CBQVHZTu1shqvwXy2oRuGBrtwufmJdiN5ShpgrjyZ7jVn335Xe9 LvwJXaacwGKJGpIj2/EkQkaE2Bt9BuHQU+6Sd4SLlbTaoXfZ5K5J9jKNx1QSms43 pZYCnFeDZdsnM0AYr5bE5Nf3ZHr6WT5mH3A9hXuzCNyIYX2EXNaUEEeV72n3Z7vY Nu5LEumLZ2myGdI04J8N =3wqi -----END PGP SIGNATURE----- --yt5qEmeYTd8SiIld--