Skip to content

Support for multiarch linux distros#2

Closed
tulskiy wants to merge 1 commit intonativelibs4java:masterfrom
tulskiy:master
Closed

Support for multiarch linux distros#2
tulskiy wants to merge 1 commit intonativelibs4java:masterfrom
tulskiy:master

Conversation

@tulskiy
Copy link
Copy Markdown

@tulskiy tulskiy commented Sep 1, 2011

Ubuntu 11.04 is placing some libs, like libX11.so in /usr/lib/i386-linux-gnu or /usr/lib/x86_64-linux-gnu depending on a platform so BridJ cannot find them.

I've ported a fix for that from JNA. I hope it's ok in terms of licensing because I don't think there's really any other way to do this.

Original code is here java-native-access/jna#10

@ochafik
Copy link
Copy Markdown
Member

ochafik commented Sep 1, 2011

Hi tulskiy,

Thanks a lot for report and your patch !
I'll review your diff, but unfortunately it is not possible to include code from JNA (licensed under LGPL) into BridJ (licensed under BSD), so the final fix will probably just be inspired by the JNA code.

Cheers

zOlive

@ochafik
Copy link
Copy Markdown
Member

ochafik commented Sep 1, 2011

As reference, here is the Multi-arch spec for Ubuntu :
https://wiki.ubuntu.com/MultiarchSpec

ochafik added a commit that referenced this pull request Sep 1, 2011
…slightly reordered paths (from most specific to least specific)
@ochafik
Copy link
Copy Markdown
Member

ochafik commented Sep 2, 2011

Hi tulskiy,
This should be fixed in the latest snapshot version (please let me know if you're having trouble with the fix !)
Cheers

@ochafik ochafik closed this Sep 2, 2011
@tulskiy
Copy link
Copy Markdown
Author

tulskiy commented Sep 2, 2011

ok, that works too, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants