diff --git a/src/mathlib.c b/src/mathlib.c
index 5354240..b28033e 100644
--- a/src/mathlib.c
+++ b/src/mathlib.c
@@ -155,9 +155,6 @@ int open_mathlib(mathlib_t *lib)
 		return 0;
 	}
 
-	if (dlinfo(lib->handle, RTLD_DI_LMID, &lib->lmid) == -1)
-		printf("dlinfo: %s: %s\n", lib->lib, dlerror());
-
 	// Call the init() function if configured
 	if (lib->init != NULL)
 		lib->init(lib);
@@ -217,14 +214,7 @@ void init_mathlib()
 			mathlibs[libidx].available = 1;
 
 		// At this point the library load was successful, provide detail:
-		if (mathlibs[libidx].handle != NULL)
-		{
-			char lpath[PATH_MAX];
-			dlinfo(mathlibs[libidx].handle, RTLD_DI_ORIGIN, lpath);
-			printf("  loaded ok: %s/%s\n", lpath, mathlibs[libidx].lib);
-		}
-		else
-			printf("  loaded ok.\n");
+		printf("  loaded ok.\n");
 
 		// Set the default to the first one we find:
 		if (current_mathlib == NULL)
diff --git a/src/utils.c b/src/utils.c
index b803402..1462df2 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -17,7 +17,7 @@
  *    https://www.xnec2c.org/
  */
 
-#include <execinfo.h>
+//#include <execinfo.h>
 
 #include "utils.h"
 #include "shared.h"
@@ -736,18 +736,7 @@ void _print_backtrace(char **strings)
 // Return an array of backtrace strings.  The value returned must be free()'ed.
 char **_get_backtrace()
 {
-	void *array[10];
-	char **strings;
-	int size;
-
-	size = backtrace(array, 10);
-	strings = backtrace_symbols(array, size);
-
-	// This wastes an array entry, but allows _print_backtrace() to find
-	// the end of the list without realloc'ing space for a NULL:
-	strings[size-1] = NULL;
-
-	return strings;
+	return NULL;
 }
 
 void print_backtrace(char *msg)
