[Xapian-tickets] [Xapian] #559: Can't build xapian-core on CentOS 6

Xapian nobody at xapian.org
Wed Aug 3 02:51:58 BST 2011


#559: Can't build xapian-core on CentOS 6
--------------------------+-------------------------------------------------
 Reporter:  zeus          |       Owner:  olly  
     Type:  defect        |      Status:  new   
 Priority:  normal        |   Milestone:        
Component:  Build system  |     Version:  1.0.23
 Severity:  normal        |    Keywords:        
Blockedby:                |    Platform:  Linux 
 Blocking:                |  
--------------------------+-------------------------------------------------
Changes (by olly):

  * milestone:  1.0.24 =>


Comment:

 Running autoreconf '''is''' needed for some RPM-based platforms with
 Xapian 1.0.  These use /usr/lib64 for libraries, and by default libtool
 thinks this isn't on the default dynamic linker search path, so it sets an
 rpath on libxapian.so.  These platforms have a patched version of libtool
 which adds /usr/lib64 to the list.

 http://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath

 So removing this line from 1.0 is wrong, though it might work for you if
 you're on a 32-bit architecture, and it will probably appear to work on
 64-bit platforms as the problems the unnecessary rpath causes are fairly
 obscure.

 In Xapian 1.2, we override libtool's logic with a version which looks up
 the actual path the dynamic linker uses, so there's no longer a reason to
 re-run autoreconf.

 The change in 1.2 is too major to backport for 1.0, and anyway 1.0 is now
 only receiving critical fixes.

 Perhaps you should show us the actual error you get?

-- 
Ticket URL: <http://trac.xapian.org/ticket/559#comment:2>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list