You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Arrigo Marchiori <ar...@yahoo.it.INVALID> on 2020/11/21 19:51:01 UTC

How to cope with Python module putting .so files into lib64 instead of lib?

Dear List,

I am going forward in building OpenOffice on openSUSE Leap 15.2.

I am encountering problems with the pyuno modules and I think they may
be due to an incomplete installation of the "python" module.

Just to clarify: I am not talking about my system Python, but rather
the "python" module from AOO sources directory main/python.

openSUSE has a long tradition of putting 64-bit libraries in
/usr/lib64 and, on my system, the Python version compiled as "python"
module is doing the same:

$ find path/main/python/unxlngx6.pro -name libpython*.so*
path/main/python/unxlngx6.pro/misc/build/Python-2.7.18/libpython2.7.so
path/main/python/unxlngx6.pro/misc/build/Python-2.7.18/libpython2.7.so.1.0
path/main/python/unxlngx6.pro/misc/build/python-inst/lib64/libpython2.7.so
path/main/python/unxlngx6.pro/misc/build/python-inst/lib64/libpython2.7.so.1.0

However, file path/main/python/prj/d.lst seem to explicitly look for
files in "lib" rather than "lib64":

[line 86]
..\%__SRC%\misc\build\python-inst\lib\libpython2.7.so.1.0 %_DEST%\lib%_EXT%\libpython2.7.so.1.0
                                 ^^^^^

Can anyone please confirm that it is possible to carry out a 64-bit
build on a 64-bit Linux system that keeps its 64-bit libraries in
/lib64 ?

Or has anyone ever addressed this kind of problem in the OpenOffice
build system?

Thank you in advance!
-- 
rigo

http://rigo.altervista.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: How to cope with Python module putting .so files into lib64 instead of lib?

Posted by Peter Kovacs <pe...@apache.org>.
I think we can only try to build and install on many distributions.

If it is only a folder change I think it should be save. At least Arch 
/usr/lib is only a softlink to /usr/lib64


On 07.12.20 08:30, Arrigo Marchiori wrote:

> Dear List,
>
> I think I am close to a possible solution to this problem, that I will
> propose as a pull request on GitHub once it will be ready.
>
> I would like to make sure that Python and the pyuno modules are built
> correctly and that they work as expected in my test builds. Can
> someone please suggest me how to check them?
>
> Thank you in advance and best regards.
>
> On Sat, Nov 21, 2020 at 08:51:02PM +0100, Arrigo Marchiori wrote:
>
>> Dear List,
>>
>> I am going forward in building OpenOffice on openSUSE Leap 15.2.
>>
>> I am encountering problems with the pyuno modules and I think they may
>> be due to an incomplete installation of the "python" module.
>>
>> Just to clarify: I am not talking about my system Python, but rather
>> the "python" module from AOO sources directory main/python.
>>
>> openSUSE has a long tradition of putting 64-bit libraries in
>> /usr/lib64 and, on my system, the Python version compiled as "python"
>> module is doing the same:
>>
>> $ find path/main/python/unxlngx6.pro -name libpython*.so*
>> path/main/python/unxlngx6.pro/misc/build/Python-2.7.18/libpython2.7.so
>> path/main/python/unxlngx6.pro/misc/build/Python-2.7.18/libpython2.7.so.1.0
>> path/main/python/unxlngx6.pro/misc/build/python-inst/lib64/libpython2.7.so
>> path/main/python/unxlngx6.pro/misc/build/python-inst/lib64/libpython2.7.so.1.0
>>
>> However, file path/main/python/prj/d.lst seem to explicitly look for
>> files in "lib" rather than "lib64":
>>
>> [line 86]
>> ..\%__SRC%\misc\build\python-inst\lib\libpython2.7.so.1.0 %_DEST%\lib%_EXT%\libpython2.7.so.1.0
>>                                   ^^^^^
>>
>> Can anyone please confirm that it is possible to carry out a 64-bit
>> build on a 64-bit Linux system that keeps its 64-bit libraries in
>> /lib64 ?
>>
>> Or has anyone ever addressed this kind of problem in the OpenOffice
>> build system?
>>
>> Thank you in advance!
>> -- 
>> rigo
>>
>> http://rigo.altervista.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: How to cope with Python module putting .so files into lib64 instead of lib?

Posted by Arrigo Marchiori <ar...@yahoo.it.INVALID>.
Dear List,

I think I am close to a possible solution to this problem, that I will
propose as a pull request on GitHub once it will be ready.

I would like to make sure that Python and the pyuno modules are built
correctly and that they work as expected in my test builds. Can
someone please suggest me how to check them?

Thank you in advance and best regards.

On Sat, Nov 21, 2020 at 08:51:02PM +0100, Arrigo Marchiori wrote:

> Dear List,
> 
> I am going forward in building OpenOffice on openSUSE Leap 15.2.
> 
> I am encountering problems with the pyuno modules and I think they may
> be due to an incomplete installation of the "python" module.
> 
> Just to clarify: I am not talking about my system Python, but rather
> the "python" module from AOO sources directory main/python.
> 
> openSUSE has a long tradition of putting 64-bit libraries in
> /usr/lib64 and, on my system, the Python version compiled as "python"
> module is doing the same:
> 
> $ find path/main/python/unxlngx6.pro -name libpython*.so*
> path/main/python/unxlngx6.pro/misc/build/Python-2.7.18/libpython2.7.so
> path/main/python/unxlngx6.pro/misc/build/Python-2.7.18/libpython2.7.so.1.0
> path/main/python/unxlngx6.pro/misc/build/python-inst/lib64/libpython2.7.so
> path/main/python/unxlngx6.pro/misc/build/python-inst/lib64/libpython2.7.so.1.0
> 
> However, file path/main/python/prj/d.lst seem to explicitly look for
> files in "lib" rather than "lib64":
> 
> [line 86]
> ..\%__SRC%\misc\build\python-inst\lib\libpython2.7.so.1.0 %_DEST%\lib%_EXT%\libpython2.7.so.1.0
>                                  ^^^^^
> 
> Can anyone please confirm that it is possible to carry out a 64-bit
> build on a 64-bit Linux system that keeps its 64-bit libraries in
> /lib64 ?
> 
> Or has anyone ever addressed this kind of problem in the OpenOffice
> build system?
> 
> Thank you in advance!
> -- 
> rigo
> 
> http://rigo.altervista.org

-- 
rigo

http://rigo.altervista.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org