09-05-2010, 02:18 PM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: Sep 2010
Device: IPhone
|
Missing GLIBCXX_3.4.11 on Ubuntu 9.04
I installed the pre-compiled binary and get the following,
Code:
/opt/sigil/sigil: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /opt/sigil/sigil) Code:
$ strings /usr/lib64/libstdc++.so.6 | grep GLIBCXX GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.3 GLIBCXX_3.4.4 GLIBCXX_3.4.5 GLIBCXX_3.4.6 GLIBCXX_3.4.7 GLIBCXX_3.4.8 GLIBCXX_3.4.9 GLIBCXX_3.4.10 GLIBCXX_FORCE_NEW GLIBCXX_DEBUG_MESSAGE_LENGTH I tried to compile from source but can't get cmake to work, it keeps telling me I am doing it from the wrong directory... the source is in ~/src/Sigil-0.2.5-Code and I'm running from ~/src/SigilCompile with the command, Code:
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ~/src/Sigil-0.2.4-Code Any other ideas? Last edited by Jellby; 09-06-2010 at 05:49 AM. Reason: Fixed typo in title |
09-05-2010, 03:23 PM | #2 | ||
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
Here it is again, just in case: Quote:
|
||
Advert | |
|
09-05-2010, 10:28 PM | #3 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Sep 2010
Device: IPhone
|
Quote:
Code:
~src$ unzip Sigil-0.2.4-Code ~src$ cd Sigil-0.2.4-Code ~/src/Sigil-0.2.4-Code$ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ~/src/Sigil-0.2.4-Code ~/src/Sigil-0.2.4-Code$ make Code:
[ 58%] Building CXX object src/Sigil/CMakeFiles/sigil.dir/main.cpp.o /home/mwtheobald/src/Sigil-0.2.4-Code/src/Sigil/main.cpp: In function ‘int main(int, char**)’: /home/mwtheobald/src/Sigil-0.2.4-Code/src/Sigil/main.cpp:144: warning: format not a string literal and no format arguments [ 58%] Building CXX object src/Sigil/CMakeFiles/sigil.dir/Tabs/TabManager.cpp.o /home/mwtheobald/src/Sigil-0.2.4-Code/src/Sigil/Tabs/TabManager.cpp: In member function ‘void TabManager::EmitTabChanged()’: /home/mwtheobald/src/Sigil-0.2.4-Code/src/Sigil/Tabs/TabManager.cpp:142: error: ‘class QWeakPointer<ContentTab>’ has no member named ‘data’ /home/mwtheobald/src/Sigil-0.2.4-Code/src/Sigil/Tabs/TabManager.cpp:144: error: no matching function for call to ‘QWeakPointer<ContentTab>::QWeakPointer(ContentTab*&)’ /usr/include/qt4/QtCore/qsharedpointer_impl.h:359: note: candidates are: QWeakPointer<T>::QWeakPointer(const QSharedPointer<X>&) [with T = ContentTab] /usr/include/qt4/QtCore/qsharedpointer_impl.h:351: note: QWeakPointer<T>::QWeakPointer(const QWeakPointer<T>&) [with T = ContentTab] /usr/include/qt4/QtCore/qsharedpointer_impl.h:349: note: QWeakPointer<T>::QWeakPointer() [with T = ContentTab] make[2]: *** [src/Sigil/CMakeFiles/sigil.dir/Tabs/TabManager.cpp.o] Error 1 make[1]: *** [src/Sigil/CMakeFiles/sigil.dir/all] Error 2 make: *** [all] Error 2 Last edited by Skitzman69; 09-05-2010 at 10:48 PM. Reason: Repo version didn't work either. |
|
09-06-2010, 09:09 AM | #4 | ||||
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
The BuildingFromSource instructions are quite detailed. Among other things, the say this for Linux: Quote:
Quote:
Quote:
Have you noticed that every single problem you had can be avoided by reading and following the instructions? And don't build from the repo source, that needs Qt 4.7 which hasn't been released. |
||||
09-06-2010, 03:32 PM | #5 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Sep 2010
Device: IPhone
|
Quote:
|
|
Advert | |
|
09-06-2010, 05:22 PM | #6 | ||
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
Quote:
I do it like this: Code:
export PATH=/home/valloric/qtsdk-2010.02/qt/bin:$PATH Everything will be linked to your system's GLIBC++. After it builds, prepend that Qt path to your PATH permanently so that you can run Sigil. This will not interfere with other Qt apps on your system, since Qt is binary backwards compatible. Last edited by Valloric; 09-06-2010 at 05:30 PM. |
||
09-09-2010, 04:07 PM | #7 |
Junior Member
Posts: 6
Karma: 10
Join Date: Sep 2010
Device: IPhone
|
Again, thanks for the help. I got it to compile and run! Woo Hoo.
I now have a weird problem with my install, it will run fine from the local directory that I used to compile it (~/sigil/bin/sigil), but the system installed one (in /usr/local/bin) gives me a, Code:
sigil: symbol lookup error: sigil: undefined symbol: _ZN9QListData7detach3Ev I also couldn't figure out how to change the PATH for something run from the Applications menu, so I just created a shell script and ran that. Googleing seems to imply that others have had issue with figuring out which file to change for PATH variables on GUI run files (via terminal is straight forward). Again, not your issue. Now on to epub editing!! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Missing covers, missing content. Getting worse with each sync. | Mememememe | Kobo Reader | 7 | 06-16-2010 09:02 AM |
EZReader/Ubuntu | DaveKen | Astak EZReader | 10 | 09-18-2009 10:50 PM |
ubuntu 9.04 ssh help please | lampadena | OpenInkpot | 9 | 08-18-2009 11:21 PM |
Linux Ubuntu | rockingrector | Calibre | 4 | 01-23-2009 04:00 AM |
PRS-500 Ubuntu with Reader | SciFiReader | Sony Reader Dev Corner | 18 | 06-11-2007 04:37 PM |