Skip to content

Unable to load C library on FreeBSD - Fixed downstream #279

@sevan

Description

@sevan

Hi,
It seems that since the changes in r251668 of FreeBSD src, JNA is unable load libc which is reflected in failed unit tests at testLoadCLibrary, testHandleObjectMethods & testLoadProperCLibraryVersion reporting /usr/libl/libc.so being in an invalid file format.

The following diff is meant to resolve the issue
http://people.freebsd.org/~jkim/jna.diff
as posted on
http://lists.freebsd.org/pipermail/freebsd-java/2013-October/010353.html

Is it possible to merge this fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions