Nimish Bhargava | 2 Mar 2009 10:58
Picon

Re: Problem in SQLRowCount

I have installed the maxdb-callif-7.6.0 rpm for x86_64 arch which provides the libsqlrte.a library.

Regards
Nimish

On Wed, Feb 25, 2009 at 10:21 PM, Nick Gorham <nick <at> lurcher.org> wrote:
Nimish Bhargava wrote:

I am using the drivers provided with the maxdb 7.6 package.
SQLULEN has been defined as unsigned int in the maxdb header files.

 
I just tried to install and test this myself, but I get a missing libsqlrte.a when I try and build the example ODBC app from Sap


--
Nick
_______________________________________________
unixODBC-dev mailing list
unixODBC-dev <at> mailman.unixodbc.org
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev

_______________________________________________
unixODBC-dev mailing list
unixODBC-dev <at> mailman.unixodbc.org
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev
Nick Gorham | 2 Mar 2009 11:43
Favicon

Re: Problem in SQLRowCount

Nimish Bhargava wrote:

>I have installed the maxdb-callif-7.6.0 rpm for x86_64 arch which provides
>the libsqlrte.a library.
>  
>

Ok, I just took another look, and it was just a build problem that was 
stopping the compile.

So, after getting the suppled HelloMaxDB.c to build, on a 64 bit Fedora 
4 machine, the MaxDB headers are defining SQLLEN as 8 byte in lenght, in 
/opt/sdb/programs/incl/sqltypes.h the line is

typedef long            SQLLEN;

So my feeling at this point is you want the default 64 bit build of 
2.2.14 to work with the database.

--

-- 
Nick Gorham
Easysoft Limited
http://www.easysoft.com, http://www.unixODBC.org

_______________________________________________
unixODBC-dev mailing list
unixODBC-dev <at> mailman.unixodbc.org
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev

Tony Sampaio | 11 Mar 2009 15:20
Picon

error in execution

alpha:~/Desktop # odbcinst -j
unixODBC 2.2.14
DRIVERS............: /etc/odbcinst.ini
SYSTEM DATA SOURCES: /etc/odbc.ini
FILE DATA SOURCES..: /etc/ODBCDataSources
USER DATA SOURCES..: /root/.odbc.ini
SQLULEN Size.......: 4
SQLLEN Size........: 4
SQLSETPOSIROW Size.: 2

alpha:~/Desktop # ODBCConfig
ODBCConfig: symbol lookup error: ODBCConfig: undefined symbol: ODBCINSTSQLManageDataSources

please, could someone help me?
--
Tony Sampaio
tonysampa <at> gmail.com
(65) 9247-8302

_______________________________________________
unixODBC-dev mailing list
unixODBC-dev <at> mailman.unixodbc.org
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev
Nick Gorham | 11 Mar 2009 15:41
Favicon

Re: error in execution

Tony Sampaio wrote:

>alpha:~/Desktop # odbcinst -j
>unixODBC 2.2.14
>DRIVERS............: /etc/odbcinst.ini
>SYSTEM DATA SOURCES: /etc/odbc.ini
>FILE DATA SOURCES..: /etc/ODBCDataSources
>USER DATA SOURCES..: /root/.odbc.ini
>SQLULEN Size.......: 4
>SQLLEN Size........: 4
>SQLSETPOSIROW Size.: 2
>
>alpha:~/Desktop # ODBCConfig
>ODBCConfig: symbol lookup error: ODBCConfig: undefined symbol:
>ODBCINSTSQLManageDataSources
>
>please, could someone help me?
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>unixODBC-dev mailing list
>unixODBC-dev <at> mailman.unixodbc.org
>http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev
>  
>
Hi,

There is a unixODBC-2.2.14-p1.tar.gz on the ftp site that has the fix 
for this.

--

-- 
Nick
_______________________________________________
unixODBC-dev mailing list
unixODBC-dev <at> mailman.unixodbc.org
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev

wanger | 20 Mar 2009 02:43
Favicon

Sqlstate is :IM003


Hello,Now I write a c program with unixodbc.When I execute the executable
file,the system returned the following message.
Sqlstate is :IM003
NativeErrorPtr is :80
MessageText is :Specified driver could not be loaded.

The compile commands I used is :
gcc -c final.c
gcc -o final -lodbc -lodbcinst -lnsl -lm final.o

Thank you very much in any advice.
If you have a MSN Account,we can talk about the question via MSN.
                                                    ww
                                                2009-3-19

--

-- 
View this message in context: http://www.nabble.com/Sqlstate-is-%3AIM003-tp22612922p22612922.html
Sent from the unixODBC - Dev mailing list archive at Nabble.com.

_______________________________________________
unixODBC-dev mailing list
unixODBC-dev <at> mailman.unixodbc.org
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev


Gmane