Problems building 0.9.2 on solaris 2.6

Spicer, Kevin Kevin.Spicer@bmrb.co.uk
Sat, 29 Jun 2002 15:59:22 +0100


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C21F7D.8DA19E2C
Content-Type: text/plain;
	charset="iso-8859-1"

Cracked it now, thanks for the pointer.  I only had static libraries for
librsync, to build the shared ones I needed to do...
./configure --enable-shared; make; make install
Unfortunately this option didn't seem to be documented (had to read the
configure script) - I guess I should have guessed it though :)
However, librsync wouldn't build shared libraries until I had rebuilt zlib
with shared libararies too (./configure --shared in that case)
 
I did have one small problem because rdiff-backup tried (and failed) to
build using the old static libraries in /usr/local/lib, because I had put
the new shared libs in /usr/lib.  Strangely LD_LIBRARY_PATH didn't seem to
have any effect, so I copied the shared libs in /usr/local/libs and all was
well.
 

-----Original Message-----
From: Spicer, Kevin [mailto:Kevin.Spicer@bmrb.co.uk]
Sent: 28 June 2002 16:36
To: 'Ben Escoto'
Cc: 'rdiff-backup@keywest.stanford.edu'
Subject: RE: Problems building 0.9.2 on solaris 2.6 



I did install librsync-0.9.5.1, but only ended up with .a and .la libraries.
Any idea how I can force it to build shared libs?

-----Original Message----- 
From: Ben Escoto [ mailto:bescoto@stanford.edu <mailto:bescoto@stanford.edu>
] 
Sent: 28 June 2002 16:23 
To: Spicer, Kevin; ambra 
Cc: 'rdiff-backup@keywest.Stanford.EDU' 
Subject: Re: Problems building 0.9.2 on solaris 2.6 



Did you two install the librsync-0.9.5.1 package?  Did it build a 
share library (librsync.so and not just librsync.a)? 


-- 
Ben Escoto 


BMRB International 
http://www.bmrb.co.uk <http://www.bmrb.co.uk>  +44 (0)20 8566 5000 

____________________________________________________________ 
This message (and any attachment) is intended only for the recipient and may
contain confidential and/or privileged material. If you have received this
in error, please contact the sender and delete this message immediately.
Disclosure, copying or other action taken in respect of this email or in
reliance on it is prohibited. BMRB International Limited accepts no
liability in relation to any personal emails, or content of any email which
does not directly relate to our business.



BMRB International 
http://www.bmrb.co.uk +44 (0)20 8566 5000 

____________________________________________________________ 
This message (and any attachment) is intended only for the recipient and may
contain confidential and/or privileged material. If you have received this
in error, please contact the sender and delete this message immediately.
Disclosure, copying or other action taken in respect of this email or in
reliance on it is prohibited. BMRB International Limited accepts no
liability in relation to any personal emails, or content of any email which
does not directly relate to our business.

------_=_NextPart_001_01C21F7D.8DA19E2C
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>RE: Problems building 0.9.2 on solaris 2.6</TITLE>

<META content="MSHTML 6.00.2713.1100" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=782475214-29062002>Cracked it now, thanks for the pointer.&nbsp; I only 
had static libraries for librsync, to build the shared ones I needed to 
do...</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=782475214-29062002>./configure --enable-shared; make; make 
install</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=782475214-29062002>Unfortunately this option didn't seem to be documented 
(had to read the configure script) - I guess I should have guessed it though 
:)</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=782475214-29062002>However, librsync wouldn't build shared libraries until 
I had rebuilt zlib with shared libararies too (./configure --shared in that 
case)</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=782475214-29062002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=782475214-29062002>I did 
have one small problem because rdiff-backup tried (and failed) to build using 
the old static libraries in /usr/local/lib, because I had put the new shared 
libs in /usr/lib.&nbsp; Strangely LD_LIBRARY_PATH didn't seem to have any 
effect, so I copied the shared libs in /usr/local/libs and all was 
well.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=782475214-29062002></SPAN></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Spicer, Kevin 
  [mailto:Kevin.Spicer@bmrb.co.uk]<BR><B>Sent:</B> 28 June 2002 
  16:36<BR><B>To:</B> 'Ben Escoto'<BR><B>Cc:</B> 
  'rdiff-backup@keywest.stanford.edu'<BR><B>Subject:</B> RE: Problems building 
  0.9.2 on solaris 2.6 <BR><BR></FONT></DIV>
  <P><FONT size=2>I did install librsync-0.9.5.1, but only ended up with .a and 
  .la libraries.&nbsp; Any idea how I can force it to build shared 
  libs?</FONT></P>
  <P><FONT size=2>-----Original Message-----</FONT> <BR><FONT size=2>From: Ben 
  Escoto [<A 
  href="mailto:bescoto@stanford.edu">mailto:bescoto@stanford.edu</A>]</FONT> 
  <BR><FONT size=2>Sent: 28 June 2002 16:23</FONT> <BR><FONT size=2>To: Spicer, 
  Kevin; ambra</FONT> <BR><FONT size=2>Cc: 
  'rdiff-backup@keywest.Stanford.EDU'</FONT> <BR><FONT size=2>Subject: Re: 
  Problems building 0.9.2 on solaris 2.6 </FONT></P><BR><BR>
  <P><FONT size=2>Did you two install the librsync-0.9.5.1 package?&nbsp; Did it 
  build a</FONT> <BR><FONT size=2>share library (librsync.so and not just 
  librsync.a)?</FONT> </P><BR>
  <P><FONT size=2>--</FONT> <BR><FONT size=2>Ben Escoto</FONT> </P><BR>
  <P><FONT size=2>BMRB International </FONT><BR><FONT size=2><A 
  href="http://www.bmrb.co.uk" target=_blank>http://www.bmrb.co.uk</A> +44 (0)20 
  8566 5000 </FONT></P>
  <P><FONT size=2>____________________________________________________________ 
  </FONT><BR><FONT size=2>This message (and any attachment) is intended only for 
  the recipient and may contain confidential and/or privileged material. If you 
  have received this in error, please contact the sender and delete this message 
  immediately. Disclosure, copying or other action taken in respect of this 
  email or in reliance on it is prohibited. BMRB International Limited accepts 
  no liability in relation to any personal emails, or content of any email which 
  does not directly relate to our business.</FONT></P></BLOCKQUOTE></BODY></HTML>
<BR>
<BR>

<P><FONT SIZE=2 FACE="Arial">BMRB International </FONT></P>

<P><FONT SIZE=2 FACE="Arial">http://www.bmrb.co.uk +44 (0)20 8566 5000 </FONT></P>
<BR>

<P><FONT SIZE=2 FACE="Arial">____________________________________________________________ </FONT></P>

<P><FONT SIZE=2 FACE="Arial">This message (and any attachment) is intended only for the recipient and may contain confidential and/or privileged material. If you have received this in error, please contact the sender and delete this message immediately. Disclosure, copying or other action taken in respect of this email or in reliance on it is prohibited. BMRB International Limited accepts no liability in relation to any personal emails, or content of any email which does not directly relate to our business.</FONT></P>

------_=_NextPart_001_01C21F7D.8DA19E2C--