installing mysql/apache 2/gd library on os x 10.5

Emrys Hughes emrys.hughes at gmail.com
Sun Apr 5 17:53:22 PDT 2009


Hi

I have the latest version of macports and run selfupdate, and all the  
xcode tools installed.

I am trying to install the gd library and failing as follows:

sudo port install php5 +apache2 +mysql5 +server
Password:
--->  Building mysql5
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_databases_mysql5/work/mysql-5.0.77" &&  
make all " returned error 2
Command output:       _new_VioSSLFd in libvio.a(viosslfactories.o)
   "_EVP_BytesToKey", referenced from:
       Item_func_des_encrypt::val_str(String*)      in item_strfunc.o
       Item_func_des_decrypt::val_str(String*)      in item_strfunc.o
       load_des_key_file(char const*)in des_key_file.o
   "_BN_bin2bn", referenced from:
       _new_VioSSLFd in libvio.a(viosslfactories.o)
       _new_VioSSLFd in libvio.a(viosslfactories.o)
   "_SSL_get_verify_depth", referenced from:
       show_status_array(THD*, char const*, show_var_st*,  
enum_var_type, system_status_var*, char const*, st_table*)in sql_show.o
   "_CRYPTO_set_id_callback", referenced from:
       init_common_variables(char const*, int, char**, char const**)in  
mysqld.o
   "_SSL_CTX_use_PrivateKey_file", referenced from:
       _new_VioSSLFd in libvio.a(viosslfactories.o)
   "_SSL_CIPHER_get_name", referenced from:
       acl_getroot(THD*, user_resources*, char const*, unsigned int)in  
sql_acl.o
       acl_getroot(THD*, user_resources*, char const*, unsigned int)in  
sql_acl.o
       show_status_array(THD*, char const*, show_var_st*,  
enum_var_type, system_status_var*, char const*, st_table*)in sql_show.o
       _mysql_get_ssl_cipher in client.o
   "_SSL_set_quiet_shutdown", referenced from:
       _vio_ssl_close in libvio.a(viossl.o)
   "_X509_STORE_CTX_get_current_cert", referenced from:
       _vio_verify_callback in libvio.a(viosslfactories.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [mysqld] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: The following dependencies failed to build: apache2 apr-util  
mysql5 sqlite3 readline pcre autoconf213 m4 bzip2 libtool automake  
autoconf help2man p5-locale-gettext pkgconfig
Error: Status 1 encountered during processing.



More information about the macports-users mailing list