openssl upgrade fails messily

Ryan Schmidt ryandesign at macports.org
Fri Aug 6 18:34:55 PDT 2010


On Aug 6, 2010, at 20:19, Alexy Khrabrov wrote:

> Looks like not a macports day today: after trying to selfupdate, an
> undefined symbol:
> 
> --->  MacPorts base is outdated, installing new version 1.9.1
> Warning: Disabling readline support due to readline in /usr/local

You have a rogue readline library under /usr/local. It is not supported to have anything in /usr/local while using MacPorts because it can cause conflicts. Please remove (or rename) /usr/local (e.g. to "/usr/local-off") and try again.

> Installing new MacPorts release in /opt/local as root:admin;
> permissions 0775; Tcl-Package in /Library/Tcl
> 
> Error: /opt/local/bin/port: port selfupdate failed: Error installing
> new MacPorts base: shell command "cd
> /opt/local/var/macports/sources/rsync.macports.org/release/base &&
> ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl
> --with-install-user=root --with-install-group=admin
> --with-directory-mode=0775 && make && make install" returned error 2
> Command output:       _reg_entry_imaged in cregistry.a(entry.o)
>      _reg_entry_imaged in cregistry.a(entry.o)
>      _reg_entry_imaged in cregistry.a(entry.o)
>      _reg_entry_imaged in cregistry.a(entry.o)
>      _reg_entry_open in cregistry.a(entry.o)
>      _reg_entry_propset in cregistry.a(entry.o)
>      _reg_entry_propget in cregistry.a(entry.o)
>      _reg_entry_search in cregistry.a(entry.o)
>      _reg_throw in cregistry.a(registry.o)
>      _reg_sqlite_error in cregistry.a(registry.o)
>      _reg_attach in cregistry.a(registry.o)
>  "_sqlite3_changes", referenced from:
>      _reg_entry_delete in cregistry.a(entry.o)
>      _reg_entry_deactivate in cregistry.a(entry.o)
>      _reg_entry_activate in cregistry.a(entry.o)
>      _reg_entry_unmap in cregistry.a(entry.o)
>  "_sqlite3_create_function", referenced from:
>      _init_db in cregistry.a(sql.o)
>  "_sqlite3_exec", referenced from:
>      _reg_end in cregistry.a(registry.o)
>      _reg_start in cregistry.a(registry.o)
>  "_sqlite3_create_collation", referenced from:
>      _init_db in cregistry.a(sql.o)
>  "_sqlite3_result_int", referenced from:
>      _sql_regexp in cregistry.a(sql.o)
> ld: symbol(s) not found

The real error is hidden further up, but it's probably because you have an sqlite library (possibly under /usr/local) that is not the right architecture.


You haven't by chance migrated this MacPorts installation to this machine from a previous machine, or upgraded this machine from e.g. Leopard to Snow Leopard, have you? If so, you'll want to read the Migration page:

http://trac.macports.org/wiki/Migration




More information about the macports-users mailing list