[Csync2] Re: Building csync2-1.29 on Fedora Core

Michael Mansour mic at npgx.com.au
Mon Jan 16 22:47:19 CET 2006


Hi Mathias,

> >> Just so you know, I also manually applied the changes in the patch below to
> >> configure.ac file, then ran the autogen.sh to recreate the configure script,
> >> and it still gave the same problem:
> >> [...]
> 
> >in this case I can't reproduce the problem. please debug it on your own and
> >report back the solution.
> 
> >> Note that I'm using SL42 (RHEL4 Update 2) for this.
> 
> >Note that this distribution is obviously broken.
> 
> I ran into the same problem on RHEL4, the problem seem to be with the
> packaging in Red Hat:
> 
> I noticed these differences:
> 
> Debian 3.1:
> $ ldd /usr/lib/libgnutls-openssl.so.11
>                 libgnutls.so.11 => /usr/lib/libgnutls.so.11 
> (0x4001a000)        libtasn1.so.2 => /usr/lib/libtasn1.so.2 
> (0x40082000)        libz.so.1 => /usr/lib/libz.so.1 (0x40092000)     
>    libc.so.6 => /lib/tls/libc.so.6 (0x400a4000)        
> libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0x401d9000)       
>  libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x40226000)        
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)        
> libnsl.so.1 => /lib/tls/libnsl.so.1 (0x4022a000)
> 
> RHEL4:
> $ ldd /usr/lib/libgnutls-openssl.so.11
>         libgnutls.so.11 => /usr/lib/libgnutls.so.11 (0x00a23000)
>         libz.so.1 => /usr/lib/libz.so.1 (0x00e5c000)
>         libc.so.6 => /lib/tls/libc.so.6 (0x00358000)
>         libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0x00111000)
>         libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x001f0000)
>         /lib/ld-linux.so.2 (0x0016d000)
>         libnsl.so.1 => /lib/libnsl.so.1 (0x005b9000)
> 
> Notice the missing tasn1 library - this library does not seem to be
> available in the RHEL4 distribution. I compiled tasn1 (from
> ftp://ftp.gnutls.org/pub/gnutls/libtasn1/) and installed it in
> /usr/local. This made it possible to compile the binary with 
> Clifford's configure.ac patch applied:
> 
> RHEL4:
> $ ldd ./csync2
>         libgnutls-openssl.so.11 => /usr/lib/libgnutls-openssl.so.11 
> (0x0091d000)        libz.so.1 => /usr/lib/libz.so.1 (0x003ca000)     
>    libgnutls.so.11 => /usr/lib/libgnutls.so.11 (0x00334000)        
> libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0x009e2000)       
>  libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x009dc000)        
> libtasn1.so.2 => /usr/local/lib/libtasn1.so.2 (0x003ec000)       
>  libc.so.6 => /lib/tls/libc.so.6 (0x00186000)        libnsl.so.1 => 
> /lib/libnsl.so.1 (0x00622000)        /lib/ld-linux.so.2 (0x0016d000)
> 
> Regards,
> Mathias

This is very good (and bad) news Mathias, good in the fact that we know what's
wrong and how to fix it, but bad in the fact that RH does seem to have this
bit broken.

I will try this myself sometime this week and build an RPM out of it. Thanks
for the tip.

Michael.



More information about the Csync2 mailing list