SuSE GmbH

SuSE Support Database

Title: Adabas D: creating libodbc.so

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

Adabas D: creating libodbc.so

Applies to

Adabas: Version 6.1,10.0

Symptom:

Adabas D is shipped with libodbc.a. Obviously the programs linked with that librarya are rather big. You would like to use a shared library instead.

Solution:

This library may easily be created:

cd $DBROOT/lib
gcc -shared -Wl,-whole-archive odbclib.a \
libsqlptc.a libsqlrte.a /lib/libm.so.5 \
/usr/lib/libncurses.so -o libodbc.so

----------

Keywords: ADABAS, GCC, SHARED

----------

Feedback welcome: Send Mail to Rolf.Haberrecker@suse.de (Please give the following subject: SDB-adabas_libodbc)

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-adabas_libodbc, Copyright SuSE GmbH, Nuremberg, Germany - Version: 03. Feb 1998
SuSE GmbH - Last generated: 07. Oct 1999 16:28:41 by maddin with sdb_gen 1.00.0