emirhanHCL 1
emirhanHCL
farkmt2official 1
farkmt2official
mannaxxx 1
mannaxxx
kralhakan2009 1
kralhakan2009
Vahsi Uzman 1
Vahsi Uzman
Hikaye Ekle

Cevaplandı Freebsd 14'e Mysql 5.6 nasıl yüklerim?

  • Konuyu başlatan Konuyu başlatan Tolgahan Kara
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 5
  • Görüntüleme Görüntüleme 436

Türkiye'de ilk Mobil & PC Aynı Anda Metin2 Oyna. Triarchonline kalıcı ve uzun ömürlü yapısı ile 24 Temmuz'da açılıyor. | 1-99 Mobil Metin2 Triarch HEMEN TIKLA!

Merhabalar herkese vds sunucu aldım ama aldığıma pişman olduğum bir yerden aldım, şirket hiçbir şeye yardımcı olmuyor.

Yapmak istediğim Freebsd 14'e Mysql 5.6 yüklemek ama resmi desteği bittiği için pkg install komutu ile yüklenmiyor.

En son geldiğim durum mysql dosyalarını buldum indirdim sunucuya yükledim derleyerek yüklmek istedim bu seferde;
[CODE title="Hata"]CMake Error at cmake/ssl.cmake:66 (MESSAGE):
Please install the appropriate openssl developer package.

Call Stack (most recent call first):
cmake/ssl.cmake:260 (FATAL_SSL_NOT_FOUND_ERROR)
CMakeLists.txt:483 (MYSQL_CHECK_SSL)
[/CODE] veriyor burdan sonrasında tıkandım bu problemimim çözecek bir babayiğit var mıdır?
 
Çözüm
Openssl'i de kurmanız gerekli.

Default pkg ile yüklenen openssl sürümü 3.0 olduğu için mysql5.6 desteklemeyecektir.

Portlardan uygun openssl sürümünü indirip (ki o da portlarda yer almıyor olacak) sonra tekrar mysql'i derlemeniz gerekli.
Openssl'i de kurmanız gerekli.

Default pkg ile yüklenen openssl sürümü 3.0 olduğu için mysql5.6 desteklemeyecektir.

Portlardan uygun openssl sürümünü indirip (ki o da portlarda yer almıyor olacak) sonra tekrar mysql'i derlemeniz gerekli.
 
Çözüm
Openssl'i de kurmanız gerekli.

Default pkg ile yüklenen openssl sürümü 3.0 olduğu için mysql5.6 desteklemeyecektir.

Portlardan uygun openssl sürümünü indirip (ki o da portlarda yer almıyor olacak) sonra tekrar mysql'i derlemeniz gerekli.
Cevap için teşekkürler, şimdi iyice derine indirk Mysql5.6 için openssl 1.0.2 sürümünü yüklememiz gerekiyormuş son resmi sürümü buldum indirdim tabii onu da derlememiz gerekiyor, şimdi de burada çok fazla hata alıyorum bilginiz var mı?
eng_cryptodev.c:103:47: warning: declaration of 'struct crparam' will not be visible outside of this function [-Wvisibility]

static int bn2crparam(const BIGNUM *a, struct crparam *crp);

^

eng_cryptodev.c:104:30: warning: declaration of 'struct crparam' will not be visible outside of this function [-Wvisibility]

static int crparam2bn(struct crparam *crp, BIGNUM *a);

^

eng_cryptodev.c:105:30: warning: declaration of 'struct crypt_kop' will not be visible outside of this function [-Wvisibility]

static void zapparams(struct crypt_kop *kop);

^

eng_cryptodev.c:106:34: warning: declaration of 'struct crypt_kop' will not be visible outside of this function [-Wvisibility]

