[unixODBC-support] Unsatisfied code symbol libiconv_open in load module /opt/odbc/lib/libodbc.sl.

Wisnu Aji mokie.id at gmail.com
Mon Jul 19 08:05:03 BST 2010


Dear ODBC Support,

I have encounter a problem with unixODBC, i was trying to setup our system
into a new development server, the unixODBC isql running well without a
problem after odbc installation, but when i tried to run a pgm it returns
/usr/lib/hpux32/dld.so: Unsatisfied code symbol 'libiconv_open' in load
module '/opt/odbc/lib/libodbc.sl'. . We never encounter this problem before,
so here is some info that might help.

[DEV at CWOPR] /home/cwopr >> /opt/odbc/bin/isql CW ccps ccps
+---------------------------------------+
| Connected! |
| |
| sql-statement |
| help [tablename] |
| quit |
| |
+---------------------------------------+
SQL> select count(*) from ir134;
+------------+
| 1 |
+------------+
| 28337 |
+------------+
SQLRowCount returns -1
1 rows fetched


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[DEV at CWOPR] /disc2/CW/ISS/CWJCL >> JR70053
/usr/lib/hpux32/dld.so: Unsatisfied code symbol 'libiconv_open' in load
module '/opt/odbc/lib/libodbc.sl'.
JR70053[3]: 5531 Killed

chk balance of IR134 against IRC02

output at /R70053.rpt

Start Time and Date : Mon Jul 19 02:37:05 TST 2010
pid name : 5539
/usr/lib/hpux32/dld.so: Unsatisfied code symbol 'libiconv_open' in load
module '/opt/odbc/lib/libodbc.sl'.
JR70053[15]: 5539 Killed
137

ls -ld /opt/odbc/lib/libodbc.sl
lrwxrwxrwx   1 root       sys             14 Jul 19 03:57
/opt/odbc/lib/libodbc.sl -> libodbc.sl.1.0

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
/ >> file /stand/vmunix
/stand/vmunix:  ELF-64 executable object file - IA64
[HP at root] / >> uname -a
HP-UX cw-uat B.11.31 U ia64 2867719451 unlimited-user license


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
/ >> gcc -v
Using built-in specs.
Target: ia64-hp-hpux11.23
Configured with: /tmp/gcc-4.4.0.tar.gz/gcc-4.4.0/configure
--host=ia64-hp-hpux11.23 --target=ia64-hp-hpux11.23
--build=ia64-hp-hpux11.23 --prefix=/opt/hp-gcc-4.4.0 --with-gnu-as
--without-gnu-ld --enable-threads=posix --enable-languages=c,c++
--with-gmp=/proj/opensrc/be/ia64-hp-hpux11.23
--with-mpfr=/proj/opensrc/be/ia64-hp-hpux11.23
Thread model: posix
gcc version 4.4.0 (GCC)


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[DEV at CWOPR] /disc2/CW/ISS/CWJCL >> export $LD_LIBRARY_PATH
ksh:
/opt/microfocus/cobol/lib:/opt/odbc/lib:/home/db2inst1/sqllib/lib32:/opt/oracle/lib:/usr/lib/hpux32:
is not an identifier
[DEV at CWOPR] /disc2/CW/ISS/CWJCL >> export $SHLIB_PATH
ksh:
/opt/oracle/lib:/opt/microfocus/cobol/lib:/opt/odbc/lib:/home/db2inst1/sqllib/lib32:/usr/lib/hpux32:
is not an identifier
[DEV at CWOPR] /disc2/CW/ISS/CWJCL >> export $PATH
ksh:
/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/contrib/Q4/bin:/opt/perl/bin:/opt/ipf/bin:/opt/nettladm/bin:/opt/fcms/bin:/opt/wbem/bin:/opt/wbem/sbin:/opt/sas/bin:/opt/graphics/common/bin:/opt/atok/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/sec_mgmt/bastille/bin:/opt/drd/bin:/opt/dsau/bin:/opt/dsau/sbin:/opt/resmon/bin:/opt/firefox:/opt/gnome/bin:/usr/contrib/kwdb/bin:/opt/mozilla:/opt/perl_32/bin:/opt/perl_64/bin:/opt/prm/bin:/opt/sfm/bin:/opt/swm/bin:/opt/sec_mgmt/spc/bin:/opt/ssh/bin:/opt/sentinel/bin:/opt/swa/bin:/opt/hpsmh/bin:/opt/thunderbird:/opt/langtools/bin:/opt/gwlm/bin:/opt/caliper/bin:/opt/cadvise/bin:/opt/hp-gcc/bin:/opt/odbc/bin:.:/home/db2inst1/sqllib/bin:/home/db2inst1/sqllib/adm:/home/db2inst1/sqllib/misc:/opt/java1.5/bin:/opt/oracle/bin:/opt/microfocus/cobol/bin:/opt/odbc/bin:.:
is not an identifier


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[HP at root] /opt/odbc/etc >> ls
ODBCDataSources  odbc.ini         odbcCW.ini       odbcinst.ini
[HP at root] /opt/odbc/etc >> cat odbcinst.ini
[DB2]
Driver=/home/db2inst1/sqllib/lib32/libdb2.so
Setup=/home/db2inst1/sqllib/lib32/libdb2.so
[HP at root] /opt/odbc/etc >> cat odbcCW.ini
[CW]
Description             = DB2 Driver for HP-UX
Driver=/home/db2inst1/sqllib/lib32/libdb2.so
Setup=/home/db2inst1/sqllib/lib32/libdb2.so
FileUsage               = 1
DontDLClose             = 1
UsageCount              = 2

[ODBC]
TraceFile               = /tmp/odbctrc.log
Trace                   = Yes
UsageCount              = 1
[HP at root] /opt/odbc/etc >> cat odbc.ini
[SAMPLE]
Desc = DB2 SAMPLE DATABASE
Driver = DB2


Using unixODBC-2.2.11

-- 
View this message in context: http://old.nabble.com/Unsatisfied-code-symbol-libiconv_open-in-load-module--opt-odbc-lib-libodbc.sl.-tp29201130p29201130.html
Sent from the unixODBC - Support mailing list archive at Nabble.com.



More information about the unixODBC-support mailing list