kern/103312: dlsym(NULL,) doesn't work properly

Dmitry Karasik dmitry at
Mon Sep 18 07:50:26 PDT 2006

The following reply was made to PR kern/103312; it has been noted by GNATS.

From: Dmitry Karasik <dmitry at>
To: bug-followup at
Subject: Re: kern/103312: dlsym(NULL,) doesn't work properly
Date: Mon, 18 Sep 2006 16:45:53 +0200

 I've been digging myself for a workaround and realized that the problem is
 based on my assumption that for the main executable, results of dlsym(NULL,...)
 and dlsym(dlopen(NULL),...) should be identical. Now, I'm not that sure if this
 should actually be true. If it should, please let me know so I can try to fix
 this myself; otherwise please close the PR.
 	Dmitry Karasik

More information about the freebsd-bugs mailing list