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


Hey,

On Mon, Oct 9, 2017 at 6:22 AM, Ekansh Jha <jhaekansh80@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
   `libiconv'
   5. //home/ekansh/anaconda3/lib/libxml2.so.2: undefined reference to
   `libiconv_close'
   6. //home/ekansh/anaconda3/lib/libxml2.so.2: undefined reference to
   `libiconv_open'
   7. collect2: error: ld returned 1 exit status
   8. Makefile:462: recipe for target 'rapper' failed
   9. make[3]: *** [rapper] Error 1
   10. Makefile:455: recipe for target 'all-recursive' failed
   11. make[2]: *** [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[1]: *** [/home/ekansh/libreoffice/workdir/ExternalProject/
   raptor/build] Error 1
   14. make[1]: *** Waiting for unfinished jobs....
   15. Makefile:265: recipe for target 'build' failed
   16. make: *** [build] Error 2


_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


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
complicated setups.

Regards,
Markus

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.