Maybe i'm missing something but when i compile my program with shared libraries *.so i always have to use -llib for each and every library im using.
Now i've a project that links against 40 of them (possibly) and given that this "framework" of library is quite big it's not easy at all find out where each reference is.
Do i really have to know in which *.so file there is what im looking for or is there an automatic/faster way, like using -L for the full path and tell the compiler search in here?
"ldd" command might help in case i have a similar application that uses same library but i still need to add them at least once in the gcc/makefile.
Is this the only way or is there a faster/simpler way? I understand that i might have 2 *.so file with the same function name but at that point i would be happy to receive a "redefined" error.
Moreover how do i find out what a *.so or *.dll (even *.a static lib) file are containing in terms of possible usable references?
Thanks,