-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
extrapath for LO on OpenBSD #8
Comments
Can you please try the current master branch ? Your patch adds /usr/local/lib/libreoffice, instead of /usr/local/libreoffice, please confirm this is intentional. If so, I will need to add it to the new code as well. Thanks for your help ! |
I'll try but now I can just say the path is correct. http://www.openbsd.org/cgi-bin/cvsweb/ports/editors/libreoffice/pkg/PLIST-main?rev=1.18 |
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/libreoffice/ure/lib:/usr/local/lib/libreoffice/basis3.4/program $ pkg_info libreoffice | head -n1 $ python2.7 ./unoconv --stdout -f txt tests/document-example.odt $ pkg_info -L libreoffice | grep 'ure/lib/uno' $ pkg_info -L libreoffice | grep 'pyuno.so' If I can provide more info please let me know. Thank you for help. |
Can you please try again with the latest code ? You can now also influence unoconv by setting the UNO_PATH variable to point to your LibreOffice installation, eg.
|
should i build python with debug symbols? is this core dump unoconv or python bug? |
Thanks jirib. The core dump seems to be Python :-/ Normally setting LD_LIBRARY_PATH should not be necessary, as unoconv sets the LD_LIBRARY_PATH itself. If you like to play around with the implementation, feel free to look at that in the unoconv script. It is essential for UNO that the library path is added to the front of the list before running soffice. Which does not work from the shell. Also, you can use the -v option to see whether unoconv is swapping the python binary. It should state it does. Especially if you have another LibreOffice/OpenOffice installed on the system in one of the default library paths, this might be the issue of the core-dump as you'd be mixing two incompatible codebases :-/ I know, this is all quite messy :-( |
Since recently you can new specify what LibreOffice/OpenOffice installation you want unoconv to use, use the UNO_PATH environment to point to your LibreOffice/OpenOffice location. I hope this fixes your problem ! |
Hello, I will try your tip. Thank you. |
Closing this issue. If the issue is not fixed with the current version in Github, feel free to reopen the issue. |
hello,
LO on OpenBSD uses different path, so here's patch:
The text was updated successfully, but these errors were encountered: