03-14-2013, 01:48 PM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Feb 2013
Location: Campinas, SP - Brazil
Device: android
|
Sigil build on Linux
Hi, I made the sigil build on Ubuntu 12.10 as the Running from source instructions (https://code.google.com/p/sigil/wiki/RunningFromSource)
But when I execute "make" the following error mensagem are showed: Code:
Linking CXX executable ../../bin/sigil ../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNUTranscoder::~IconvGNUTranscoder()': IconvGNUTransService.cpp:(.text+0xcb): referência indefinida para `libiconv_close' IconvGNUTransService.cpp:(.text+0xe2): referência indefinida para `libiconv_close' ../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNUTransService::~IconvGNUTransService()': IconvGNUTransService.cpp:(.text+0x17b): referência indefinida para `libiconv_close' IconvGNUTransService.cpp:(.text+0x192): referência indefinida para `libiconv_close' ../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNUTranscoder::~IconvGNUTranscoder()': IconvGNUTransService.cpp:(.text+0x3b3): referência indefinida para `libiconv_close' ../../lib/libXerces.a(IconvGNUTransService.cpp.o):IconvGNUTransService.cpp:(.text+0x3ca): mais referências indefinidas para seguir `libiconv_close' ../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNULCPTranscoder::calcRequiredSize(char const*, xercesc_3_1::MemoryManager*)': IconvGNUTransService.cpp:(.text+0x5b7): referência indefinida para `libiconv' ../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNUWrapper::toUpper(unsigned short)': IconvGNUTransService.cpp:(.text+0x8c8): referência indefinida para `libiconv' IconvGNUTransService.cpp:(.text+0x922): referência indefinida para `libiconv' ../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNUWrapper::toLower(unsigned short)': IconvGNUTransService.cpp:(.text+0xcb8): referência indefinida para `libiconv' IconvGNUTransService.cpp:(.text+0xd12): referência indefinida para `libiconv' ../../lib/libXerces.a(IconvGNUTransService.cpp.o):IconvGNUTransService.cpp:(.text+0x1224): mais referências indefinidas para seguir `libiconv' ../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNUTransService::IconvGNUTransService(xercesc_3_1::MemoryManager*)': IconvGNUTransService.cpp:(.text+0x13e4): referência indefinida para `libiconv_open' IconvGNUTransService.cpp:(.text+0x13f8): referência indefinida para `libiconv_open' IconvGNUTransService.cpp:(.text+0x14f3): referência indefinida para `libiconv_open' IconvGNUTransService.cpp:(.text+0x1507): referência indefinida para `libiconv_open' IconvGNUTransService.cpp:(.text+0x154d): referência indefinida para `libiconv_close' IconvGNUTransService.cpp:(.text+0x159c): referência indefinida para `libiconv_close' ../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNUTranscoder::transcodeTo(unsigned short const*, unsigned long, unsigned char*, unsigned long, unsigned long&, xercesc_3_1::XMLTranscoder::UnRepOpts)': IconvGNUTransService.cpp:(.text+0x1846): referência indefinida para `libiconv' ../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNUTranscoder::transcodeFrom(unsigned char const*, unsigned long, unsigned short*, unsigned long, unsigned long&, unsigned char*)': IconvGNUTransService.cpp:(.text+0x1b2f): referência indefinida para `libiconv' ../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNULCPTranscoder::transcode(char const*, unsigned short*, unsigned long, xercesc_3_1::MemoryManager*)': IconvGNUTransService.cpp:(.text+0x1e4d): referência indefinida para `libiconv' ../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNULCPTranscoder::transcode(char const*, xercesc_3_1::MemoryManager*)': IconvGNUTransService.cpp:(.text+0x206d): referência indefinida para `libiconv' ../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNULCPTranscoder::transcode(unsigned short const*, char*, unsigned long, xercesc_3_1::MemoryManager*)': IconvGNUTransService.cpp:(.text+0x2319): referência indefinida para `libiconv' ../../lib/libXerces.a(IconvGNUTransService.cpp.o):IconvGNUTransService.cpp:(.text+0x258f): mais referências indefinidas para seguir `libiconv' ../../lib/libXerces.a(IconvGNUTransService.cpp.o): na função `xercesc_3_1::IconvGNUTransService::makeNewXMLTranscoder(unsigned short const*, xercesc_3_1::XMLTransService::Codes&, unsigned long, xercesc_3_1::MemoryManager*)': IconvGNUTransService.cpp:(.text+0x2a09): referência indefinida para `libiconv_open' IconvGNUTransService.cpp:(.text+0x2a22): referência indefinida para `libiconv_open' IconvGNUTransService.cpp:(.text+0x2b2c): referência indefinida para `libiconv_close' collect2: error: ld returned 1 exit status make[2]: ** [bin/sigil] Erro 1 make[1]: ** [src/Sigil/CMakeFiles/sigil.dir/all] Erro 2 make: ** [all] Erro 2 |
03-16-2013, 11:59 AM | #2 |
Guru
Posts: 696
Karma: 150000
Join Date: Feb 2010
Device: none
|
My Portugese is a bit limited , but it looks like maybe the linker can't find some of the shared libraries it needs. Did you install Qt5? And were there any errors or warnings from cmake?
Hopefully someone more knowledgable will chime in. Albert |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using AutoHotKey to test/build Sigil | Halo | Sigil | 3 | 08-15-2011 10:36 AM |
Speakin' of weird: Linux build eating accented chars. | Hitch | Sigil | 2 | 12-17-2010 01:24 PM |
Calibre 0.6.40 source - segfault after successful build on Linux | Megatron-UK | Calibre | 7 | 02-20-2010 04:29 AM |
Calibre will build but won't install on bluewhite64 linux distro | angevin | Calibre | 5 | 10-18-2008 10:20 PM |
I can't get calibre to build/install on 64 bit linux | angevin | Calibre | 8 | 10-08-2008 04:10 PM |