Prev: [Solaris10/sparc] SQLite build process
Next: ftp/telnet
From: Oscar del Rio on 17 Mar 2010 13:48 On 03/17/10 01:06 PM, JKB wrote: > /bin/bash ./libtool --tag=CC --mode=link gcc -DSQLITE_THREADSAFE=0 > -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -mtune=niagara -mcpu=niagara > -m64 -L/usr/lib/sparcv9 -m64 -o sqlite3 shell.o ./libsqlite3.la > -lreadline -lcurses > gcc -DSQLITE_THREADSAFE=0 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE > -mtune=niagara -mcpu=niagara -m64 -m64 -o .libs/sqlite3 shell.o > -L/usr/lib/sparcv9 ./.libs/libsqlite3.so -lreadline -lcurses > -Wl,--rpath -Wl,/usr/local/lib > /usr/shared-apps/lib/gcc/sparc-sun-solaris2.10/4.4.1/../../../../sparc-sun-solaris2.10/bin/ld: > ./.libs/libsqlite3.so: dlsym: invalid version 5 (max 0) > ./.libs/libsqlite3.so: could not read symbols: Bad value Probably a buggy compiler/linker. Why don't you use Solaris 10 gcc compiler? sqlite-3.6.23 builds apparently without any problems: % /usr/sfw/bin/gcc -v Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs Configured with: /gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) % cd sqlite-3.6.23; ./configure --prefix=/opt/local; gmake .... /bin/bash ./libtool --tag=CC --mode=link gcc -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -g -O2 -o sqlite3 shell.o ../libsqlite3.la -lcurses gcc -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -g -O2 -o .libs/sqlite3 shell.o ./.libs/libsqlite3.so -lcurses -R/opt/local/lib creating sqlite3 %
From: JKB on 17 Mar 2010 13:57 Le 17-03-2010, ? propos de Re: [Solaris10/sparc] SQLite build process, Oscar del Rio ?crivait dans comp.unix.solaris : > On 03/17/10 01:06 PM, JKB wrote: > >> /bin/bash ./libtool --tag=CC --mode=link gcc -DSQLITE_THREADSAFE=0 >> -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -mtune=niagara -mcpu=niagara >> -m64 -L/usr/lib/sparcv9 -m64 -o sqlite3 shell.o ./libsqlite3.la >> -lreadline -lcurses >> gcc -DSQLITE_THREADSAFE=0 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE >> -mtune=niagara -mcpu=niagara -m64 -m64 -o .libs/sqlite3 shell.o >> -L/usr/lib/sparcv9 ./.libs/libsqlite3.so -lreadline -lcurses >> -Wl,--rpath -Wl,/usr/local/lib >> /usr/shared-apps/lib/gcc/sparc-sun-solaris2.10/4.4.1/../../../../sparc-sun-solaris2.10/bin/ld: >> ./.libs/libsqlite3.so: dlsym: invalid version 5 (max 0) >> ./.libs/libsqlite3.so: could not read symbols: Bad value > > Probably a buggy compiler/linker. Why don't you use Solaris 10 gcc > compiler? Because I need gfortran _and_ GNU ld. JKB -- Le cerveau, c'est un véritable scandale écologique. Il représente 2% de notre masse corporelle, mais disperse à lui seul 25% de l'énergie que nous consommons tous les jours.
|
Pages: 1 Prev: [Solaris10/sparc] SQLite build process Next: ftp/telnet |