[Libreoffice] Robert Nagy: Problems with your python library patch
robert at openbsd.org
Wed Apr 20 01:35:09 PDT 2011
On (2011-04-20 09:52), Andreas Becker wrote:
> my patch:
> your patch:
> > as far as i saw the reason to use an absolute path for linking instead of
> > using -lpythonX.XX is that at least debian does not ship a shared object
> > within
> > the basic python3 package so you have to install the -dev package
> Really not.
> The reason is, that the old version does not always work:
> For me, print(distutils.sysconfig.get_config_var('VERSION')); prints "3.2",
> but the library
> is libpython3.2mu.so.
> The absolute path in my patch is always the right one and I do not know any
> of an absolute path.
On some systems that will link to a *static* library. You changed something which
was not properly tested, so it got backed out, and i do not want to see someone linking
a .so with an absolute path.
If you want to make python3 work correctly then you have to find a way that will not
If it's needed you will have to add platform specific code, like
More information about the LibreOffice