Hack on opensuse 11.2: (4.3) I simply had to copy the actual libreadline.so (and libreadline.a ?) files from the distribution into the sage-local lib subdirectory and replaced the libreadline.so.6 which caused the linker error. After it the build was sussessful.
On 24 Dez. 2009, 22:39, james <jamesha...@gmail.com> wrote: > Dear sage support, > > I got the following error while compiling sga source (sga-4.2.1.tar) > with a suse11.2 system on a HP computer sga-4.2.1. > > ... > gcc -v > Using built-in specs. > Target: x86_64-suse-linux > Configured with: ../configure --prefix=/usr --infodir=/usr/share/info > --mandir=/ > usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable- > languages=c,c > ++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx- > include-di > r=/usr/include/c++/4.4 --enable-ssp --disable-libssp --with- > bugurl=http://bugs.o > pensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable- > libmudfla > p --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit -- > enable-libstd > cxx-allocator=new --disable-libstdcxx-pch --enable-version-specific- > runtime-libs > --program-suffix=-4.4 --enable-linux-futex --without-system-libunwind > --with-ar > ch-32=i586 --with-tune=generic --build=x86_64-suse-linux > Thread model: posix > gcc version 4.4.1 [gcc-4_4-branch revision 150839] (SUSE Linux) > **************************************************** > bash: symbol lookup error: /usr/local/sage/sage-4.2.1/local/lib/ > libreadline.so.6 > : undefined symbol: PC > > real 0m0.004s > user 0m0.001s > sys 0m0.001s > sage: An error occurred while installing sqlite-3.6.19.p0 > Please email sage-develhttp://groups.google.com/group/sage-devel > explaining the problem and send the relevant part of > of /usr/local/sage/sage-4.2.1/install.log. Describe your computer, > operating sy > stem, etc. > If you want to try to fix the problem yourself, *don't* just cd to > /usr/local/sage/sage-4.2.1/spkg/build/sqlite-3.6.19.p0 and type > 'make'. > Instead type "/usr/local/sage/sage-4.2.1/sage -sh" > in order to set all environment variables correctly, then cd to > /usr/local/sage/sage-4.2.1/spkg/build/sqlite-3.6.19.p0 > (When you are done debugging, you can type "exit" to leave the > subshell.) > make[1]: *** [installed/sqlite-3.6.19.p0] Error 1 > make[1]: Leaving directory `/usr/local/sage/sage-4.2.1/spkg' > > real 0m29.655s > user 0m19.846s > sys 0m6.261s > Error building Sage. > > --------------------------- > The following is my computer info: > > Pentium(R) Dual-Core CPU E5200 @ 2.50GHz > with newly installed openSuse11.2 > > openSUSE11.2(x86_64) > KDE: 4.3.1 (KDE 4.3.1) "release 6" > > Thanks very much in advance! > James
-- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org