[Xapian-tickets] [Xapian] #626: Detection of uuid_unparse_lower in #368 is broken

Xapian nobody at xapian.org
Wed Sep 25 12:38:18 BST 2013


#626: Detection of uuid_unparse_lower in #368 is broken
------------------------+----------------------------
 Reporter:  dmichelsen  |             Owner:  olly
     Type:  defect      |            Status:  new
 Priority:  normal      |         Milestone:
Component:  Other       |           Version:  1.3.1
 Severity:  blocker     |        Resolution:
 Keywords:              |        Blocked By:
 Blocking:              |  Operating System:  Solaris
------------------------+----------------------------
\
\
\
\
\
\

Comment (by dmichelsen):

 Of course you are right, please discard my patch. The problem is as
 follows: the system has /usr/include/uuid/uuid.h without
 `uuid_unparse_lower` and we have an additional
 /opt/csw/include/uuid/uuid.h with `uuid_unparse_lower` which is detected.
 However, in the linking phase the `-luuid` is too early hence the
 `/usr/lib/libuuid.so` is pulled in missing the function resulting in the
 linkage error:

 {{{
 /bin/bash ./libtool  --tag=CXX   --mode=link /opt/SUNWspro/bin/CC
 -library=stlport4 -features=tmplife   -xO3 -m32 -xarch=sparc -lm   -lz -lm
 -luuid -lm  -lnsl  ...
 }}}

 Maybe the exact location of libuuid.so could be specified during
 configure-time?
\
\
\

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



More information about the Xapian-tickets mailing list