pkgsrc-Users archive

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

ap2-python fails on Linux (2007Q3)



Hi,

I'm stuck with 2007Q3 for a few more weeks and really need to get mod_python going in the mean time. Here's how it fails, looking for libdb4.a, which is in /usr/pkg/lib....

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
.
*** Error code 1


... There is db4 in the base system (RedHat Linux) but shouldn't pkgsrc do the right thing since databases/db4 is depended by lang/python24?

Louis



Home | Main Index | Thread Index | Old Index