From: Dave A. <mail@DaveAlbiston.me.uk> - 2006-05-22 09:51:16
|
Alex Peshkov wrote: > Helen Borrie wrote: >>> First you can try symlinking libstdc++.so.6: >>> su >>> cd /usr/lib >>> ln -s libstdc++.so.6 libstdc++.so.5 >>> >>> This trick works ok for Java, so I guess it will also be ok for >>> Firebird. >> >> >> Try it yourself. Symlinking libstdc++.so.6 libstdc++.so.5 doesn't >> work, at least for Mandriva 10.2. It comes up with some other >> dependencies when trying to invoke libfbembed.so. However, installing >> the compat-libstdc++ package for Fedora Core 3 does work. It's a >> nasty solution, though, as there's no way to know whether that's the >> version of the libstdc++ runtime that Java (or any other application) >> might want. >> >> According to Alex, the only proper thing to do is compile Firebird on >> the same version of the OS that you're going to run it on. I had tried the linking trick but found the problem Helen mentioned. I'll download the source and compile. Dave >> > > A few words to make it cleaner. > > libstdc++.so.X is runtime support library of g++ compiler. Certainly, > attempt to use fresh runtime with old executable will sooner not work, > but in some cases can. But this is not a rule! Please, don't rely on it! > > A popular solution with compatibility package is absolutely OK in case > when don't plan to integrate firebird with other packages. But imagine > something like Apache + PHP + libfbembed - very realistic combination. > And when Apache and PHP need runtime v.6, but firebird need runtime v.5, > it's also not guranteed to work together. > > Therefore ideal solution is to compile firebird with your host's gcc, > but in many cases compatibility package may be OK. > > Alex. > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > Firebird-Devel mailing list, web interface at > https://lists.sourceforge.net/lists/listinfo/firebird-devel > |