Libreoffice Build Error
markus.mohrhard at googlemail.com
Mon Oct 16 00:31:16 UTC 2017
On Mon, Oct 9, 2017 at 6:22 AM, Ekansh Jha <jhaekansh80 at gmail.com> wrote:
> While building libreoffice after make command, I am getting an error.
> Please help me to fix it.
> 1. Making all in utils
> 2. libtool: link: gcc -O -Wl,-z -Wl,origin -Wl,-rpath -Wl,\$ORIGIN -o .
> libs/rapper rapper.o ../src/.libs/libraptor2.so
> 3. /usr/bin/ld: warning: libiconv.so.2, needed by
> //home/ekansh/anaconda3/lib/libxml2.so.2, not found (try using -rpath
> or -rpath-link)
> 4. //home/ekansh/anaconda3/lib/libxml2.so.2: undefined reference to
> 5. //home/ekansh/anaconda3/lib/libxml2.so.2: undefined reference to
> 6. //home/ekansh/anaconda3/lib/libxml2.so.2: undefined reference to
> 7. collect2: error: ld returned 1 exit status
> 8. Makefile:462: recipe for target 'rapper' failed
> 9. make: *** [rapper] Error 1
> 10. Makefile:455: recipe for target 'all-recursive' failed
> 11. make: *** [all-recursive] Error 1
> 12. /home/ekansh/libreoffice/external/redland/ExternalProject_raptor.mk
> :19: recipe for target '/home/ekansh/libreoffice/workdir/
> ExternalProject/raptor/build' failed
> 13. make: *** [/home/ekansh/libreoffice/workdir/ExternalProject/
> raptor/build] Error 1
> 14. make: *** Waiting for unfinished jobs....
> 15. Makefile:265: recipe for target 'build' failed
> 16. make: *** [build] Error 2
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
The reference to "/home/ekansh/anaconda3/lib/libxml2.so.2" looks
suspicious. This most likely means that you have a self-built libxml2 that
is used instead of the system libxml2 and the linker is not finding a
corresponding libiconv. I would suggest that at least in the beginning you
stick to system libraries or the LibreOffice included copies of libraries.
This normally helps to make it a smoother build experience and as soon as
you manage to get reliable builds you can still experiment with more
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LibreOffice