On Wed, Jan 30, 2013 at 5:10 AM, Jan Nijtmans <jan.nijtm...@gmail.com>wrote:

> 2013/1/29 Stephan Beal <sgb...@googlemail.com>:
> > On Tue, Jan 29, 2013 at 9:00 AM, K. Fossil user
> > <ticketpersonnal-fos...@yahoo.fr> wrote:
> >> Latest stable release or dev release does not compile with option:
> >> --static
> > ...
> >  Like networking libs, it will produce warnings like:
> >
> > warning: Using 'dlopen' in statically linked applications requires at
> > runtime the shared libraries from the glibc version used for linking
>
>
> Those are only warnings, the executable should work fine. I tried it,
> and encountered 2 minor problems on Linux:
> - "strcmp" from the static C library cannot be used, it should be
>   replaced by "fossil_strcmp" everywhere. (that's a good idea
>   anyway, as strcmp is locale-dependant)
>

I don't think so.  Maybe you are thinking of strcasecmp().  strcmp() should
not be locale-dependent and it should not cause static linkage problems on
linux.  The Fossil server on the fossil website is statically linked and it
is running on Ubuntu - no problems at all.



> >Fossil's TCL support also appears to use dlopen()
> - The link flag "-ldl" is missing on Linux. That's the shared library
>   containing "dlopen",so - indeed - without it, Tcl support will not work.
>
>
> The first problem is fixed now on trunk, the second one should be easy
> to fix (for someone who understands the build system better
> than I do).
>
> Regards,
>         Jan Nijtmans
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>



-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to