tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: www/ap2-python unusable



On Wed, May 21, 2014 at 12:51:19PM +0200, Martin Husemann wrote:
> When building www/ap2-python form pkgsrc-current on NetBSD 6.1 the resulting
> module is not loadable:
> 
> $ ldd /usr/pkg/lib/httpd/mod_python.so
> /usr/pkg/lib/httpd/mod_python.so:
>         -lpython2.7.1.0 => not found
>         -lpthread.1 => /usr/lib/libpthread.so.1
>         -lgcc_s.1 => /usr/lib/libgcc_s.so.1
>         -lc.12 => /usr/lib/libc.so.12
>         -lutil.7 => /usr/lib/libutil.so.7
> 
> 
> The wrapper mangles the link line and moves -Wl,-R/usr/pkg/lib to the end,
> behind the -lpython2.7.

rpath flags are not positional relative to -l flags. Which constellation
are talking about exactly, since e.g. ap22-py27-python-3.5.0 is
certainly missing the rpath on the Apache module.

Joerg


Home | Main Index | Thread Index | Old Index