Thread: Raspberry Pi soap client

  1. #1
    Registered User
    Join Date
    Oct 2013
    Midrand Gauteng South Africa

    Raspberry Pi soap client

    I have a gsoap C program compiling and working fine on my Raspberry Pi but when I move the binary to another Raspberry Pi it fails to run.

    pi@raspberrypi ~/CIS/MediaManager $ ./cmema
    -bash: ./cmema: cannot execute binary file
    pi@raspberrypi ~/CIS/MediaManager $

    I have noticed when I do a static compile of the program the final message says:-

    /usr/local/lib/libgsoap.a(libgsoap_a-stdsoap2.o): In function `tcp_gethost':
    /home/pi/Develop/gsoap-2.8/gsoap/stdsoap2.c:3775: warning: Using 'gethostbyname_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

    Please tell me how I go about fixing this.

  2. #2
    Registered User
    Join Date
    Oct 2006
    it's a warning that relates mostly to binary distribution of your program. it's just telling you that if you give someone else your binary, they need to have the same version of the libraries that the standard library links against.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Raspberry Pi
    By phantomotap in forum Tech Board
    Replies: 12
    Last Post: 02-04-2013, 01:53 PM
  2. C raspberry pi
    By 0x47617279 in forum C Programming
    Replies: 2
    Last Post: 01-30-2013, 11:52 PM
  3. New to SOAP Request
    By rajkumarmadhani in forum C Programming
    Replies: 0
    Last Post: 05-20-2010, 09:53 AM
  4. Should I be in a soap opera?
    By Shadow in forum A Brief History of
    Replies: 19
    Last Post: 02-12-2003, 04:10 AM