tech-pkg archive

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

www/ap2-python unusable



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.

Martin


Home | Main Index | Thread Index | Old Index