Re: OpenSSL upgraded to 3.0.13

2024-04-06 Thread Damjan Jovanovic
On Sat, Apr 6, 2024 at 9:30 PM Pedro Lino 
wrote:

> Hi Damjan
>
> > On 04/06/2024 4:08 PM WEST Damjan Jovanovic  wrote:
>
> > openoffice-maps.txt was for the shell script that launches AOO, and
> > openoffice-maps2.txt was for AOO itself.
>
> I'm glad I sent both :)
>
> > In openoffice-maps2.txt I don't see libucpdav1.so (the WebDAV component)
> in
> > memory at all, which is highly unusual.
> >
> > Please find libucpdav1.so in your AOO installation, probably under
> > /opt/openoffice4/programs, and then run these:
> > ldd libucpdav1.so
> > readelf -d libucpdav1.so
> > and post the output.
>
> Thank you again for your patience and instructions!
> Please find two files attached
>
>
This:
libssl.so.3 => not found
libcrypto.so.3 => not found
is a serious problem.

Something has managed to link to OpenSSL dynamically instead of statically,
causing a hard dependency on the underlying Linux distro to have OpenSSL 3.

Since your older Linux doesn't have OpenSSL 3 yet, modules that need it,
can't even load.

And having installed that Linux nightly build myself, here is the culprit:

---snip---
$ readelf -d libcurl.so.4

Dynamic section at offset 0x72d40 contains 30 entries:
  TagType Name/Value
 0x0001 (NEEDED) Shared library: [libidn2.so.0]


* 0x0001 (NEEDED) Shared library:
[libssl.so.3] 0x0001 (NEEDED) Shared library:
[libcrypto.so.3]* 0x0001 (NEEDED) Shared library:
[libz.so.1]
 0x0001 (NEEDED) Shared library: [libpthread.so.0]
 0x0001 (NEEDED) Shared library: [libc.so.6]
 0x000e (SONAME) Library soname: [libcurl.so.4]
---snip---

Curl has started linking to OpenSSL dynamically instead of statically,
probably a result of our recent OpenSSL upgrade, and thus became dependent
on the Linux distribution having OpenSSL 3.

Let me investigate where Curl goes wrong...

Regards
Damjan


Re: OpenSSL upgraded to 3.0.13

2024-04-06 Thread Pedro Lino
Hi Damjan

> On 04/06/2024 4:08 PM WEST Damjan Jovanovic  wrote:

> openoffice-maps.txt was for the shell script that launches AOO, and
> openoffice-maps2.txt was for AOO itself.

I'm glad I sent both :)
 
> In openoffice-maps2.txt I don't see libucpdav1.so (the WebDAV component) in
> memory at all, which is highly unusual.
> 
> Please find libucpdav1.so in your AOO installation, probably under
> /opt/openoffice4/programs, and then run these:
> ldd libucpdav1.so
> readelf -d libucpdav1.so
> and post the output.

Thank you again for your patience and instructions!
Please find two files attached

Best,
Pedrolinux-vdso.so.1 (0x7ffd50aee000)
libcomphelpgcc3.so => /opt/openoffice4/program/./libcomphelpgcc3.so 
(0x7f28e59c7000)
libuno_cppuhelpergcc3.so.3 => 
/opt/openoffice4/program/./libuno_cppuhelpergcc3.so.3 (0x7f28e5724000)
libuno_cppu.so.3 => /opt/openoffice4/program/./libuno_cppu.so.3 
(0x7f28e54df000)
libuno_sal.so.3 => /opt/openoffice4/program/./libuno_sal.so.3 
(0x7f28e50e6000)
libuno_salhelpergcc3.so.3 => 
/opt/openoffice4/program/./libuno_salhelpergcc3.so.3 (0x7f28e4ee1000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 
(0x7f28e4cee000)
libucbhelpergcc3.so => /opt/openoffice4/program/./libucbhelpergcc3.so 
(0x7f28e4a87000)
libcurl.so.4 => /opt/openoffice4/program/./libcurl.so.4 
(0x7f28e4813000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x7f28e47f)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7f28e46a1000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f28e44af000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
(0x7f28e4494000)
libvos3gcc3.so => /opt/openoffice4/program/./libvos3gcc3.so 
(0x7f28e4271000)
libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 
(0x7f28e4236000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7f28e423)
/lib64/ld-linux-x86-64.so.2 (0x7f28e6426000)
libidn2.so.0 => /lib/x86_64-linux-gnu/libidn2.so.0 (0x7f28e420f000)
libssl.so.3 => not found
libcrypto.so.3 => not found
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x7f28e41f1000)
libunistring.so.2 => /lib/x86_64-linux-gnu/libunistring.so.2 
(0x7f28e406f000)

