Fix the SONAME of the library and its own fully qualified name.
diff --git a/IsoSpec++/Makefile b/IsoSpec++/Makefile
index 31a2f94..a054777 100644
--- a/IsoSpec++/Makefile
+++ b/IsoSpec++/Makefile
@@ -1,24 +1,26 @@
 OPTFLAGS=-O3 -march=native -mtune=native
 DEBUGFLAGS=-O0 -g -Werror
-CXXFLAGS=-std=c++11 -Wall -pedantic -Wextra
+CXXFLAGS=-std=c++11 -O0 -g -Wall -pedantic -Wextra
 SRCFILES=cwrapper.cpp allocator.cpp  dirtyAllocator.cpp  isoSpec++.cpp  isoMath.cpp  marginalTrek++.cpp  operators.cpp element_tables.cpp misc.cpp mman.c
-
+SOVER=1
+RELVER=$(SOVER).9.1
+ 
 all: unitylib
 
 unitylib:
-	$(CXX) $(CXXFLAGS) $(OPTFLAGS) unity-build.cpp -fPIC -shared -o libIsoSpec++.so
+	$(CXX) $(CXXFLAGS) $(OPTFLAGS) unity-build.cpp -fPIC -shared -o libIsoSpec++.so.$(RELVER) -Wl,-soname,libIsoSpec++.so.$(SOVER)
 
 debug:
-	$(CXX) $(CXXFLAGS) $(DEBUGFLAGS) unity-build.cpp -DDEBUG -fPIC -shared -o libIsoSpec++.so
+	$(CXX) $(CXXFLAGS) $(DEBUGFLAGS) unity-build.cpp -DDEBUG -fPIC -shared -o libIsoSpec++.so.$(RELVER) -Wl,-soname,libIsoSpec++.so.$(SOVER)
 
 debug-gcc:
-	g++ $(CXXFLAGS) $(DEBUGFLAGS) unity-build.cpp -DDEBUG -fPIC -shared -o libIsoSpec++.so
+	g++ $(CXXFLAGS) $(DEBUGFLAGS) unity-build.cpp -DDEBUG -fPIC -shared -o libIsoSpec++.so.$(RELVER) -Wl,-soname,libIsoSpec++.so.$(SOVER)
 
 nonunity:
-	$(CXX) $(CXXFLAGS) $(OPTFLAGS) $(SRCFILES) -DDEBUG -fPIC -shared -o libIsoSpec++.so
+	$(CXX) $(CXXFLAGS) $(OPTFLAGS) $(SRCFILES) -DDEBUG -fPIC -shared -o libIsoSpec++.so.$(RELVER) -Wl,-soname,libIsoSpec++.so.$(SOVER)
 
 clean:
-	rm -f libIsoSpec++.so
+	rm -f libIsoSpec++.so.$(SOVER)
 
 windows:
 	g++ -O3 -std=gnu++11 -O3 -shared -static -static-libstdc++ -static-libgcc unity-build.cpp -o ../IsoSpecPy/IsoSpec++.dll
