Removing duplicate libraries in jbase

More
19 years 5 months ago #2099 by Subha
In jBASE how to remove duplicate librariy entries.

i.e).

jsh ~ -->jshow -c TEST.PART
Subroutine: /sofgen/g13/mbdemo/mbdemo.run/globuslib/lib365.so.4
jBC TEST.PART version 4.0 Tue Aug 31 12:36:43 2004
jBC TEST.PART source file BP
Subroutine (DUP!!): /sofgen/g13/mbdemo/mbdemo.run/lib/lib20.so.407
jBC TEST.PART version 4.0 Tue Aug 31 12:35:37 2004
jBC TEST.PART source file GVA.BP

The actual source is in GVA.BP but the library points to BP. Do any one know how to remove the duplicate entries?

Subha

Please Log in or Create an account to join the conversation.

More
19 years 5 months ago #2100 by malai
Replied by malai on topic Try this
Description

This duplicate entries will happen only when you use EB.COMPILE to compile your jBASE program.

EB.COMPILE uses $HOME/globuslib and $HOME/globusbin when you compile your jbase programs which are in BP or GLOBUS.BP.

For programs other than in BP and GLOBUS.BP it will use $HOME/lib and $HOME/bin.

If a program which is present in both BP and your local bp. And when you compiling both the pograms you will get this duplicate error.

Solution

First do DELETE.CATALOG for your program. This will delete the duplicate library.

If you do DELETE.CATALOG again, it wont alow you to do.

You need to point the JBCDEV_LIB common variable to bnk.run/globuslib and then do DELETE.CATALOG.

jsh ~ -->export JBCDEV_LIB=$HOME/globuslib
jsh ~ -->DELETE.CATALOG TEST.PART

Now the library is completely removed.

Now again point the JBCDEV_LIB to $HOME/lib
jsh ~ -->export JBCDEV_LIB=$HOME/lib
and compile the program which is in your local bp.

For safer side remove the source from BP.

Try this and let me know if you need further help.
_________________
M A L A I

Please Log in or Create an account to join the conversation.

Time to create page: 0.027 seconds