Trying to move from archive to shared libraries for an application. I
believe I was able to create the shared library ok by compiling the
.cpp's with -fpic and using g++ -shared with the objects (.o's). But
when I try to compile a program that used that library I get a undefined
reference from the shared library about an archive library object that
it was compiled with (it was included on the link fro both the shared
lib and the executable). Is there some other option/procedure I need to
do to use the shared library?
Any good reference to understand how to build and use shared libraries.
I'm using GNU gcc/make
Thanks,
Frank