Re: Rados: Undefined symbol error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Brad,

Thank you for your response. Looks like the command is undefined. 

	  U _ZN5Mutex4LockEb
                 U _ZN5Mutex6UnlockEv
                 U _ZN5MutexC1ERKSsbbbP11CephContext
                 U _ZN5MutexD1Ev

Thanks,
Aakanksha

-----Original Message-----
From: Brad Hubbard [mailto:bhubbard@xxxxxxxxxx] 
Sent: Wednesday, August 26, 2015 5:46 PM
To: Aakanksha Pudipeddi-SSI
Cc: Jason Dillaman; ceph-users@xxxxxxxx
Subject: Re:  Rados: Undefined symbol error

----- Original Message -----
> From: "Aakanksha Pudipeddi-SSI" <aakanksha.pu@xxxxxxxxxxxxxxx>
> To: "Jason Dillaman" <dillaman@xxxxxxxxxx>
> Cc: ceph-users@xxxxxxxx
> Sent: Thursday, 27 August, 2015 6:22:45 AM
> Subject: Re:  Rados: Undefined symbol error
> 
> Hello Jason,
> 
> I checked the version of my built packages and they are all 9.0.2. I 
> purged the cluster and uninstalled the packages and there seems to be 
> nothing else
> - no older version. Could you elaborate on the fix for this issue?

Some thoughts...

# c++filt  _ZN5MutexC1ERKSsbbbP11CephContext Mutex::Mutex(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool, bool, CephContext*)

Thats from common/Mutex.cc

# nm --dynamic `which rados` 2>&1|grep Mutex
0000000000504da0 T _ZN5Mutex4LockEb
0000000000504f70 T _ZN5Mutex6UnlockEv
0000000000504a50 T _ZN5MutexC1EPKcbbbP11CephContext
0000000000504a50 T _ZN5MutexC2EPKcbbbP11CephContext
0000000000504d10 T _ZN5MutexD1Ev
0000000000504d10 T _ZN5MutexD2Ev

This shows my version is defined in the text section of the binary itself. What do you get when you run the above command?

Like Jason says this is some sort of mis-match between your rados binary and your installed libs.

HTH,
Brad

> 
> Thanks,
> Aakanksha
> 
> -----Original Message-----
> From: Jason Dillaman [mailto:dillaman@xxxxxxxxxx]
> Sent: Friday, August 21, 2015 6:37 AM
> To: Aakanksha Pudipeddi-SSI
> Cc: ceph-users@xxxxxxxx
> Subject: Re:  Rados: Undefined symbol error
> 
> It sounds like you have rados CLI tool from an earlier Ceph release (<
> Hammer) installed and it is attempting to use the librados shared 
> library from a newer (>= Hammer) version of Ceph.
> 
> Jason
> 
> 
> ----- Original Message -----
> 
> > From: "Aakanksha Pudipeddi-SSI" <aakanksha.pu@xxxxxxxxxxxxxxx>
> > To: ceph-users@xxxxxxxx
> > Sent: Thursday, August 20, 2015 11:47:26 PM
> > Subject:  Rados: Undefined symbol error
> 
> > Hello,
> 
> > I cloned the master branch of Ceph and after setting up the cluster, 
> > when I tried to use the rados commands, I got this error:
> 
> > rados: symbol lookup error: rados: undefined symbol:
> > _ZN5MutexC1ERKSsbbbP11CephContext
> 
> > I saw a similar post here: http://tracker.ceph.com/issues/12563 but 
> > I am not clear on the solution for this problem. I am not performing 
> > an upgrade here but the error seems to be similar. Could anybody 
> > shed more light on the issue and how to solve it? Thanks a lot!
> 
> > Aakanksha
> 
> > _______________________________________________
> > ceph-users mailing list
> > ceph-users@xxxxxxxxxxxxxx
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux