sqlite3 install error
Christopher W. MacMinn
cmac at MIT.EDU
Thu Mar 22 11:52:37 PDT 2007
Hey folks -
I am trying to install sqlite3 (actually, subversion -- but
apparently it depends on sqlite3) via MacPorts and I'm getting an
error that looks like this:
-----------------------------------------------------
$ sudo port install subversion
---> Building sqlite3 with target all
Error: Target com.apple.build returned: shell command "cd "/opt/local/
var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_databases_sqlite3/work/sqlite-3.3.13" && CFLAGS="-I/opt/local/
include/ -DSQLITE_ENABLE_LOCKING_STYLE=1" LDFLAGS="-L/opt/local/lib"
gnumake all" returned error 2
Command output: ./libtool --mode=link /usr/bin/gcc-4.0 -g -O2 -
DOS_UNIX=1 -DHAVE_USLEEP=1 -I. -I./src -DNDEBUG -DTHREADSAFE=1 -
DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_ENABLE_LOCKING_STYLE=1 -
DSQLITE_OMIT_LOAD_EXTENSION=1 -DHAVE_READLINE=1 -I/opt/local/include/
-DSQLITE_ENABLE_LOCKING_STYLE=1 -lpthread \
-o sqlite3 ./src/shell.c libsqlite3.la \
-L/opt/local/lib -lreadline
/usr/bin/gcc-4.0 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1 -I. -I./src -
DNDEBUG -DTHREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -
DSQLITE_ENABLE_LOCKING_STYLE=1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -
DHAVE_READLINE=1 -I/opt/local/include/ -
DSQLITE_ENABLE_LOCKING_STYLE=1 -o .libs/sqlite3 ./src/
shell.c ./.libs/libsqlite3.dylib -lpthread -L/opt/local/lib -lreadline
/usr/bin/ld: warning can't open dynamic library: /opt/local/var/db/
dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_devel_ncurses/work/destroot/opt/local/lib/libncurses.5.dylib
referenced from: /opt/local/lib/libreadline.dylib (checking for
undefined symbols may be affected) (No such file or directory, errno
= 2)
/usr/bin/ld: Undefined symbols:
_tgetent referenced from libreadline expected to be defined in /opt/
local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_devel_ncurses/work/destroot/opt/local/lib/libncurses.5.dylib
_tgetflag referenced from libreadline expected to be defined in /opt/
local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_devel_ncurses/work/destroot/opt/local/lib/libncurses.5.dylib
_tgetnum referenced from libreadline expected to be defined in /opt/
local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_devel_ncurses/work/destroot/opt/local/lib/libncurses.5.dylib
_tgetstr referenced from libreadline expected to be defined in /opt/
local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_devel_ncurses/work/destroot/opt/local/lib/libncurses.5.dylib
_tputs referenced from libreadline expected to be defined in /opt/
local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_devel_ncurses/work/destroot/opt/local/lib/libncurses.5.dylib
_tgoto referenced from libreadline expected to be defined in /opt/
local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_devel_ncurses/work/destroot/opt/local/lib/libncurses.5.dylib
collect2: ld returned 1 exit status
gnumake: *** [sqlite3] Error 1
Error: The following dependencies failed to build: apr-util sqlite3
Error: Status 1 encountered during processing.
-----------------------------------------------------
I have tried upgrading, forced configuring, and forced rebuilding of
all packages -- no luck. I carried out this same install on a
different computer (both are intel macs running 10.4.9) less than a
week ago with no trouble.
Any help would be greatly appreciated.
Thanks!
Best
- Chris
More information about the macports-users
mailing list