Dynamic section at offset 0x52f8a8 contains 37 entries:
  TagType Name/Value
 0x0001 (NEEDED) Shared library: [libcomphelpgcc3.so]
 0x0001 (NEEDED) Shared library: 
[libuno_cppuhelpergcc3.so.3]
 0x0001 (NEEDED) Shared library: [libuno_cppu.so.3]
 0x0001 (NEEDED) Shared library: [libuno_sal.so.3]
 0x0001 (NEEDED) Shared library: 
[libuno_salhelpergcc3.so.3]
 0x0001 (NEEDED) Shared library: [libstdc++.so.6]
 0x0001 (NEEDED) Shared library: [libucbhelpergcc3.so]
 0x0001 (NEEDED) Shared library: [libcurl.so.4]
 0x0001 (NEEDED) Shared library: [libpthread.so.0]
 0x0001 (NEEDED) Shared library: [libm.so.6]
 0x0001 (NEEDED) Shared library: [libc.so.6]
 0x0001 (NEEDED) Shared library: [libgcc_s.so.1]
 0x001d (RUNPATH)Library runpath: 
[$ORIGIN:$ORIGIN/../ure-link/lib]
 0x000c (INIT)   0xeda68
 0x000d (FINI)   0x3e6c10
 0x0019 (INIT_ARRAY) 0x6d1630
 0x001b (INIT_ARRAYSZ)   40 (bytes)
 0x001a (FINI_ARRAY) 0x6d1658
 0x001c (FINI_ARRAYSZ)   8 (bytes)
 0x0004 (HASH)   0x1f0
 0x6ef5 (GNU_HASH)   0xa0f8
 0x0005 (STRTAB) 0x45400
 0x0006 (SYMTAB) 0x15970
 0x000a (STRSZ)  192227 (bytes)
 0x000b (SYMENT) 24 (bytes)
 0x0003 (PLTGOT) 0x73
 0x0002 (PLTRELSZ)   7920 (bytes)
 0x0014 (PLTREL) RELA
 0x0017 (JMPREL) 0xebb78
 0x0007 (RELA)   0x78450
 0x0008 (RELASZ) 472872 (bytes)
 0x0009 (RELAENT)24 (bytes)
 0x6ffe (VERNEED)0x78270
 0x6fff (VERNEEDNUM) 9
 0x6ff0 (VERSYM) 0x742e4
 0x6ff9 (RELACOUNT)  18571
 0x (NULL)   0x0

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

Re: OpenSSL upgraded to 3.0.13

2024-04-06 Thread Damjan Jovanovic
On Sat, Apr 6, 2024 at 2:30 PM Pedro Lino 
wrote:

> Hi Damjan
>
> > After trying a WebDav connection, find the process ID (PID) of
> OpenOffice,
> > copy /proc/PID/maps somewhere (eg. for PID 1234, run "cp /proc/1234/maps
> > ~/openoffice-maps.txt") and attach that copy, so we can see what
> libraries
> > are loaded.
>
> Two files attached: maps.txt is the map for soffice and maps2.txt is the
> map for soffice.bin
>
>
Thank you.

openoffice-maps.txt was for the shell script that launches AOO, and
openoffice-maps2.txt was for AOO itself.

In openoffice-maps2.txt I don't see libucpdav1.so (the WebDAV component) in
memory at all, which is highly unusual.

Please find libucpdav1.so in your AOO installation, probably under
/opt/openoffice4/programs, and then run these:
ldd libucpdav1.so
readelf -d libucpdav1.so
and post the output.

Regards
Damjan