It is set correctly. If I do not link with the Third Party library (which is not a shared library). The library is able to load, but if I link with the static library, then the library is not found (with the same LD_LIBRARY_PATH and location).
In C++ a struct is essentially the same thing as a class. You can created methods for the struct, both public and private as well as public and private data. The usage allows for encapsulation in a struct. However, the main uses in C++ for a struct are for compatability with C programs and...
I am trying to build a shared library in Solaris using Forte C++. I need to be able to link the objects to a static third party library.
ex.
CC -G -o mylib.so -Kpic myfile.o -lsocket -lthread -lpthread -lcurses -lthirdpartystaticlib
If I use the above compiler command, it successfully builds...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.