Advertisement
Guest User

Untitled

a guest
Jul 9th, 2014
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.06 KB | None | 0 0
  1. While compiling:
  2. ../../lib/libglobal.a(dict_mysql.o): In function `plmysql_dealloc':
  3. /opt/postfixtemp/postfix-2.11.1/src/global/dict_mysql.c:844: undefined reference to `mysql_close'
  4. ../../lib/libglobal.a(dict_mysql.o): In function `plmysql_close_host':
  5. /opt/postfixtemp/postfix-2.11.1/src/global/dict_mysql.c:600: undefined reference to `mysql_close'
  6. ../../lib/libglobal.a(dict_mysql.o): In function `plmysql_down_host':
  7. /opt/postfixtemp/postfix-2.11.1/src/global/dict_mysql.c:611: undefined reference to `mysql_close'
  8. ../../lib/libglobal.a(dict_mysql.o): In function `plmysql_query':
  9. /opt/postfixtemp/postfix-2.11.1/src/global/dict_mysql.c:533: undefined reference to `mysql_query'
  10. /opt/postfixtemp/postfix-2.11.1/src/global/dict_mysql.c:534: undefined reference to `mysql_store_result'
  11. /opt/postfixtemp/postfix-2.11.1/src/global/dict_mysql.c:535: undefined reference to `mysql_error'
  12. ../../lib/libglobal.a(dict_mysql.o): In function `dict_mysql_lookup':
  13. /opt/postfixtemp/postfix-2.11.1/src/global/dict_mysql.c:384: undefined reference to `mysql_num_rows'
  14. ../../lib/libglobal.a(dict_mysql.o): In function `plmysql_query':
  15. /opt/postfixtemp/postfix-2.11.1/src/global/dict_mysql.c:544: undefined reference to `mysql_error'
  16. ../../lib/libglobal.a(dict_mysql.o): In function `plmysql_connect_single':
  17. /opt/postfixtemp/postfix-2.11.1/src/global/dict_mysql.c:559: undefined reference to `mysql_init'
  18. /opt/postfixtemp/postfix-2.11.1/src/global/dict_mysql.c:562: undefined reference to `mysql_options'
  19. /opt/postfixtemp/postfix-2.11.1/src/global/dict_mysql.c:564: undefined reference to `mysql_options'
  20. /opt/postfixtemp/postfix-2.11.1/src/global/dict_mysql.c:568: undefined reference to `mysql_ssl_set'
  21. /opt/postfixtemp/postfix-2.11.1/src/global/dict_mysql.c:574: undefined reference to `mysql_options'
  22. /opt/postfixtemp/postfix-2.11.1/src/global/dict_mysql.c:578: undefined reference to `mysql_real_connect'
  23. /opt/postfixtemp/postfix-2.11.1/src/global/dict_mysql.c:591: undefined reference to `mysql_error'
  24. ../../lib/libglobal.a(dict_mysql.o): In function `dict_mysql_lookup':
  25. /opt/postfixtemp/postfix-2.11.1/src/global/dict_mysql.c:388: undefined reference to `mysql_free_result'
  26. /opt/postfixtemp/postfix-2.11.1/src/global/dict_mysql.c:394: undefined reference to `mysql_fetch_row'
  27. /opt/postfixtemp/postfix-2.11.1/src/global/dict_mysql.c:395: undefined reference to `mysql_num_fields'
  28. /opt/postfixtemp/postfix-2.11.1/src/global/dict_mysql.c:407: undefined reference to `mysql_free_result'
  29. ../../lib/libglobal.a(dict_mysql.o): In function `dict_mysql_quote':
  30. /opt/postfixtemp/postfix-2.11.1/src/global/dict_mysql.c:303: undefined reference to `mysql_real_escape_string'
  31. /opt/postfixtemp/postfix-2.11.1/src/global/dict_mysql.c:307: undefined reference to `mysql_escape_string'
  32. collect2: error: ld returned 1 exit status
  33. make: *** [error] Error 1
  34. make: *** [update] Error 1
  35.  
  36. My make parameters:
  37. make makefiles shared=yes dynamicmaps=yes 'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include -DUSE_TLS' 'AUXLIBS=-L/usr/lib/x86_64-linux-gnu -lssl -lcrypto' 'AUXLIBS_MYSQL=-L/usr/local/mysql/lib -lmysqlclient -lz -lm'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement