On Sat, Jun 02, 2012 at 02:16:52AM +0100, Jacek Cała wrote: > Thank you for the hint but it doesn't help. This time I get with my binary: > > FATAL: kernel too old > Segmentation fault
I think it's about the linux headers glibc is built with. Those determine the syscalls that will be issued by the program. You'd need a glibc built with older linux headers, and build fossil with it, if you target those old kernels. I don't know how back-compatible are linux-headers, but glibc can be built with "--enable-kernel=2.6.0" or "--enable-kernel=2.4.0", something like that. Maybe only that already determines what syscalls glibc will use. In any case, this means to build a new glibc. Regards, Lluís. > 2012/6/2 Richard Hipp <[email protected]>: > > > > > > On Fri, Jun 1, 2012 at 8:34 PM, Jacek Cała <[email protected]> wrote: > >> > >> Hi, > >> > >> I built fossil on Ubuntu with a standard configuration (./configure; > >> make) but when moved and ran the binary on fedora it complained that > >> there's no libssl.so.1.0.0. Indeed, on the fedora is no > >> libssl.so.1.0.0 but libssl.so. > >> > >> When I turned off the ssl support (./configure --with-ssl=none; make) > >> and rebuilt, it complained on fedora about missing versions of glibc: > >> > >> /lib/libc.so.6: version `GLIBC_2.7' not found > >> /lib/libc.so.6: version `GLIBC_2.15' not found > > > > > > Try: > > > > ./configure --with-ssl=none --static; make > > > > Then run "strip fossil" when done. > > > >> > >> > >> What is the trick to build a portable binary like the one officially > >> available on the website? > >> > >> Also, I noticed that my binary is over 3.5MB whereas the official one > >> takes only 1.6MB. Any hints appreciated. > >> > >> Cheers, > >> Jacek > >> _______________________________________________ > >> fossil-users mailing list > >> [email protected] > >> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > > > > > > > > > -- > > D. Richard Hipp > > [email protected] > > > > _______________________________________________ > > fossil-users mailing list > > [email protected] > > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > > _______________________________________________ > fossil-users mailing list > [email protected] > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

