Simple makefile question, shared libraries
I link to a bunch of static and shared libraries. The static ones are easy:
Pretty straight forward. TRANSACT_LIBS corresponds to a bucnh of static libraries (-lnuma -lutil etc etc etc)
-L $(HOME)/lib -L $(LIBDIRS) $(TRANSACT_LIBS) $(MPI_LIBS)
However, for MPI_LIBS, these are .so files, and I have to put the full path. When I try to do -L dir something.so something2.so .... it says it can't find the .so files.
How do I specify a directory to search for the .so files? I have the appropriate directory appended to my LD_LIBRARY_PATH variable...