sqlite3 install error
Christopher W. MacMinn
cmac at MIT.EDU
Thu Mar 22 14:18:10 PDT 2007
Good call -- uninstalling, cleaning, and reinstalling readline did
the trick. I wonder why this did not sort itself out when I forced
the rebuild and configure? Must be the cleaning.
Thanks much!!
Best
- Chris
On Mar 22, 2007, at 4:04 PM, Daniel J. Luke wrote:
> On Mar 22, 2007, at 2:52 PM, Christopher W. MacMinn wrote:
>> 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:
>
> apr-util depends on sqlite3.
>
> To get things working quickly, you could probably do:
>
> port clean --all apr-util
> port install apr-util +no_sqlite
> port install subversion
>
> Of course, future subversion releases are supposed to use sqlite
> for storing various things, so you might not want to go the quick
> route...
>
>> $ 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
>> _dports_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
>> _dports_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)
>
> It looks like for some reason libreadline is linked against the
> libncurses from the build directory instead of the installed one.
>
> Try:
>
> port -f uninstall readline
> port clean --all readline
> port install readline
>
> --
> Daniel J. Luke
> +========================================================+
> | *---------------- dluke at geeklair.net ----------------* |
> | *-------------- http://www.geeklair.net -------------* |
> +========================================================+
> | Opinions expressed are mine and do not necessarily |
> | reflect the opinions of my employer. |
> +========================================================+
>
>
More information about the macports-users
mailing list