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

Emrys Hughes emrys.hughes at gmail.com
Wed Apr 8 16:08:29 PDT 2009


On 06/04/2009, at 9:59 PM, Ryan Schmidt wrote:

>
> On Apr 6, 2009, at 04:43, Emrys Hughes wrote:
>
>> On 06/04/2009, at 7:34 PM, Ryan Schmidt wrote:
>>
>>> On Apr 5, 2009, at 19:53, Emrys Hughes wrote:
>>>
>>>> I have the latest version of macports and run selfupdate, and all  
>>>> the xcode tools installed.
>>>
>>> Just to make sure you really do have the latest: Which version of  
>>> MacPorts, Xcode, and Mac OS X? And on what computer?
>>
>> Macports = 1.7.1
>> Xcode = 3.0
>> OS X = 10.5.6
>>
>> On a Macbook Pro 2.4Ghz
>
> Ok, first please update to Xcode 3.1.3. Then clean mysql5 and try  
> again
>
> sudo port clean mysql5
>
> Please let me know if it then works.

Updated Xcode - i stupidly thought mac software update took care of  
this.

  sudo port clean mysql5
Password:
--->  Cleaning mysql5
Desolation:~ emrys$ sudo port install php5 +apache2 +mysql5 +server
--->  Fetching mysql5
--->  Verifying checksum(s) for mysql5
--->  Extracting mysql5
--->  Applying patches to mysql5
--->  Configuring mysql5
--->  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 pcre bzip2 autoconf213 m4 libtool automake autoconf  
help2man p5-locale-gettext pkgconfig
Error: Status 1 encountered during processing.

>
>
>
>>> Which version of openssl is installed ("port installed openssl")?  
>>> openssl was briefly updated to 1.0.0-beta1 but because it caused  
>>> problems in many cases this update was reverted. If you have  
>>> openssl 1.0.0-beta1 installed, please update your ports  
>>> definitions ("sudo port sync") and then upgrade openssl ("sudo  
>>> port -u upgrade openssl") which should downgrade you back to  
>>> version 0.9.8k. Then clean mysql5 ("sudo port clean mysql5") and  
>>> try your original command again.
>>>
>
> Which version of openssl did you have?

port installed openssl
The following ports are currently installed:
   openssl @0.9.8b_0+darwin_8 (active)


>
>
>
> P.S: Use Reply All so your reply goes to the list too, not just to me.
>



More information about the macports-users mailing list