Re: not able to run src/ceph any longer

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

 



On 23-5-2016 06:10, Tomy Cheru wrote:
> Try "export LD_LIBRARY_PATH=/usr/srcs/Ceph/work/ceph/src"

I currently fixed it real hardcore:

- Added libglobal.la to the LD_ADD for librados.
Although that works, but is probably not the way to go.

Also had trouble with lots of the rgw unit tests that were also
complaining about this during linking. That is not solved by the above
sollution. So started adding CEPH_GLOBAL to their LD_ADD make options,
but that agina is probably not the way to do it.

I guess I've changed too much in a lot of the build files.

--WjW

> -----Original Message-----
> From: ceph-devel-owner@xxxxxxxxxxxxxxx [mailto:ceph-devel-owner@xxxxxxxxxxxxxxx] On Behalf Of Willem Jan Withagen
> Sent: Monday, May 23, 2016 4:40 AM
> To: Ceph Development <ceph-devel@xxxxxxxxxxxxxxx>
> Subject: not able to run src/ceph any longer
> 
> 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?
> 
> 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
> PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).
> N�����r��y���b�X��ǧv�^�)޺{.n�+���z�]z���{ay�ʇڙ�,j��f���h���z��w������j:+v���w�j�m��������zZ+�����ݢj"��!tml=
> 

--
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



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux