uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Surcin <sur...@kwaga.com>
Subject UIMACpp - how to check annotator's dlopen
Date Mon, 20 Feb 2012 16:54:36 GMT
Hello,

Is there a way to get more info, or to trace the processes involved when
initializing a C++ annotator?

I have this message dumped when launching an aggregator containing some
Java annotators and one C++:

annotator:creating JNILogger

20/02/12 17:38:13 - 11:
org.apache.uima.uimacpp.UimacppAnalysisComponent.log(393): GRAVE:
org.apache.uima.cpp: 0
Error number  : 2001
Recoverable   : Yes
Error         : Error loading annotator 'UnitexAnnotatorCpp'.
'dlopen(UnitexAnnotatorCpp.dylib, 10): image not found'

20/02/12 17:38:13 - 11:
org.apache.uima.uimacpp.UimacppAnalysisComponent.log(393): GRAVE:
org.apache.uima.cpp: 0 ResourceManager::requestAnnotatorFile() failed to
find UnitexAnnotatorCpp

Nevertheless the annotator's UnitexAnnotatorCpp.dylib is well available
through the $DYLD_LIBRARY_PATH environment variable, and also through the
-Djava.library.path when launching the aggregate. I even checked with a
small C program, using dlopen that it is possible to load the library.

What could I do next?

Thanks for any advice.
Sylvain

-- 
Sylvain SURCIN, Ph.D.
*KWAGA*
Senior Software Architect
15, rue Jean-Baptiste Berlier
75013 Paris
France
Tél.: +33 (0)6.32.78.83.31

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message