Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6543717
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:22:46+00:00 2026-05-25T11:22:46+00:00

I am working in ubuntu under c++ code. I am using gsoap in order

  • 0

I am working in ubuntu under c++ code. I am using gsoap in order to connect to a server. I’ve obtained all the data necesarry. I’ve also succeeded to connect to the server. Still I do have a question. Why do I need to write in the command line: g++ test_server.cpp -o testServ libgsoap++.a. Why do I need to include libgsoap++.a in my command line if I did include all the dependencies in my folder?
EDIT:

If I don’t include libgsoap++.a in the command line i have:

undefined reference to `soap_embed'
/tmp/ccyeN0df.o: In function `soap_serialize_string(soap*, char* const*)':
TEST.cpp:(.text+0xb9de): undefined reference to `soap_reference'
/tmp/ccyeN0df.o: In function `soap_out_string(soap*, char const*, int, char* const*, char const*)':
TEST.cpp:(.text+0xba15): undefined reference to `soap_outstring'
/tmp/ccyeN0df.o: In function `soap_in_string(soap*, char const*, char**, char const*)':
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T11:22:46+00:00Added an answer on May 25, 2026 at 11:22 am

    You need to tell g++ that you want to link against libgsoap++ using -lgsoap++.

    If you want to link against non-system-wide version of libgsopa++, you need to specify library path to g++ via -L flag.

    Short explanation:

    You have link-time error. The compilation was successful and produced object files. During compilation time, you “promised” (by including gsoap include files) that soap_serialize_string et al exist somewhere, and object code is available.

    Now linker tries to make an executable from that object files. It checks all that “promises” in object files and tries to resolve it: replace it with invoking actual functions. Where do this “actual functions” exist? In your case, it is libgsoap++.a.

    So if you don’t tell linker to link against libgsoap++.a, promises just remain promises, and you have undefined references.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am working in c++ under ubuntu. is there a way for using gsoap
I'm working on Ubuntu.(Linux) I want to display all .php pages to .html in
I am trying to get PhysX working using Ubuntu. First, I downloaded the SDK
I'm on Ubuntu Intrepid and I'm using jpeglib62 6b-14. I was working on some
I'm doing some PHP stuff on an Ubuntu server. The path I'm working in
Working in bash under Linux ubuntu 10 here I have Bash script that reads
I'm using Git under Ubuntu Linux to sync and deploy my projects. I have
I have been unable to get Riak working under Ubuntu 9 due to many
I'm using google chrome 5.0.307.9 beta under ubuntu 9.10 and it seems not properly
I have django+python+apache2+mod_python installed hosted and working on ubuntu server/ linode VPS. php5 is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.