pkgsrc-Users archive

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

Re: mod_python on Linux



On 2/25/08, Louis Guillaume <lguillaume%berklee.edu@localhost> wrote:
> Hi!
>
> Sorry for reposting, but I'm hitting a wall with this.
>
> www/ap2-python refuses to build on Linux (redhat), pkgsrc-2007Q4
>
> Please let me know if I can provide more information.
>
> Here is the failure...
>
> libtool --silent --mode=link gcc -o mod_python.la -rpath
> /usr/pkg/lib/httpd -module -avoid-version hlistobject.lo hlist.lo
> filterobject.lo connobject.lo serverobject.lo util.lo tableobject.lo
> requestobject.lo _apachemodule.lo mod_python.lo
> -L/usr/pkg/lib/python2.4/config -Wl,-R/usr/pkg/lib/python2.4/config
> -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Xlinker
> -export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib
> -Wl,-R/usr/pkg/lib -lm /usr/pkg/lib/python2.4/config/libpython2.4.a
> -lpthread -ldl -ldb4 -lutil -lm
>
> *** Warning: Linking the shared library mod_python.la against the
> *** static library /usr/pkg/lib/python2.4/config/libpython2.4.a is not
> portable!
> /usr/bin/ld: cannot find -ldb4
> collect2: ld returned 1 exit status
> apxs:Error: Command failed with rc=65536
>

Hmm, tested ap2-python (from stock 2007Q4) on my machines, compiles
flawless here.

Tested on Linux 2.6.21 (Glibc 2.5) and Linux 2.6.23 (Glibc 2.6.1).


Home | Main Index | Thread Index | Old Index