Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-30-2006, 10:28 PM
bearz2
Fire Beetle
 
Join Date: Mar 2006
Posts: 1
Default FC4 linking question.

L/usr/include/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dn
s -lresolv -lc -lnss_files -lnss_dns -lresolv `perl -MExtUtils::Embed -e ldopts`
-o zone
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(client.o)(.text+0
x689): In function `mysql_close_free_options':
: undefined reference to `SSL_CTX_free'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viossl.o)(.text+0
x25): In function `report_errors':
: undefined reference to `ERR_get_error_line_data'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viossl.o)(.text+0
x67): In function `vio_ssl_read':
: undefined reference to `SSL_read'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viossl.o)(.text+0
x88): In function `vio_ssl_read':
: undefined reference to `SSL_get_error'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viossl.o)(.text+0
xbc): In function `vio_ssl_write':
: undefined reference to `SSL_write'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viossl.o)(.text+0
x208): In function `vio_ssl_close':
: undefined reference to `SSL_shutdown'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viossl.o)(.text+0
x218): In function `vio_ssl_close':
: undefined reference to `SSL_free'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viossl.o)(.text+0
x331): In function `sslaccept':
: undefined reference to `SSL_new'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viossl.o)(.text+0
x343): In function `sslaccept':
: undefined reference to `SSL_clear'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viossl.o)(.text+0
x351): In function `sslaccept':
: undefined reference to `SSL_get_session'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viossl.o)(.text+0
x360): In function `sslaccept':
: undefined reference to `SSL_SESSION_set_timeout'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viossl.o)(.text+0
x374): In function `sslaccept':
: undefined reference to `SSL_set_fd'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viossl.o)(.text+0
x382): In function `sslaccept':
: undefined reference to `SSL_set_accept_state'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viossl.o)(.text+0
x390): In function `sslaccept':
: undefined reference to `SSL_do_handshake'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viossl.o)(.text+0
x3fd): In function `sslaccept':
: undefined reference to `SSL_free'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viossl.o)(.text+0
x477): In function `sslconnect':
: undefined reference to `SSL_new'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viossl.o)(.text+0
x489): In function `sslconnect':
: undefined reference to `SSL_clear'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viossl.o)(.text+0
x497): In function `sslconnect':
: undefined reference to `SSL_get_session'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viossl.o)(.text+0
x4a6): In function `sslconnect':
: undefined reference to `SSL_SESSION_set_timeout'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viossl.o)(.text+0
x4ba): In function `sslconnect':
: undefined reference to `SSL_set_fd'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viossl.o)(.text+0
x4c8): In function `sslconnect':
: undefined reference to `SSL_set_connect_state'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viossl.o)(.text+0
x4d6): In function `sslconnect':
: undefined reference to `SSL_do_handshake'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viossl.o)(.text+0
x543): In function `sslconnect':
: undefined reference to `SSL_free'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x8): In function `get_dh512':
: undefined reference to `DH_new'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x2a): In function `get_dh512':
: undefined reference to `BN_bin2bn'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x49): In function `get_dh512':
: undefined reference to `BN_bin2bn'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x67): In function `get_dh512':
: undefined reference to `DH_free'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x9a): In function `report_errors':
: undefined reference to `ERR_get_error_line_data'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0xcd): In function `vio_set_cert_stuff':
: undefined reference to `SSL_CTX_use_certificate_file'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0xf1): In function `vio_set_cert_stuff':
: undefined reference to `SSL_CTX_use_PrivateKey_file'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0xfd): In function `vio_set_cert_stuff':
: undefined reference to `SSL_CTX_check_private_key'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x14e): In function `vio_set_cert_stuff':
: undefined reference to `ERR_print_errors_fp'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x1c1): In function `vio_set_cert_stuff':
: undefined reference to `ERR_print_errors_fp'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x1e9): In function `vio_verify_callback':
: undefined reference to `X509_STORE_CTX_get_current_cert'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x1f3): In function `vio_verify_callback':
: undefined reference to `X509_STORE_CTX_get_error'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x1fb): In function `vio_verify_callback':
: undefined reference to `X509_STORE_CTX_get_error_depth'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x209): In function `vio_verify_callback':
: undefined reference to `X509_get_subject_name'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x223): In function `vio_verify_callback':
: undefined reference to `X509_NAME_oneline'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x271): In function `vio_verify_callback':
: undefined reference to `X509_get_issuer_name'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x285): In function `vio_verify_callback':
: undefined reference to `X509_NAME_oneline'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x2e7): In function `new_VioSSLConnectorFd':
: undefined reference to `TLSv1_client_method'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x2f2): In function `new_VioSSLConnectorFd':
: undefined reference to `SSL_CTX_new'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x30c): In function `new_VioSSLConnectorFd':
: undefined reference to `SSL_CTX_set_cipher_list'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x326): In function `new_VioSSLConnectorFd':
: undefined reference to `SSL_CTX_set_verify'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x350): In function `new_VioSSLConnectorFd':
: undefined reference to `SSL_CTX_load_verify_locations'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x379): In function `new_VioSSLConnectorFd':
: undefined reference to `SSL_CTX_ctrl'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x381): In function `new_VioSSLConnectorFd':
: undefined reference to `DH_free'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x394): In function `new_VioSSLConnectorFd':
: undefined reference to `SSL_CTX_set_default_verify_paths'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x3bc): In function `new_VioSSLConnectorFd':
: undefined reference to `SSL_load_error_strings'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x3cd): In function `new_VioSSLConnectorFd':
: undefined reference to `SSL_library_init'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x3d2): In function `new_VioSSLConnectorFd':
: undefined reference to `OPENSSL_add_all_algorithms_noconf'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x427): In function `new_VioSSLAcceptorFd':
: undefined reference to `TLSv1_server_method'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x432): In function `new_VioSSLAcceptorFd':
: undefined reference to `SSL_CTX_new'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x44c): In function `new_VioSSLAcceptorFd':
: undefined reference to `SSL_CTX_set_cipher_list'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libmysqlclient.a(viosslfactories.o
)(.text+0x46e): In function `new_VioSSLAcceptorFd':
: undefined reference to `SSL_CTX_ctrl'

It continues.

What in gods green earth is causing this problem?

bearz
Reply With Quote
  #2  
Old 03-30-2006, 11:21 PM
Belfedia
Demi-God
 
Join Date: Jan 2005
Posts: 1,109
Default

Are you sure about Devs files from mysql install ?
__________________
__________________________________________________ _____________________________________
I speak english like a spanish cow..., I speak spanish like a english pudding...
But I try to speak good french !!! (Non au langage SMS sur forum)
http://eqfroggy.new.fr : Froggy French Server Website.
Reply With Quote
  #3  
Old 03-31-2006, 12:55 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

lmysqlclient is found in the MySQL lib dir /usr/lib/mysql in a default FC4 install. You could try specifying that lib dir in your makefile.
Reply With Quote
  #4  
Old 03-31-2006, 02:27 AM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

its clearly erroring on ssl symbols, which means you need to link the open ssl libraries. im suprised these didnt come out of mysql_config...

ter looking at -lssl and maybe -lcrypto and some others, im sure google can help you.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 04:04 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3