[unixODBC-support] unixodbc Make failure: ld: fatal: library -lfl: not found

Martin J. Evans martin.evans at easysoft.com
Tue May 23 23:08:02 BST 2006


I've seen this before but I cannot remember exactly what the problem
was. libfl.* is a flex library. Have you got lex (as in GNU flex) installed?

Martin

Powell, Mark wrote:
> Hello list:
> 
> I am attempting a make of unixodbc on SunOS 5.9 (Solaris 9) and am 
> running into the following failure messages.  I have read through the 
> README, INSTALL, config.log, list archives, and other sources, but can 
> not figure out why the make is apparently having trouble with the 
> libraries.  Everything I have tried has not moved me beyond these 
> errors.  Any help you can provide is greatly appreciated.  This is my 
> first time installing unixODBC so all info is helpful.  Thank you.
> 
> -Mark Powell
> 
> -------make excerpt--------
> 
> Making all in doc
> 
> /bin/bash ../../libtool --mode=link gcc  -g -O2    -o libodbctxt.la 
> -rpath /usr/local/lib -version-info 1:0:0 -module 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 
> ../../log/libloglc.la  ../../ini/libinilc.la  ../../lst/liblstlc.la  
> ../../sqp/libsqplc.la  ../../odbcinst/libodbcinstlc.la  
> ../../libltdl/libltdlc.la  -lthread
> 
> rm -fr .libs/libodbctxt.la .libs/libodbctxt.* .libs/libodbctxt.*
> 
> /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
> 
> *** Error code 1
> 
> make: Fatal error: Command failed for target `libodbctxt.la'
> 
> Current working directory /export/home/mpowell13/unixODBC-2.2.11/Drivers/txt
> 
> *** Error code 1
> 
> make: Fatal error: Command failed for target `all-recursive'
> 
> Current working directory /export/home/mpowell13/unixODBC-2.2.11/Drivers/txt
> 
> *** Error code 1
> 
> make: Fatal error: Command failed for target `all-recursive'
> 
> Current working directory /export/home/mpowell13/unixODBC-2.2.11/Drivers
> 
> *** Error code 1
> 
> make: Fatal error: Command failed for target `all-recursive'
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> unixODBC-support mailing list
> unixODBC-support at easysoft.com
> http://mail.easysoft.com/mailman/listinfo/unixodbc-support
> 
> 
> ------------------------------------------------------------------------
> 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.392 / Virus Database: 268.7.0/345 - Release Date: 22/05/2006




More information about the unixODBC-support mailing list