문제

I include the following in my native extension :-

#include "qpid/client/Connection.h"
#include "qpid/client/Message.h"
#include "qpid/client/Session.h"

My Dart code using the native extension works, all fine and dandy, if however I include this :-

#include "qpid/client/SubscriptionManager.h" 

I suddenly get :-

cannot find extension library'file:///home/steve/Development/google/dart/projects/amqp_client/lib/amqp_client.dart': error: line 10 pos 1: library handler failed import 'dart-ext:so/amqp_extension';

So, why is this, my build system and readelf are saying there's nothing wrong with the .so file, it looks like a bug if so its a bit of show stopper for me.

도움이 되었습니까?

해결책

Fixed, this was a library path problem on my development box, see issue 16140 for an explanation.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top