static int cryptodev_asym(struct crypt_kop *kop, int rlen, BIGNUM *r,

^

eng_cryptodev.c:250:19: error: use of undeclared identifier 'CRIOGET'

if (ioctl(fd, CRIOGET, &retfd) == -1)

^

eng_cryptodev.c:1014:47: warning: declaration of 'struct crparam' will not be visible outside of this function [-Wvisibility]

static int bn2crparam(const BIGNUM *a, struct crparam *crp)

^

eng_cryptodev.c:1014:12: error: conflicting types for 'bn2crparam'

static int bn2crparam(const BIGNUM *a, struct crparam *crp)

^

eng_cryptodev.c:103:12: note: previous declaration is here

static int bn2crparam(const BIGNUM *a, struct crparam *crp);

^

eng_cryptodev.c:1020:8: error: incomplete definition of type 'struct crparam'

crp->crp_p = NULL;

~~~^

eng_cryptodev.c:1014:47: note: forward declaration of 'struct crparam'

static int bn2crparam(const BIGNUM *a, struct crparam *crp)

^

eng_cryptodev.c:1021:8: error: incomplete definition of type 'struct crparam'

crp->crp_nbits = 0;

~~~^

eng_cryptodev.c:1014:47: note: forward declaration of 'struct crparam'

static int bn2crparam(const BIGNUM *a, struct crparam *crp)

^

eng_cryptodev.c:1031:8: error: incomplete definition of type 'struct crparam'

crp->crp_p = (caddr_t) b;

~~~^

eng_cryptodev.c:1014:47: note: forward declaration of 'struct crparam'

static int bn2crparam(const BIGNUM *a, struct crparam *crp)

^

eng_cryptodev.c:1032:8: error: incomplete definition of type 'struct crparam'

crp->crp_nbits = bits;

~~~^

eng_cryptodev.c:1014:47: note: forward declaration of 'struct crparam'

static int bn2crparam(const BIGNUM *a, struct crparam *crp)

^

eng_cryptodev.c:1046:30: warning: declaration of 'struct crparam' will not be visible outside of this function [-Wvisibility]

static int crparam2bn(struct crparam *crp, BIGNUM *a)

^

eng_cryptodev.c:1046:12: error: conflicting types for 'crparam2bn'

static int crparam2bn(struct crparam *crp, BIGNUM *a)

^

eng_cryptodev.c:104:12: note: previous declaration is here

static int crparam2bn(struct crparam *crp, BIGNUM *a);

^

eng_cryptodev.c:1051:17: error: incomplete definition of type 'struct crparam'

bytes = (crp->crp_nbits + 7) / 8;

~~~^

eng_cryptodev.c:1046:30: note: forward declaration of 'struct crparam'

static int crparam2bn(struct crparam *crp, BIGNUM *a)

^

eng_cryptodev.c:1060:29: error: incomplete definition of type 'struct crparam'

pd = ((char *)crp->crp_p)[bytes - i - 1];

~~~^

eng_cryptodev.c:1046:30: note: forward declaration of 'struct crparam'

static int crparam2bn(struct crparam *crp, BIGNUM *a)

^

eng_cryptodev.c:1068:30: warning: declaration of 'struct crypt_kop' will not be visible outside of this function [-Wvisibility]

static void zapparams(struct crypt_kop *kop)

^

eng_cryptodev.c:1068:13: error: conflicting types for 'zapparams'

static void zapparams(struct crypt_kop *kop)

^

eng_cryptodev.c:105:13: note: previous declaration is here

static void zapparams(struct crypt_kop *kop);

^

eng_cryptodev.c:1072:24: error: incomplete definition of type 'struct crypt_kop'

for (i = 0; i < kop->crk_iparams + kop->crk_oparams; i++) {

~~~^

eng_cryptodev.c:1068:30: note: forward declaration of 'struct crypt_kop'

static void zapparams(struct crypt_kop *kop)

^

eng_cryptodev.c:1072:43: error: incomplete definition of type 'struct crypt_kop'

for (i = 0; i < kop->crk_iparams + kop->crk_oparams; i++) {

~~~^

eng_cryptodev.c:1068:30: note: forward declaration of 'struct crypt_kop'

static void zapparams(struct crypt_kop *kop)

^

eng_cryptodev.c:1073:25: error: incomplete definition of type 'struct crypt_kop'

OPENSSL_free(kop->crk_param.crp_p);

~~~^

../../include/openssl/crypto.h:390:46: note: expanded from macro 'OPENSSL_free'

define OPENSSL_free(addr) CRYPTO_free(addr)

^~~~

eng_cryptodev.c:1068:30: note: forward declaration of 'struct crypt_kop'

static void zapparams(struct crypt_kop *kop)

^

eng_cryptodev.c:1074:12: error: incomplete definition of type 'struct crypt_kop'

kop->crk_param.crp_p = NULL;

~~~^

eng_cryptodev.c:1068:30: note: forward declaration of 'struct crypt_kop'

static void zapparams(struct crypt_kop *kop)

^

eng_cryptodev.c:1075:12: error: incomplete definition of type 'struct crypt_kop'

kop->crk_param.crp_nbits = 0;

~~~^

eng_cryptodev.c:1068:30: note: forward declaration of 'struct crypt_kop'

static void zapparams(struct crypt_kop *kop)

^

eng_cryptodev.c:1080:23: warning: declaration of 'struct crypt_kop' will not be visible outside of this function [-Wvisibility]

cryptodev_asym(struct crypt_kop *kop, int rlen, BIGNUM *r, int slen,

^

eng_cryptodev.c:1080:1: error: conflicting types for 'cryptodev_asym'

cryptodev_asym(struct crypt_kop *kop, int rlen, BIGNUM *r, int slen,

^

eng_cryptodev.c:106:12: note: previous declaration is here

static int cryptodev_asym(struct crypt_kop *kop, int rlen, BIGNUM *r,

^

eng_cryptodev.c:1089:12: error: incomplete definition of type 'struct crypt_kop'

kop->crk_param[kop->crk_iparams].crp_p = OPENSSL_malloc(rlen);

~~~^

eng_cryptodev.c:1080:23: note: forward declaration of 'struct crypt_kop'

cryptodev_asym(struct crypt_kop *kop, int rlen, BIGNUM *r, int slen,

^

eng_cryptodev.c:1089:27: error: incomplete definition of type 'struct crypt_kop'

kop->crk_param[kop->crk_iparams].crp_p = OPENSSL_malloc(rlen);

~~~^

eng_cryptodev.c:1080:23: note: forward declaration of 'struct crypt_kop'

cryptodev_asym(struct crypt_kop *kop, int rlen, BIGNUM *r, int slen,

^

eng_cryptodev.c:1090:16: error: incomplete definition of type 'struct crypt_kop'

if (kop->crk_param[kop->crk_iparams].crp_p == NULL)

~~~^

eng_cryptodev.c:1080:23: note: forward declaration of 'struct crypt_kop'

cryptodev_asym(struct crypt_kop *kop, int rlen, BIGNUM *r, int slen,

^

fatal error: too many errors emitted, stopping now [-ferror-limit=]

8 warnings and 20 errors generated.

*** Error code 1

 
freebsd 14 sürümlerine oldukça eski olan mysql 5.6 yükleme yapılmaz derlemeyi yapsanız bile binary veya ABI uyumsuzluğu yaşarsınız. oyun açacaksanız ve files yüksek sürüm freebsd istiyor ama mysql düşük ise size tavsiyem 2. bir sunucu alın küçük özelliklerde freebsd 10-11 yükleyin mysql 5.6 yı oraya kurun filesin mysql.tar.gz dosyasını 2. sunucuda açın mysql serveri başlatın filesin kurulu olduğu freebsd 14 sunucuda db klasöründeki config dosyasını örnek mt2@localhost olan kısmı mysql5.6 kurulu olan sunucunun ip adresini yazın örnek mt2@12.22.44.54 gibi mt2 kullanıcısınıda navicattan düzenleyin localhost olan kısmı % olarak değiştirip dışarıya açın files freebsd 14 sunucuda çalışsın ama mysql 2. sunucuda sunucuları aynı datacenterdan olmasına dikkat edin ping yüksek olursa oyunda lag yapar.
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst