On Mon, May 23, 2016 at 12:10 AM, Willem Jan Withagen <wjw@xxxxxxxxxxx> wrote: > Hi, > > When the testscripts try to run src/ceph I get: > > *** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH *** > Traceback (most recent call last): > File "src/ceph", line 118, in <module> > import rados > ImportError: /usr/srcs/Ceph/work/ceph/src/.libs/librados.so.2: Undefined > symbol "g_ceph_context" > > which is in libglobal, but if I try to link that to librados I'm just > getting nothing but dubble definitions and errors. > > Where have things gone wrong for me? > How should "import rados" get the g_ceph_context? Usually that's a symptom of a bug where something is touching global state somewhere it shouldn't (such as using dout instead of ldout in client code), and pulling in the g_ceph_context symbol where it shouldn't. The symptom is that daemons build correctly but client libraries become un-importable. Do you have local changes? If not, try updating to latest master, it seems to be OK right now. John > Thanx > --WjW > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html