NYCPHP Meetup

NYPHP.org

[nycphp-talk] Using FreeTDS to connect via PHP to MSSQL

Rafi Sheikh Rafi.Sheikh at Ingenix.com
Wed Jun 30 10:36:43 EDT 2004


Has any one tried to compile FreeTDS for use with PHP (4.3.4 in our case on
AIX 5.1) to connect with MSSQL?  If yes, would you be so kind as to give us
some guidance, our compiles are failing miserably 

I am listing the error below:

-----------ERROR LISTING-----------------
gcc -g -O2 -o .libs/tsql tsql.o  -lcurses -L../tds/.libs -ltds -liconv -lc
-Wl,-blibpath:/usr/local/lib:/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.1.0.0/
2.9-aix51-020209:/usr/bin/../lib/gcc-lib:/opt/freeware/GNUPro/lib/gcc-lib/po
werpc-ibm-aix5.1.0.0/2.9-aix51-020209:/usr/bin/../lib/gcc-lib/powerpc-ibm-ai
x5.1.0.0/2.9-aix51-020209/../../..:/opt/freeware/GNUPro/lib/gcc-lib/powerpc-
ibm-aix5.1.0.0/2.9-aix51-020209/../../..:/usr/lib:/lib
ld: 0711-317 ERROR: Undefined symbol: .tds_submit_query
ld: 0711-317 ERROR: Undefined symbol: .tds_get_null
ld: 0711-317 ERROR: Undefined symbol: .tds_get_conversion_type
ld: 0711-317 ERROR: Undefined symbol: .tds_convert
ld: 0711-317 ERROR: Undefined symbol: .tds_process_row_tokens
ld: 0711-317 ERROR: Undefined symbol: .tds_version
ld: 0711-317 ERROR: Undefined symbol: .tds_client_msg
ld: 0711-317 ERROR: Undefined symbol: .tds_process_result_tokens
ld: 0711-317 ERROR: Undefined symbol: .tds_get_compiletime_settings
ld: 0711-317 ERROR: Undefined symbol: .tds_set_user
ld: 0711-317 ERROR: Undefined symbol: .tds_set_app
ld: 0711-317 ERROR: Undefined symbol: .tds_set_library
ld: 0711-317 ERROR: Undefined symbol: .tds_set_server
ld: 0711-317 ERROR: Undefined symbol: .tds_set_client_charset
ld: 0711-317 ERROR: Undefined symbol: .tds_set_language
ld: 0711-317 ERROR: Undefined symbol: .tds_set_passwd
ld: 0711-317 ERROR: Undefined symbol: .tds_set_interfaces_file_loc
ld: 0711-317 ERROR: Undefined symbol: .tds_set_port
ld: 0711-317 ERROR: Undefined symbol: .tds_alloc_login
ld: 0711-317 ERROR: Undefined symbol: .tds_alloc_context
ld: 0711-317 ERROR: Undefined symbol: .tds_alloc_socket
ld: 0711-317 ERROR: Undefined symbol: .tds_set_parent
ld: 0711-317 ERROR: Undefined symbol: .tds_read_config_info
ld: 0711-317 ERROR: Undefined symbol: .tds_connect
ld: 0711-317 ERROR: Undefined symbol: .tds_free_connection
ld: 0711-317 ERROR: Undefined symbol: .tds_free_socket
ld: 0711-317 ERROR: Undefined symbol: .tds_free_login
ld: 0711-317 ERROR: Undefined symbol: .tds_free_context
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified that
any dissemination, distribution or copying of this e-mail is prohibited. If
you have received this e-mail in error, please notify the sender by replying
to this message and delete this e-mail immediately.



More information about the talk mailing list