Need to integrate Shibboleth SP

Cantor, Scott cantor.2 at osu.edu
Mon Jul 29 13:14:21 EDT 2013


On 7/29/13 7:37 AM, "Amit Thukral" <amit.thukral403 at gmail.com> wrote:

>The differences are:
>1)  the independent program is built using g++, and linked to
>libshibsp.so whereas for our module we are using gcc along with libstdc++.

You can't do that. Linking anything to a C++ library requires linking with
g++.

>2)  the independent program is linked to libshibsp.so whereas webserver
>program binary is linked to the wrapper libmyshibsp.so

The wrapper can have C linkage and be loaded by a C program, as Apache
does, but you can't link the wrapper without g++.

>3)  ldd portion of webserver binary shows two differenct versions of
>libstdc++.so whereas the working independent binary shows only
>libstdc++.so.6

And that also guarantees a crash. You can't mix C++ libraries. Some
Windows apps can, but not a Linux app.

-- Scott




More information about the dev mailing list