By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,756 Members | 1,760 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,756 IT Pros & Developers. It's quick & easy.

unixODBC

P: n/a
Hi!

I have DB2 Express-C v9.1 installed on my machine. It is Linux UBUNTO 6.10.
I've installed unixODBC version 2.2.11.
My /etc/odbcinst.ini:
[ODBC]
Trace=yes
Tracefile=/home/gregor/trc.log

[DB2]
Description=DB2 Driver
Driver=/opt/ibm/db2/V9.1/lib32/libdb2.so
Driver64=
Setup=
Setup64=
UsageCount=
CPTimeout=
CPReuse=
fileusage=1
dontdlclose=1

[DEFAULT]
Description=Default Driver
Driver=/opt/ibm/db2/V9.1/lib32/libdb2.so
Driver64=
Setup=
Setup64=
UsageCount=
CPTimeout=
CPReuse=
fileusage=1
dontdlclose=1

My $HOME/odbc.ini:
[DEFAULT]
Driver = DB2

[SAMPLE]
DESCRIPTION = Connection to DB2
DRIVER = DB2
When I run ODBCConfig and try to edit SAMPLE entry under User DSN tab the
program crashes:
ODBCConfig: ltdl.c:3082: try_dlopen: Assertion `filename && *filename'
failed.
What am I doing wrong?

Best regards,
Kovi

--
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
| In A World Without Fences Who Needs Gates? |
| Experience Linux. |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
Mar 9 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Coincindentally, I had the same problem today on Ubuntu 6.10 with the
Oracle odbc driver. This kind of indicates that this issue might be
driver agnostic (an ubuntu/ODBCConfig issue rather than a DB2/Oracle
issue)

On Mar 9, 5:52 am, Gregor Kovač <gregor.ko...@mikropis.siwrote:
Hi!

I have DB2 Express-C v9.1 installed on my machine. It is Linux UBUNTO 6.10.
I've installed unixODBC version 2.2.11.
My /etc/odbcinst.ini:
[ODBC]
Trace=yes
Tracefile=/home/gregor/trc.log

[DB2]
Description=DB2 Driver
Driver=/opt/ibm/db2/V9.1/lib32/libdb2.so
Driver64=
Setup=
Setup64=
UsageCount=
CPTimeout=
CPReuse=
fileusage=1
dontdlclose=1

[DEFAULT]
Description=Default Driver
Driver=/opt/ibm/db2/V9.1/lib32/libdb2.so
Driver64=
Setup=
Setup64=
UsageCount=
CPTimeout=
CPReuse=
fileusage=1
dontdlclose=1

My $HOME/odbc.ini:
[DEFAULT]
Driver = DB2

[SAMPLE]
DESCRIPTION = Connection to DB2
DRIVER = DB2

When I runODBCConfigand try to edit SAMPLE entry under User DSN tab the
program crashes:ODBCConfig: ltdl.c:3082:try_dlopen: Assertion `filename && *filename'
failed.

What am I doing wrong?

Best regards,
Kovi

--
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
| In A World Without Fences Who Needs Gates? |
| Experience Linux. |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-

Mar 9 '07 #2

P: n/a
bh**************@gmail.com wrote:
Coincindentally, I had the same problem today on Ubuntu 6.10 with the
Oracle odbc driver. This kind of indicates that this issue might be
driver agnostic (an ubuntu/ODBCConfig issue rather than a DB2/Oracle
issue)

On Mar 9, 5:52 am, Gregor Kovač <gregor.ko...@mikropis.siwrote:
>Hi!

I have DB2 Express-C v9.1 installed on my machine. It is Linux UBUNTO
6.10. I've installed unixODBC version 2.2.11.
My /etc/odbcinst.ini:
[ODBC]
Trace=yes
Tracefile=/home/gregor/trc.log

[DB2]
Description=DB2 Driver
Driver=/opt/ibm/db2/V9.1/lib32/libdb2.so
Driver64=
Setup=
Setup64=
UsageCount=
CPTimeout=
CPReuse=
fileusage=1
dontdlclose=1

[DEFAULT]
Description=Default Driver
Driver=/opt/ibm/db2/V9.1/lib32/libdb2.so
Driver64=
Setup=
Setup64=
UsageCount=
CPTimeout=
CPReuse=
fileusage=1
dontdlclose=1

My $HOME/odbc.ini:
[DEFAULT]
Driver = DB2

[SAMPLE]
DESCRIPTION = Connection to DB2
DRIVER = DB2

