Jump to content

Recommended Posts

hello, I have a clean serverfile where everything works fine except for the 'src' part, I use freebsd 13.1 and I can compile the 'db' part but the range part gives me an error that I don't know how to solve, can someone help me?
 

errors:

Spoiler

linking ../game_r41034
/usr/local/bin/ld: /usr/local/lib/mysql/libmysqlclient.a(client.c.o): in function `send_client_reply_packet':
client.c:(.text+0x601c): undefined reference to `SSL_get_peer_certificate'
/usr/local/bin/ld: /usr/local/lib/mysql/libmysqlclient.a(my_aes_openssl.cc.o): in function `my_aes_encrypt':
my_aes_openssl.cc:(.text+0x60): undefined reference to `EVP_CIPHER_iv_length'
/usr/local/bin/ld: /usr/local/lib/mysql/libmysqlclient.a(my_aes_openssl.cc.o): in function `my_aes_decrypt':
my_aes_openssl.cc:(.text+0x224): undefined reference to `EVP_CIPHER_iv_length'
/usr/local/bin/ld: /usr/local/lib/mysql/libmysqlclient.a(my_aes_openssl.cc.o): in function `my_aes_get_size':
my_aes_openssl.cc:(.text+0x2fe): undefined reference to `EVP_CIPHER_block_size'
/usr/local/bin/ld: /usr/local/lib/mysql/libmysqlclient.a(my_aes_openssl.cc.o): in function `my_aes_needs_iv':
my_aes_openssl.cc:(.text+0x33a): undefined reference to `EVP_CIPHER_iv_length'
collect2: error: ld returned 1 exit status
gmake: *** [Makefile:220: ../game_r41034] Error 1

 

Link to comment
https://metin2.dev/topic/32565-source-compilation-problem/
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

i tried that, i installed gcc11 / and pkg install compat7x-i386 compat8x-i386 compat9x-i386 compat11x-i386 compat12x-i386 and openssl etc.

 

root@Kralbenimmmm:~ # pkg install openssl
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
 

Edited by TheWolf
Link to comment
https://metin2.dev/topic/32565-source-compilation-problem/#findComment-164958
Share on other sites

  • 5 months later...

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.