[unixODBC-support] Problem when running 'make' on solaris when trying to compile unixODBC

Daniel Browne Daniel.Browne at quadstone.com
Wed Sep 8 16:52:29 BST 2004


Hi,

I am getting the following error when running 'make':

/usr/ccs/bin/ld -G -h libodbctxt.so.1 -o .libs/libodbctxt.so.1.0.0 
SQLAllocConnect.lo SQLAllocEnv.lo SQLAllocHandle.lo SQLAllocStmt.lo 
SQLBindCol.lo SQLBindParameter.lo SQLBrowseConnect.lo 
SQLBulkOperations.lo SQLCancel.lo SQLCloseCursor.lo SQLColAttribute.lo 
SQLColAttributes.lo SQLColumnPrivileges.lo SQLColumns.lo SQLConnect.lo 
SQLCopyDesc.lo SQLDescribeCol.lo SQLDescribeParam.lo SQLDisconnect.lo 
SQLDriverConnect.lo SQLEndTran.lo SQLError.lo SQLExecDirect.lo 
SQLExecute.lo SQLExtendedFetch.lo SQLFetch.lo SQLFetchScroll.lo 
SQLForeignKeys.lo SQLFreeConnect.lo SQLFreeEnv.lo SQLFreeHandle.lo 
SQLFreeStmt.lo SQLGetConnectAttr.lo SQLGetConnectOption.lo 
SQLGetCursorName.lo SQLGetData.lo SQLGetDescField.lo SQLGetDescRec.lo 
SQLGetDiagField.lo SQLGetDiagRec.lo SQLGetEnvAttr.lo SQLGetFunctions.lo 
SQLGetInfo.lo SQLGetStmtAttr.lo SQLGetStmtOption.lo SQLGetTypeInfo.lo 
SQLMoreResults.lo SQLNativeSql.lo SQLNumParams.lo SQLNumResultCols.lo 
SQLParamData.lo SQLParamOptions.lo SQLPrepare.lo SQLPrimaryKeys.lo 
SQLProcedureColumns.lo SQLProcedures.lo SQLPutData.lo SQLRowCount.lo 
SQLSetConnectOption.lo SQLSetCursorName.lo SQLSetDescField.lo 
SQLSetDescRec.lo SQLSetEnvAttr.lo SQLSetParam.lo SQLSetPos.lo 
SQLSetScrollOptions.lo SQLSetStmtAttr.lo SQLSetStmtOption.lo 
SQLSpecialColumns.lo SQLStatistics.lo SQLTablePrivileges.lo SQLTables.lo 
SQLTransact.lo IO.lo IOText.lo driverextras.lo SQLDriverLoad.lo 
SQLDriverUnload.lo -z allextract ../../log/.libs/libloglc.al 
../../ini/.libs/libinilc.al ../../lst/.libs/liblstlc.al 
../../sqp/.libs/libsqplc.al ../../odbcinst/.libs/libodbcinstlc.al 
../../libltdl/.libs/libltdlc.al -z defaultextract 
../../log/.libs/libloglc.al ../../ini/.libs/libinilc.al 
../../lst/.libs/liblstlc.al ../../sqp/.libs/libsqplc.al -lfl 
../../odbcinst/.libs/libodbcinstlc.al ../../libltdl/.libs/libltdlc.al 
-ldl -lthread       -lc
ld: fatal: library -lfl: not found
ld: fatal: File processing errors. No output written to 
.libs/libodbctxt.so.1.0.0
make[3]: *** [libodbctxt.la] Error 1
make[3]: Leaving directory 
`/home/qstest/unixodbc/unixODBC-2.2.9/Drivers/txt'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/qstest/unixodbc/unixODBC-2.2.9/Drivers/txt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/qstest/unixodbc/unixODBC-2.2.9/Drivers'
make: *** [all-recursive] Error 1


Any ideas on how to resolve this?  I tried searching your mail archives 
however they only show the last few months worth of mails.

I've managed to get it working fine on AIX and HP11!  I thought Solaris 
would be the easiest of the lot.

Thanks in advance.
Daniel Browne.




More information about the unixODBC-support mailing list