Hi. I am targeting a distro (very popular on Brazil as it is used by all public schools) that is based on Ubuntu Lucid, which shipped with gcc 4.4. When I try to run my ./nm binary in it there is a message complaining about the version of libstdc++:
./nw: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./nw)
./nw: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.15' not found (required by ./nw)
I understand this is so because the versions of libstdc** and libc provided in the distro were a bit older (from gcc 4.4), and nw was compiled/linked with gcc 4.6.
So I have two paths, I believe:
a) Provide newer stdc libraries (probably on a ppa) to be added to the system, but this can be a bit difficult as it requires modification of the apt repositories, and these are kind of "locked" on this distro (not really locked, but not easy to change). This also means that the binary will not run "out of the box", and that I would need to install the libraries on possibly thousands of machines (if schools adopt our software).
b) Recompile the current ./nw binary with GCC 4.4, so it will work with the exiting versions provided on the distro, out of the box.
Anyone did option B already, or have another suggestion? I have not compiled node-webkit from source yet, so I am not sure if this is possible at all.
Best regards,
Mauricio Piacentini