tag 563535 + patch thanks > Hi, > current python gst bindings don't work on kfreebsd, as the module > itself fail to import due to some messy symbols in shared object; > > ImportError: /usr/lib/python2.5/site-packages/gst-0.10/gst/_gst.so: undefined > symbol: libxml_xmlDocPtrWrap Please apply the attached patch. It has already been tested on a kfreebsd-i386 vm and seems to be working fine.
Ciao, Luca -- .''`. ** Debian GNU/Linux ** | Luca Bruno (kaeso) : :' : The Universal O.S. | lucab (AT) debian.org `. `'` | GPG Key ID: 3BFB9FB3 `- http://www.debian.org | Debian GNU/Linux Developer
--- gst/__init__.py~ 2010-01-23 11:23:57.000000000 +0100 +++ gst/__init__.py 2010-01-23 11:25:10.000000000 +0100 @@ -166,7 +166,7 @@ except ImportError: RTLD_LAZY = -1 import os osname = os.uname()[0] - if osname == 'Linux' or osname == 'SunOS' or osname == 'FreeBSD': + if osname == 'Linux' or osname == 'SunOS' or osname == 'FreeBSD' or osname == 'GNU/kFreeBSD': machinename = os.uname()[4] if machinename == 'mips' or machinename == 'mips64': RTLD_GLOBAL = 0x4
pgp9JwTCTbcW3.pgp
Description: PGP signature