Missing libdb-3.1 DB2 Linux V7.2 OS Linux Debian

Missing libdb-3.1 DB2 Linux V7.2 OS Linux Debian

Post by Klaus Basa » Tue, 29 Jan 2002 18:21:15



Missing libdb-3.1 DB2 Linux V7.2 OS: Linux Debian

From time to time I find the message below in my db2diag.log file.
I checked for the lib and - as a matter of fact - it is not there.
I do not have any problems with my db2 installation, nor do I have the
problem
with my other db2 installations (I crosschecked, the lib is not there
either)

However, I'd like to get rid of the problem.
Has someone an idea?

Q1: Can I simply add the libdb-3.1.so to the db2 lib directory? If so, where
can I get it.
It is not completely trasnparent to me whether it is a DEBIAN or DB2 part.

Q2: What exactly is this lib needed for?

Best regards
KB

Error message
error loading module: P2608700
errno = 2
6c69 6264 622d 332e 312e 736f 3a20 6361 libdb-3.1.so: ca
6e6e 6f74 206f 7065 6e20 7368 6172 6564 nnot open shared
206f 626a 6563 7420 6669 6c65 3a20 4e6f object file: No
2073 7563 6820 6669 6c65 206f 7220 6469 such file or di
7265 6374 6f72 79 rectory

Thats how my libdir looks

libadsm.a libdb2.so.1 libdb2ccsup.so.1 libdb2jext.so libdb2psmd.so
libdb2sqlj.so libibmosse.so.1
libasnlib.a libdb2apie.so libdb2e.so.1 libdb2jwsup.so libdb2psmd.so.1
libddcs.a libmsrvs.so.1
libcapro.so.1 libdb2apie.so.1 libdb2gmf.a libdb2jwsup.so.1 libdb2qp.so
libdfcm.a
libcatcp.a libdb2ar.so libdb2jdbc.so libdb2licm.so libdb2scedu.so.1
libdpdcf.a

 
 
 

Missing libdb-3.1 DB2 Linux V7.2 OS Linux Debian

Post by susan.. » Fri, 01 Feb 2002 06:26:00




>Missing libdb-3.1 DB2 Linux V7.2 OS: Linux Debian

>From time to time I find the message below in my db2diag.log file.
>I checked for the lib and - as a matter of fact - it is not there.
>I do not have any problems with my db2 installation, nor do I have the
>problem
>with my other db2 installations (I crosschecked, the lib is not there
>either)

>However, I'd like to get rid of the problem.
>Has someone an idea?

>Q1: Can I simply add the libdb-3.1.so to the db2 lib directory? If so, where
>can I get it.
>It is not completely trasnparent to me whether it is a DEBIAN or DB2 part.

>Q2: What exactly is this lib needed for?

>Best regards
>KB

>Error message
>error loading module: P2608700
>errno = 2
>6c69 6264 622d 332e 312e 736f 3a20 6361 libdb-3.1.so: ca
>6e6e 6f74 206f 7065 6e20 7368 6172 6564 nnot open shared
>206f 626a 6563 7420 6669 6c65 3a20 4e6f object file: No
>2073 7563 6820 6669 6c65 206f 7220 6469 such file or di
>7265 6374 6f72 79 rectory

Klaus:

That's not a DB2 library.  It looks like you are getting that error
when you are trying to load a shared library called P2608700, which is
probably a stored procedure or udf.  Either that is a module that you
(or someone else with access to the instance) created and installed,
or it is possibly a stored procedure built from the stored procedure
builder (which I don't know much about, so I can't tell you for
sure).  The module is dependent on a library called libdb-3.1.so,
which is not accessible to the stored procedure or udf process.
P2608700 should be in ~/sqllib/function of the instance, so you can
look at it.  If you ever find libdb-3.1.so, you should put a symbolic
link to it in /usr/lib, or the stored proc/udf will never find it.

WW

--
Susan Williams
Technical Lead, DB2 on Linux


 
 
 

Missing libdb-3.1 DB2 Linux V7.2 OS Linux Debian

Post by Klau » Sun, 03 Feb 2002 05:21:52


Thanks a lot, that helped. By understanding the structure I figured out which
database caused the problem. I recompiled the code on the target server
and got rid of the problem.

Thanks KB




> >Missing libdb-3.1 DB2 Linux V7.2 OS: Linux Debian

> >From time to time I find the message below in my db2diag.log file.
> >I checked for the lib and - as a matter of fact - it is not there.
> >I do not have any problems with my db2 installation, nor do I have the
> >problem
> >with my other db2 installations (I crosschecked, the lib is not there
> >either)

> >However, I'd like to get rid of the problem.
> >Has someone an idea?

> >Q1: Can I simply add the libdb-3.1.so to the db2 lib directory? If so, where
> >can I get it.
> >It is not completely trasnparent to me whether it is a DEBIAN or DB2 part.

> >Q2: What exactly is this lib needed for?

> >Best regards
> >KB

> >Error message
> >error loading module: P2608700
> >errno = 2
> >6c69 6264 622d 332e 312e 736f 3a20 6361 libdb-3.1.so: ca
> >6e6e 6f74 206f 7065 6e20 7368 6172 6564 nnot open shared
> >206f 626a 6563 7420 6669 6c65 3a20 4e6f object file: No
> >2073 7563 6820 6669 6c65 206f 7220 6469 such file or di
> >7265 6374 6f72 79 rectory

> Klaus:

> That's not a DB2 library.  It looks like you are getting that error
> when you are trying to load a shared library called P2608700, which is
> probably a stored procedure or udf.  Either that is a module that you
> (or someone else with access to the instance) created and installed,
> or it is possibly a stored procedure built from the stored procedure
> builder (which I don't know much about, so I can't tell you for
> sure).  The module is dependent on a library called libdb-3.1.so,
> which is not accessible to the stored procedure or udf process.
> P2608700 should be in ~/sqllib/function of the instance, so you can
> look at it.  If you ever find libdb-3.1.so, you should put a symbolic
> link to it in /usr/lib, or the stored proc/udf will never find it.

> WW

 
 
 

1. Missing documentation (DB2 V7.1 PE for Linux)

Hi,

The file /usr/IBMdb2/V7.1/doc/en_US/html/index.htm points to many
files that does not exists, for example if you folow the link
"DB2 Personal Edition for Linux Quick Beginnings" it points to
/usr/IBMdb2/V7.1/doc/en_US/html/db2i4/index.htm
but that file does not exists, where can I download a complete set
of documentation?

Greetings, Herbert

2. Newbie: SQL server setup on win98

3. Installing DB2 Personal Edition on Debian GNU/Linux

4. Grid's recordsource problem

5. db2 on debian linux?

6. Podoxwin 9 on the same net file with ver. of 8 and 7

7. Connecting to db2 v7.1(linux) from db2 5.2 cc(nt)

8. Data Transformation Tools

9. Looking for DB2/UB2 v7.2 for Linux

10. IDENTITY_VAL_LOCAL() doesn't seem to work under Linux (SuSE 8-0) db2 V7.1

11. Problems with Command Center on DB2 v7.1 Fixpak 3 on Redhat Linux 7.1

12. DB2 WE V7.1.0 TCP/IP on new Redhat Linux 7

13. DB2 V7.1: W2K client to Linux server