When I runODBCConfigand try to edit SAMPLE entry under User DSN tab the
program crashes:ODBCConfig: ltdl.c:3082:try_dlopen: Assertion `filename
&& *filename' failed.

What am I doing wrong?

Best regards,
Kovi

--
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
| In A World Without Fences Who Needs Gates? |
| Experience Linux. |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
Hi!

Were you able to resolve it ?

Best regards,
Kovi

--
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
| In A World Without Fences Who Needs Gates? |
| Experience Linux. |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
Mar 12 '07 #3

P: n/a
On Mar 12, 3:22 am, Gregor Kovač <gregor.ko...@mikropis.siwrote:
bharath.krish...@gmail.com wrote:
Coincindentally, I had the same problem today on Ubuntu 6.10 with the
Oracle odbc driver. This kind of indicates that this issue might be
driver agnostic (an ubuntu/ODBCConfigissue rather than a DB2/Oracle
issue)
On Mar 9, 5:52 am, Gregor Kovač <gregor.ko...@mikropis.siwrote:
Hi!
I have DB2 Express-C v9.1 installed on my machine. It is Linux UBUNTO
6.10. I've installed unixODBC version 2.2.11.
My /etc/odbcinst.ini:
[ODBC]
Trace=yes
Tracefile=/home/gregor/trc.log
[DB2]
Description=DB2 Driver
Driver=/opt/ibm/db2/V9.1/lib32/libdb2.so
Driver64=
Setup=
Setup64=
UsageCount=
CPTimeout=
CPReuse=
fileusage=1
dontdlclose=1
[DEFAULT]
Description=Default Driver
Driver=/opt/ibm/db2/V9.1/lib32/libdb2.so
Driver64=
Setup=
Setup64=
UsageCount=
CPTimeout=
CPReuse=
fileusage=1
dontdlclose=1
My $HOME/odbc.ini:
[DEFAULT]
Driver = DB2
[SAMPLE]
DESCRIPTION = Connection to DB2
DRIVER = DB2
When I runODBCConfigand try to edit SAMPLE entry under User DSN tab the
program crashes:ODBCConfig: ltdl.c:3082:try_dlopen: Assertion `filename
&& *filename' failed.
What am I doing wrong?
Best regards,
Kovi
--
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
| In A World Without Fences Who Needs Gates? |
| Experience Linux. |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-

Hi!

Were you able to resolve it ?
Nope, I managed to set it up by editing the config file directly.
>
Best regards,
Kovi

--
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
| In A World Without Fences Who Needs Gates? |
| Experience Linux. |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-

Mar 13 '07 #4

P: n/a
bh**************@gmail.com wrote:
On Mar 12, 3:22 am, Gregor Kovač <gregor.ko...@mikropis.siwrote:
>bharath.krish...@gmail.com wrote:
Coincindentally, I had the same problem today on Ubuntu 6.10 with the
Oracle odbc driver. This kind of indicates that this issue might be
driver agnostic (an ubuntu/ODBCConfigissue rather than a DB2/Oracle
issue)
On Mar 9, 5:52 am, Gregor Kovač <gregor.ko...@mikropis.siwrote:
Hi!
>I have DB2 Express-C v9.1 installed on my machine. It is Linux UBUNTO
6.10. I've installed unixODBC version 2.2.11.
My /etc/odbcinst.ini:
[ODBC]
Trace=yes
Tracefile=/home/gregor/trc.log
>[DB2]
Description=DB2 Driver
Driver=/opt/ibm/db2/V9.1/lib32/libdb2.so
Driver64=
Setup=
Setup64=
UsageCount=
CPTimeout=
CPReuse=
fileusage=1
dontdlclose=1
>[DEFAULT]
Description=Default Driver
Driver=/opt/ibm/db2/V9.1/lib32/libdb2.so
Driver64=
Setup=
Setup64=
UsageCount=
CPTimeout=
CPReuse=
fileusage=1
dontdlclose=1
>My $HOME/odbc.ini:
[DEFAULT]
Driver = DB2
>[SAMPLE]
DESCRIPTION = Connection to DB2
DRIVER = DB2
>When I runODBCConfigand try to edit SAMPLE entry under User DSN tab
the program crashes:ODBCConfig: ltdl.c:3082:try_dlopen: Assertion
`filename && *filename' failed.
>What am I doing wrong?
>Best regards,
Kovi
>--
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
| In A World Without Fences Who Needs Gates? |
| Experience Linux. |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-

Hi!

Were you able to resolve it ?

Nope, I managed to set it up by editing the config file directly.
>>
Best regards,
Kovi

--
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
| In A World Without Fences Who Needs Gates? |
| Experience Linux. |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
Can you provide the config file ? Maybe that will give me some clue...

--
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
| In A World Without Fences Who Needs Gates? |
| Experience Linux. |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
Mar 13 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.