libc++ demos from CSDK doesn't compile on linux MDK9.1
Posted in 2003
Topics: Installation, Setup & Upgrades, Platform-Specific Issues
Hello all, I'd like to use libc++ library, but I can't compile even demos included with CSDK. It writes about undefined reference to all objects of libc++. Demos can be compiled on older linux versions including Suse8.0 and MDK8.2. It is probably caused by incompatible versions of gcc/glibc. Is there any way to use it on newer distributions (except of installing older compiler)? (gcc is 3.2.2, glibc 2.3.1) Thanks in advance for any help. Petr Husak
petrxh wrote: > Hello all, > I'd like to use libc++ library, > but I can't compile even demos included with CSDK. > It writes about undefined reference to all objects of libc++. > Demos can be compiled on older linux versions including Suse8.0 and MDK8.2. > It is probably caused by incompatible versions of gcc/glibc. > Is there any way to use it on newer distributions (except of installing > older compiler)? > > (gcc is 3.2.2, glibc 2.3.1) > > Thanks in advance for any help. > Petr Husak Make sure you've got your LD_LIBRARY_PATH set so libraries can be found; e.g., at least ${INFORMIXDIR}/lib/c++:${INFORMIXIR}/lib/esql:${INFORMIXDIR}/lib (pretty much in that order). Also, if you're getting "errono" errors, you need to download and install clientsdk.2.81.UC2.LINUX.tar from http://www-3.ibm.com/software/data/informix. See my earlier post about potential problems with the cpio arguments and GNU cpio in the install scripts in the archive. -- In what is probably a vain attempt to get off SPAM lists, you'll have to delete the nonsense in my address if you want to just hit reply; sorry about that, but enough is enough!