pkgsrc-Users archive

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

Re: ap2-python fails on Linux (2007Q3)



I was able to build this package w/ pkgsrc-2007Q4 like this, but only like this...

# bmake package LIBS='-L /usr/pkg/lib -Wl,-R/usr/pkg/lib'

... without defining LIBS here, I have the same issue as below...

Not sure how to fix this one in pkgsrc.

Louis

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



Home | Main Index | Thread Index | Old Index