Antwort: Re: [unixODBC-support] Informix ODBC Connect [ Virenprüfung durchgeführt]

daniel.oberdick at barmenia.de daniel.oberdick at barmenia.de
Fri Aug 25 10:16:24 BST 2006


hi nick,
thanks for the hints.
the file exists and is readable by others. 
it also doesn't make any difference if i comment out the line 
   TRANSLATIONDLL=/opt/informix/ids100/lib/esql/igo4a304.so.

but here is an extract from the strace output:
open("/opt/informix/ids100/lib/esql/igo4a304.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\370\20"..., 512) 
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=15787, ...}) = 0
mmap2(NULL, 16032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb7af5000
mmap2(0xb7af8000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0xb7af8000
close(3)                                = 0
munmap(0xb7af5000, 16032)               = 0
open("/opt/informix/ids100/msg/clixmsg.pam", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=3715, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0xb7af8000
read(3, "itox00\0\0\1\35\0\0\0d\0\0\214\24702000\0\0\0\0\0\0\214"..., 
4096) = 3715
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7af8000, 4096)                = 0
access("/opt/informix/ids100/msg/en_us/0333/cli.iem", R_OK) = 0
open("/opt/informix/ids100/msg/en_us/0333/cli.iem", O_RDONLY|O_LARGEFILE) 
= 3
read(3, "\376h\0\324", 4)               = 4
_llseek(3, 844, [844], SEEK_SET)        = 0
read(3, "\324\236\0000\0\0\23\3\324\237\0\31\0\0\22\351\324\240"..., 64) = 
64
_llseek(3, 1300, [1300], SEEK_SET)      = 0
read(3, "\324\327\0\33\0\0\f\325\324\330\0001\0\0\f\243\324\331"..., 64) = 
64
_llseek(3, 3235, [3235], SEEK_SET)      = 0
read(3, "Unable to load translation share"..., 49) = 49
open("/tmp/odbc.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=29512, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0xb7af8000
fstat64(4, {st_mode=S_IFREG|0644, st_size=29512, ...}) = 0
_llseek(4, 29512, [29512], SEEK_SET)    = 0
write(4, "\t\tDIAG [IM009] [Informix][Inform"..., 97) = 97
close(4)                                = 0
munmap(0xb7af8000, 4096)                = 0
munmap(0xb7bd1000, 1338156)             = 0
munmap(0xb7b8f000, 267052)              = 0
munmap(0xb7b8d000, 5892)                = 0
munmap(0xb7b68000, 147584)              = 0
munmap(0xb7b3a000, 184636)              = 0
open("/tmp/odbc.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=29609, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0xb7d17000
fstat64(4, {st_mode=S_IFREG|0644, st_size=29609, ...}) = 0
_llseek(4, 29609, [29609], SEEK_SET)    = 0
write(4, "[ODBC][21130][SQLConnect.c][3590"..., 53) = 53
close(4)                                = 0
munmap(0xb7d17000, 4096)                = 0
open("/tmp/odbc.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=29662, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0xb7d17000
fstat64(4, {st_mode=S_IFREG|0644, st_size=29662, ...}) = 0
_llseek(4, 29662, [29662], SEEK_SET)    = 0
write(4, "[ODBC][21130][SQLError.c][424]\n\t"..., 291) = 291
close(4)                                = 0
munmap(0xb7d17000, 4096)                = 0
open("/tmp/odbc.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=29953, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0xb7d17000
fstat64(4, {st_mode=S_IFREG|0644, st_size=29953, ...}) = 0
_llseek(4, 29953, [29953], SEEK_SET)    = 0
write(4, "[ODBC][21130][SQLError.c][461]\n\t"..., 276) = 276
close(4)                                = 0
munmap(0xb7d17000, 4096)                = 0
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0xb7d17000
write(1, "[unixODBC][Informix][Informix OD"..., 91) = 91
open("/tmp/odbc.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=30229, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0xb7d16000
fstat64(4, {st_mode=S_IFREG|0644, st_size=30229, ...}) = 0
_llseek(4, 30229, [30229], SEEK_SET)    = 0
write(4, "[ODBC][21130][SQLError.c][424]\n\t"..., 291) = 291

thanks daniel




Bitte antworten an Support for the unixODBC project 
<unixodbc-support at easysoft.com>
Gesendet von:   unixodbc-support-bounces at easysoft.com
An:     Support for the unixODBC project <unixodbc-support at easysoft.com>
Kopie:   
Thema:  Re: [unixODBC-support] Informix ODBC Connect [Virenprüfung 
durchgeführt]

daniel.oberdick at barmenia.de wrote:

>Hallo,
>i try to get an odbc connect to an informix dynamic server 100 but when
>i enter:   isql -v DSN [UID [PWD]] and get the following error
>
>[unixODBC][Informix][Informix ODBC Driver]Unable to load translation
>shared library (DLL).
>[ISQL]ERROR: Could not SQLConnect
>
>
>
I would guess its a lib path problem thats stopping the driver loading
the mentioned lib. Try using strace to see what libs its trying to load.

Actually, looking at your ini, from the line

TRANSLATIONDLL=/opt/informix/ids100/lib/esql/igo4a304.so

I would guess thats the lib its trying to load. Have you got that file? 
What happens if you comment out that line?

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

_______________________________________________
unixODBC-support mailing list
unixODBC-support at easysoft.com
http://mail.easysoft.com/mailman/listinfo/unixodbc-support

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20060825/ed852846/attachment.html>


More information about the unixODBC-support mailing list