Re: rbd create command fails to create image

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

 



Hi Xiaoguang,

The problem is that /usr/lib/rados-classes/* shouldn't have symbols 
stripped.  I'm no rpmbuild expert, but a search for 'rpmbuild strip' 
turned up a few things.  Can you see if the below patch fixes the problem 
for you?

Thanks!
sage


diff --git a/ceph.spec.in b/ceph.spec.in
index 20e0251..f068edd 100644
--- a/ceph.spec.in
+++ b/ceph.spec.in
@@ -64,6 +64,7 @@ conjunction with any FastCGI capable web server.
 make -j$(getconf _NPROCESSORS_ONLN) CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
 
 %install
+export DONT_STRIP=1
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
--
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