[Yanel-dev] xuggler and yanel
Michael Wechner
michael.wechner at wyona.com
Thu May 14 16:20:26 CEST 2009
simon litwan schrieb:
> simon litwan schrieb:
>> simon litwan schrieb:
>>> hi all
>>>
>>> i try to use xuggler within yanel. but no luck so far.
>>>
>>> i get an exception:
>>> Caused by: java.lang.NoSuchMethodError:
>>> org.slf4j.Logger.trace(Ljava/lang/String;)V
>>> at
>>> com.xuggle.ferry.JNILibraryLoader.<init>(JNILibraryLoader.java:224)
>>> at
>>> com.xuggle.ferry.JNILibraryLoader.<clinit>(JNILibraryLoader.java:180)
>>> at com.xuggle.xuggler.XugglerJNI.<clinit>(XugglerJNI.java:19)
>>> at com.xuggle.xuggler.IContainer.make(IContainer.java:352)
>>>
>>> it seems that trace is not supported by log4j < 1.2.12. but if i
>>> change the yanel dependency and pom file to use this 1.2.12 i still
>>> find log4j 1.2.8 within the lib dir. not sure where it comes from.
you might want to delete your local .m2 repo and then run build again with
./build.sh > build.log
and then you should be able to find out
>>>
>>> has somebody an idea?
>> after i put log4j-1.2.15.jar, slf4j-api-1.5.6.jar,
>> slf4j-log4j12-1.5.6.jar into the endorsed libs this problem is gone.
you might want to add the log4j duplicate name to
src/build/build.properties
see property duplicated.libs
HTH
Michi
>>
>> but now i get a UnsatisfiedLinkError:
>> com.xuggle.xuggler.XugglerJNI.IContainer_make()J
>>
>> will keep you informed.
> after starting yanel from a console where $LD_LIBRARY_PATH is set it
> works :)
>
> maybe someone has a hint how to solve this log libs problem more elegant.
>
> simon
>>
>> simon
>>
>>
>>
>>>
>>> cheers
>>> simopn
>>
>
More information about the Yanel-development
mailing list