Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Load C Library on amd_64 #5

Closed
cristia opened this issue Jun 22, 2011 · 2 comments
Closed

Can't Load C Library on amd_64 #5

cristia opened this issue Jun 22, 2011 · 2 comments

Comments

@cristia
Copy link

cristia commented Jun 22, 2011

As I said in google groups.
( http://groups.google.com/group/jna-users/browse_thread/thread/4f56f70a840c12c2/76334b36c15b380d#76334b36c15b380d )

I tried to rm old class file but it still not work...
So I made a repo here.
(the java code:http://dl.dropbox.com/u/15187846/jnatest.tar)

Thanks.

@twall
Copy link
Contributor

twall commented Jun 22, 2011

You mean you cd in the shell from which you're launching your java program?

What linux distribution and release are you using?

Both of these errors look like your native library path needs fixing. Does your system have a version of libjnidispatch.so in LD_LIBRARY_PATH (or libjnidispatch.dll in PATH) (first error)?

Make sure the path to the library that contains your 'cvoidcall' function is either in LD_LIBRARY_PATH/PATH or jna.library.path (second error).

@cristia
Copy link
Author

cristia commented Jun 23, 2011

Sorry that's my fault.
Finally I found out that I forgot to remove the old version of libjnidispatch.so in the directory. (*faint)
I'm really sorry about that.
And thanks twall's remind.
Thank you.

@cristia cristia closed this as completed Jun 23, 2011
mstyura pushed a commit to mstyura/jna that referenced this issue Sep 9, 2024
Motivation:

During development it is often useful to have debug logging enabled

Modifications:

Allow to use quiche_enable_debug_logging(...) and have it delegate to our InternalLogger

Result:

Fixes netty/netty-incubator-codec-quic#4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants