tech-pkg archive

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

python buildlink3.mk and lib/python2.?/config



Why do the python buildlink3.mk files include the line:

BUILDLINK_LIBDIRS.python2?+=    lib/python2.?/config

This has the effect that various python libraries are linked to the 
static version of libpython2.?.a found in 
/usr/pkg/lib/python2.?/config rather than the shared library found at 
/usr/pkg/lib/libpython2.6.so.


I tripped over this, as on ArchLinux any "import gconf" (from 
py26-gnome2) would segfault when site-packages/gtk-2.0/gconf.so was 
built via pkgsrc but not if built outside pkgsrc or with pkgsrc but 
the above line removed from python26/buildlink3.mk

cheers
mark


Home | Main Index | Thread Index | Old Index