Hello, I would like to install the latest tinc software on a fedora 8 Linux box. I tried the rpm for FC3 from http://dag.wieers.com/rpm/packages/tinc/, and I got dependency errors complaining that libcrypto.so.4 is needed. I've got openssl rpm package installed which uses a different versino of libcrypto, and creating symbolic links won't solve the issue. Then I found this article http://www.linux.com/feature/131343 which says there is no tinc rpm available for FC8. My question is, is there a work around for the lib dependency issue using tinc rpm for FC3, or I better compile tinc source package on the FC8 box? I tried to compile the source package by running "./configure", but some libraries such as lzo are missing so it aborted. I am curious if there are more detailed compilation manual/example besides the README and INSTALL files. Thank you very much! Hanxi
A bit further details on this. When I try to compile the tinc 1.0.8 source by running './configure', it says: ... checking for compress2 in -lz... yes checking for lzo1x_1_compress in -llzo2... no checking for lzo1x_1_compress in -llzo... no configure: error: "lzo libraries not found." But I do have lzo-2.02-3.fc8 package installed and there is a file named "/usr/src/kernels/2.6.23.14-107.fc8-i686/include/linux/lzo.h" How do I make the ./configure script happy? :) Thank you! Hanxi At 11:36 AM 9/10/2008 -0400, you wrote:>Hello, > >I would like to install the latest tinc software on a >fedora 8 Linux box. I tried the rpm for FC3 from >http://dag.wieers.com/rpm/packages/tinc/, and I >got dependency errors complaining that libcrypto.so.4 >is needed. I've got openssl rpm package installed which >uses a different versino of libcrypto, and creating symbolic >links won't solve the issue. > >Then I found this article http://www.linux.com/feature/131343 >which says there is no tinc rpm available for FC8. > >My question is, is there a work around for the >lib dependency issue using tinc rpm for FC3, or I better >compile tinc source package on the FC8 box? I tried >to compile the source package by running "./configure", >but some libraries such as lzo are missing so it aborted. >I am curious if there are more detailed compilation manual/example >besides the README and INSTALL files. > >Thank you very much! > >Hanxi > > >_______________________________________________ >tinc mailing list >tinc at tinc-vpn.org >http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
On Wed, Sep 10, 2008 at 01:27:35PM -0400, Hanxi Zhang wrote:> checking for compress2 in -lz... yes > checking for lzo1x_1_compress in -llzo2... no > checking for lzo1x_1_compress in -llzo... no > configure: error: "lzo libraries not found." > > But I do have lzo-2.02-3.fc8 package installed > and there is a file named > "/usr/src/kernels/2.6.23.14-107.fc8-i686/include/linux/lzo.h" > > How do I make the ./configure script happy? :)The lzo.h in the /usr/src/kernels directory is a kernel specific header file, which is not used by normal programs. The lzo-2.02-3.fc8 package probably only contains the library, not its header files. Look for a file named lzo-dev-2.02-3.fc8 or lzo-2.02-3-dev.fc8 or something like that, you should install that to get the correct header files. -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus at tinc-vpn.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.tinc-vpn.org/pipermail/tinc/attachments/20080910/e72b69c0/attachment.pgp
Yes, I was able to get tinc to compile after simply running "yum install lzo-devel". Thank all for you kind helps! Regards Hanxi At 09:24 PM 9/10/2008 +0200, you wrote:>On Wed, Sep 10, 2008 at 01:27:35PM -0400, Hanxi Zhang wrote: > > > checking for compress2 in -lz... yes > > checking for lzo1x_1_compress in -llzo2... no > > checking for lzo1x_1_compress in -llzo... no > > configure: error: "lzo libraries not found." > > > > But I do have lzo-2.02-3.fc8 package installed > > and there is a file named > > "/usr/src/kernels/2.6.23.14-107.fc8-i686/include/linux/lzo.h" > > > > How do I make the ./configure script happy? :) > >The lzo.h in the /usr/src/kernels directory is a kernel specific header file, >which is not used by normal programs. The lzo-2.02-3.fc8 package probably only >contains the library, not its header files. Look for a file named >lzo-dev-2.02-3.fc8 or lzo-2.02-3-dev.fc8 or something like that, you should >install that to get the correct header files. > >-- >Met vriendelijke groet / with kind regards, > Guus Sliepen <guus at tinc-vpn.org> > >_______________________________________________ >tinc mailing list >tinc at tinc-vpn.org >http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc