Quote:
Originally Posted by user_none
Download the package that contains libstdc++6 for natty. Should be this one. Extract the contents of the package. Do not install the package. Put the libstdc++6.so file in the folder you installed Sigil to (/opt/sigil).
|
Hi,
I followed the workaround. I'm also running Ubuntu Lucid 10.04 LTS Here's some more documentation:
Downloaded the package from the
link
and then extracted the package from my Downloads folder to a tmp file that I created in the folder that I installed Sigil to
home/john/Sigil$ mkdir tmp
Here's the command to extract :
$ dpkg-deb -x libstdc++6_4.5.2-8ubuntu4_i386.deb /home/john/Sigil/tmp
I then moved the libstdc++.so.6 into home/john/Sigil
and tried to start the program
$./sigil
No dice. Got this error:
$ /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /home/john/Sigil/./sigil)
I decided that the path might be wrong, maybe it was looking in /usr/lib, so I backed up
the libstdc++.so.6 that was in /usr/lib (always a good idea to back stuff up)
https://www2.mobileread.com/i/smilies/smile.gif
$ sudo cp /usr/lib/libstdc++.so.6 /usr/lib/libstdc++.so.6.bak
I then overwrote my existing libstdc++.so.6
$ mv /usr/lib/libstdc++.so.6 /usr/lib/libstdc++.so.6
That gave me this error when I tried to run it
$ ./sigil: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
Having noticed that libstdc++.so.6 was included with another lib file in the extracted Deb I moved that to the /usr/lib as well
$ sudo mv libstdc++.so.6.0.14 /usr/lib
I then ran these commands
$ sudo ldconfig /usr/local/lib
$ sudo ldconfig /usr/lib
I don't think, I needed the first one, I was just following a post on a different program
When I tried to run the sigil I got this
$ ./sigil: symbol lookup error:./sigil: undefined symbol:
I then simply ran this
$ sigil
And Voila! Sigil is up and running
So in summary, I think these two files need to be together in /usr/lib and I think you have to run sudo ldconfig /usr/lib. They say that Lucid LTS is good until 2013, but you occasionally have to do these sort of workarounds like this on programs that you're interested in.
Hope this is helpful