libc, perl, python and nnrpd don't mix well
greg andruk
gja at meowing.net
Thu Jan 9 07:15:34 UTC 2003
Erik Klavon wrote:
>When --with-python is given to configure, one of the added arguments
>to gcc when linking is -pthread.
>
IIRC this flag is peculiar to the FreeBSD port of python. The link
stuff in INN had to be patched to accommodate that quirk.
> The gcc man page says under -pthread:
>"Link a user-threaded process against libc_r instead of libc."
>-pthread is needed for python. So it would seem that using both of
>these libraries at the same time is problematic; the solution is to
>dump the libc include at least whenever python is configured in.
>
Threading is basically useless in this application, so an alternate
workaround would be to skip the port and build the interpreter from the
standard kit (again IIRC, about all the FreeBSD port glue does is add
that flag).
More information about the inn-workers
mailing list