|
Pages: [1]
|
 |
|
Author
|
Topic: Error when starting View - missing libstdc++.so.5 (Read 769 times)
|
|
geekhunter
|
I'm trying something a bit unusual. I'd like to run Rebol on my OLPX XO laptop. I like the fact that Rebol is super lean and the XO has so little room to breath i thought it would be a nice match. When trying to run View though I get a missing libstdc++.so.5 shared library. Can someone explain what's happening here?
|
|
|
|
|
Logged
|
|
|
|
|
henrikmk
|
It's possible that you might need a Rebol for a different Linux distribution. There are some different builds available that suits one distro more than others, based on library dependencies. You can read a little about that here: http://www.rebol.net/builds/lib-dep.html
|
|
|
|
|
Logged
|
|
|
|
|
Gabriele
|
What is the ouput if you type this on a terminal:
ls -l /usr/lib/libstdc++.so*
|
|
|
|
|
Logged
|
|
|
|
|
geekhunter
|
It found libstdc++.so.6.0.8. Do you know if there is a distro of Rebol that will work with this version? If not, can one install the library version 5 also without screwing up the system? I'm new to the XO so I don't want to crash it out.
|
|
|
|
|
Logged
|
|
|
|
|
rebdevil
|
As you have libstdc++.so.6.0.8 and most of the timel ibs are backward compatible; try this: cd /path/to/libstdc++.so.6.0.8
ln -s libstdc++.so.6.0.8 libstdc++.so.5
This creates a symbolic link so that REBOL can find version 5 (which point to version6, assuming that teh directory is in your PATH). Repeat this procedure for any lib you have a newer version for and let us know the file list; then we can create a simple shell script that a new XO user has to run once to get REBOL working.
|
|
|
|
|
Logged
|
|
|
|
|
Gabriele
|
The symlink will most likely work. You will need SUDO probably, but I don't know how the XO handles security. If it does not let you tamper with /usr/lib/, let me know, as there is a workaround.
Also, installing the older version does not normally create problems. Other distros have a compatibility package that installs v5. Dunno about the XO though. (You'll need this just in case there are problems with the symlink.)
|
|
|
|
|
Logged
|
|
|
|
|
geekhunter
|
Ok geting closer  I logged in under sudo and then created the symlink. No problem. ldd ./rebo in the View directory shows that all is good. When I attempt to run ./Rebol though I get ../rebol: /usr/lib/libstdc++.so.5 version 'CXXABI 1.2' not found (required by ./rebol) ../rebol: /usr/lib/libstdc++.so.5 version 'GLIBCPP_3.2 not found (required by ./rebol) Any thoughts? Also, just want to be sure that after installing View, I go to the "view" subdirectory and then run ./rebol to kick things off.
|
|
|
|
|
Logged
|
|
|
|
|
geekhunter
|
I also tried out the Ubuntu version and I get one step further but ultimately, I get the error:
** User Error: REBOL: Cannot obtain default font ** Near: size-text self
I should point out that I'm specifically not installing the full SDK version and instead I'm selecting just the "Older Core and View Binaries" and downloading the binary for RebolView only. If there is something else I should be doing, I'd appreciate some advise.
|
|
|
|
|
Logged
|
|
|
|
|
Gabriele
|
On Ubuntu, I'd suggest getting the lastest View, which is the one inside the SDK package. Still, the one you have should work. You may need to install the X bitmap fonts (they aren't installed by default anymore I think, since noone uses them, but I think they don't correctly map any scalable font to them). You should probably also add a ticket to RAMBO, as I think this problem should be easy to fix, as long as we can find a font that is always availably in at lest the most common distros.
On the XO... so it looks like libstdc++ 6 is not backward compatible. Sigh. Is the XO using a package system, and if so, which one? Can you search if a libstdc++ 5 compatibility package exists? I can ask a friend of mine if you don't know, but this will take some time.
|
|
|
|
|
Logged
|
|
|
|
|
geekhunter
|
To clarify, I was trying out the Ubuntu version on the XO to see if that got me past the problems with the missing libraries, etc. That's when I got the missing font error.
The package manager I'm using is something called xo-get but it also supports yum. I don't want to mess around too much though and cause problems with the system as a whole.
I also tried the full SDK but again get the message:
../rebol: /usr/lib/libstdc++.so.5 version 'CXXABI 1.2' not found (required by ./rebol)
../rebol: /usr/lib/libstdc++.so.5 version 'GLIBCPP_3.2 not found (required by ./rebol)
I'll send a RAMBO report and see if there is any desire to create a distro that will work on the XO linux distro (or ferret out what needs to be installed). I'm relatively new to linux so I'm running an little blind here.
Thank you all again for your help.
|
|
|
|
|
Logged
|
|
|
|
|
|
Pages: [1]
|
|
|
 |
News: 01-09-08 Alpha version of REBOL 3 has been released!
2287 Posts in 596 Topics by 3715 Members
Latest Member: FRIVEIMMIFF
|