Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


Thank you very much lj! Your solution works very well!

Best regards

--
Cédric Radosavljevic

Le dim. 14 oct. 2018 à 01:57, lj <lj308@pobox.com> a écrit :

Here is the work-around I use in order to run LibreOffice 6.0.6 on my Linux
system which does not have Avahi. This fixes the problem with Draw and
Impress not starting. I have not tested it with 6.1 but it probably works.

1. Place the following single line in a file "libavahi-client.c":
int avahi_client_new(void) { return 0; }

2. Place the following single line in a file "libavahi-common.c":
int avahi_threaded_poll_new(void) { return 0; }

3. Compile the two files into shared libraries by typing the following at
shell prompts (or place them into a script or Makefile):

     gcc -c libavahi-client.c libavahi-common.c
     gcc -shared -o libavahi-client.so.3 libavahi-client.o
     gcc -shared -o libavahi-common.so.3 libavahi-common.o

4. Copy those 2 shared libraries into the LibreOffice program directory.
The path below is for 6.0.x installation using the downloads from the
LibreOffice site. Adapt it to your system as necessary. This probably needs
to be done as root (but there are alternatives such as using a different
directory and the LD_LIBRARY_PATH environment variable).
     cp libavahi-*.so.3 /opt/libreoffice6.0/program/

That's it. Draw and Impress should work fine now, with one exception: do
not try to use Impress remote control. That's the only thing that really
does
require Avahi.


--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems?
https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


-- 
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.