Consultor Eletrônico



Kbase P125214: SQL Explorer fails to connect to a database.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/12/2008
Status: Unverified

SYMPTOM(s):

SQL Explorer fails to connect to a database.

SQLExplorer.exceptions file has exceptions:

Message (excp): [DataDirect][OpenEdge JDBC Driver]OE Broker fails to start SQL server.

Starting SQL explorer command returns error (8933).

Error: [JDBC Progress Driver]:Database not started. (8933)

Trying to run _sqlsrv2 manually results in the following error:


/usr/dlc/bin/_sqlsrv2: symbol lookup error: /usr/dlc/bin/_sqlsrv2:
undefined sym
bol: __builtin_vec_new


Running the ldd command on _sqlsrv to see what libraries are loaded gave the following list:
ldd _sqlsrv
ibnsl.so.1 => /lib/libnsl.so.1 (0x4002b000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40042000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40076000)
libdl.so.2 => /lib/libdl.so.2 (0x400a3000)
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3
(0x400a7000)
libm.so.6 => /lib/libm.so.6 (0x400ea000)
libc.so.6 => /lib/libc.so.6 (0x4010c000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Running an nm command to search libstdc for the undefined symbol on a working system shows that the symbol is there:
nm /usr/lib/libstdc++-libc6.2-2.so.3 | grep __builtin_vec_new
00027744 W __builtin_vec_new

Running an nm command to search libstdc for the undefined symbol on the non-working system shows that the symbol is missing.

FACT(s) (Environment):

Linux Intel
OpenEdge 10.1B

CAUSE:

libstd.c is missing the needed symbol.

FIX:

Reinstall the libstc library.