From: Gregor Kovač on
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. |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
From: bharath.krishnan on
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...(a)mikropis.si> wrote:
> 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. |
> -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-


From: Gregor Kovač on
bharath.krishnan(a)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...(a)mikropis.si> wrote:
>> 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. |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
From: bharath.krishnan on
On Mar 12, 3:22 am, Gregor Kovač <gregor.ko...(a)mikropis.si> wrote:
> bharath.krish...(a)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...(a)mikropis.si> wrote:
> >> 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. |
> -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-


From: Gregor Kovač on
bharath.krishnan(a)gmail.com wrote:

> On Mar 12, 3:22 am, Gregor Kovač <gregor.ko...(a)mikropis.si> wrote:
>> bharath.krish...(a)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...(a)mikropis.si> wrote:
>> >> 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. |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-