librabbitmq-objc icon indicating copy to clipboard operation
librabbitmq-objc copied to clipboard

fcntl$UNIX2003 called from function amqp_open_socket_noblock

Open AlexanderZubkov opened this issue 11 years ago • 3 comments

I get this error when call [connection connectToHost:myHost onPort:myPort];

Detected an attempt to call a symbol in system libraries that is not present on the iPhone: fcntl$UNIX2003 called from function amqp_open_socket_noblock in image MyProgect.

It's on both rabbitmq-c libraries 0.4.0 and 0.5.0 Do you have any idea why?

AlexanderZubkov avatar Jul 17 '14 11:07 AlexanderZubkov

I got this error too. Have you fixed it yet Alexander ?

phamquochoan avatar Aug 19 '14 10:08 phamquochoan

Hi Alexander,

If it's still relevant, please check out the fix made in one of the forks: https://github.com/EFEducationFirstMobile/librabbitmq-objc/issues/1

dmakarenko avatar Aug 19 '14 15:08 dmakarenko

before I found the link above I just included the socket.h from the unix folder of the 0.5.0/0.5.1 rabbitMQ-C library. This will also solve the issue if you don't want to use the iOS simulator fix from the EFEducationFirstMobile link.

HT-Stephen avatar Aug 26 '14 14:08 HT-Stephen