Hi,
am 19. Oktober 2025 21:12:47 MESZ schrieb Rene Engelhard <[email protected]>:
>It turns out the librust_uno.so is not mentioned anywhere and
>ust_uno-example.uno.so links to it:
>
>rene@debianunstable:~/.config/libreofficedev/4/user/uno_packages/cache/uno_packages/lu2400418pq8j.tmp_/rust_uno-example.oxt$
> ldd rust_uno-example.uno.so
> linux-vdso.so.1 (0x00007f5ceb76e000)
> librust_uno.so => not found
> libuno_cppu.so.3 => /lib/x86_64-linux-gnu/libuno_cppu.so.3
> (0x00007f5ceb70d000)
>[...]
>rene@debianunstable:~/.config/libreofficedev/4/user/uno_packages/cache/uno_packages/lu2400418pq8j.tmp
>and indeed that one file is not installed into /program (see above) and not
>found when using the extension either. How is rust_uno-example.uno.so supposed
>to find
>librust_uno.so here? There sis no RPATH setting and nothing mentioned anywhere?
>
>After setting LD_LIBRARY_PATH accordingly (actually to make it easier copying
>librust_uno.so to /usr/lib/libreoffice/program and sticking a export
>LD_LIBRARY_PATH=/usr/lib/libreoffice/program:$LD_LIBRARY_PATH into soffice) it
>works. I can call that menu, get text contents in writer and the expected
>output on the console.
>Which is a viable workaround, but was probably never intended?
>
>Did I miss some setting? platform.components at least only mentions
>rust_uno-example.uno.so and adding another component fails because I don't
>know what to put in there and an empy one isn't liked :)
Found
<https://lists.freedesktop.org/archives/libreoffice/2012-January/024255.html>
Looks like related. I.e. an extension not finding a lib except when setting
LD_LIBRARY_PATH which as pointed out there is problematic since you don't know
where to...
Regards,
Rene