Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help! emerge sqlite fails [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
lazloman
Guru
Guru


Joined: 27 Dec 2003
Posts: 343
Location: Skokie, Il. USA

PostPosted: Sun Jul 19, 2009 12:35 am    Post subject: Help! emerge sqlite fails [SOLVED] Reply with quote

Here is the error:
Code:

libtool: link: ( cd ".libs" && rm -f "libsqlite3.la" && ln -s "../libsqlite3.la" "libsqlite3.la" )
./libtool --mode=link i686-pc-linux-gnu-gcc   -O3 -march=i686 -pipe -DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG -DSQLITE_ALLOW_XTHREAD_CONNECT=1  -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_ENABLE_COLUMN_METADATA   -Wl,-O1  -DHAVE_READLINE=1 -I/usr/include/readline \
                -o sqlite3 ./src/shell.c libsqlite3.la \
                -lreadline -lreadline  -lpthread  -rpath "/usr/lib"
libtool: link: i686-pc-linux-gnu-gcc -O3 -march=i686 -pipe -DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG -DSQLITE_ALLOW_XTHREAD_CONNECT=1 -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_ENABLE_COLUMN_METADATA -Wl,-O1 -DHAVE_READLINE=1 -I/usr/include/readline -o .libs/sqlite3 ./src/shell.c  ./.libs/libsqlite3.so -lreadline -lpthread -Wl,-rpath -Wl,/usr/lib
/usr/lib/libdl.so.2: undefined reference to `_dl_tls_get_addr_soft@GLIBC_PRIVATE'
collect2: ld returned 1 exit status
distcc[15672] ERROR: compile ./src/shell.c on localhost failed
make: *** [sqlite3] Error 1
 *
 * ERROR: dev-db/sqlite-3.6.14.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2755:  Called die
 * The specific snippet of code:
 *       emake TCLLIBDIR="/usr/$(get_libdir)/${P}" || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-db/sqlite-3.6.14.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/sqlite-3.6.14.2/temp/environment'.
 *

>>> Failed to emerge dev-db/sqlite-3.6.14.2, Log file:

>>>  '/var/tmp/portage/dev-db/sqlite-3.6.14.2/temp/build.log'

 * Messages for package dev-db/sqlite-3.6.14.2:

 *
 * ERROR: dev-db/sqlite-3.6.14.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2755:  Called die
 * The specific snippet of code:
 *       emake TCLLIBDIR="/usr/$(get_libdir)/${P}" || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-db/sqlite-3.6.14.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/sqlite-3.6.14.2/temp/environment'.
 *


This fails with or without distcc.
_________________
Gentoo x86
2x Dell Optiplex GX200

"My Break-Dancing days are over, but there's always the Funky Chicken."
--The Full Monty


Last edited by lazloman on Tue Aug 04, 2009 12:40 am; edited 1 time in total
Back to top
View user's profile Send private message
TrueDFX
Retired Dev
Retired Dev


Joined: 02 Jun 2004
Posts: 1348

PostPosted: Sun Jul 19, 2009 10:09 am    Post subject: Reply with quote

You shouldn't have any /usr/lib/libdl.so.2, only a /usr/lib/libdl.so -> /lib/libdl.so.2 symlink. You're not the first to have this problem, but I don't think it was ever completely cleared up what causes this. You'll need to remove and/or correct the old file in /usr/lib and correct the symlink, and when you've done so, the current version of libdl will be used and linking will work much better.
Back to top
View user's profile Send private message
lazloman
Guru
Guru


Joined: 27 Dec 2003
Posts: 343
Location: Skokie, Il. USA

PostPosted: Sun Jul 19, 2009 3:35 pm    Post subject: Help! emerge sqlite fails [SOLVED] Reply with quote

Thanks, just removing the /usr/lib/libdl.so.2 allowed sqlite to emerge. The other symlink was already in place.
_________________
Gentoo x86
2x Dell Optiplex GX200

"My Break-Dancing days are over, but there's always the Funky Chicken."
--The Full Monty
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum