- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Make: Cannot open procob.mk. Stop.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2003 02:15 AM
тАО02-28-2003 02:15 AM
Make: Cannot open procob.mk. Stop.
Just a question after this following :
$ make -f procob.mk build COBS="sample1.cob sample2.cob" EXE=sample add PCCFLAGS > link.lib
Make: Cannot open procob.mk. Stop.
=============================================
May I need to create the "procob.mk" file as I have already "env_precomp.mk" file?
In order term, if no, what to do exactely?
=============================================
Thanks.
Engo Armand-Blaise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2003 02:26 AM
тАО02-28-2003 02:26 AM
Re: Make: Cannot open procob.mk. Stop.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2003 02:42 AM
тАО02-28-2003 02:42 AM
Re: Make: Cannot open procob.mk. Stop.
There is no need to create procob.mk
You need to add the path to the existing PATH
$ORACLE_HOME/procob/demo
$ORACLE_HOME/proc/lib
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2003 02:57 AM
тАО02-28-2003 02:57 AM
Re: Make: Cannot open procob.mk. Stop.
$ make -f demo_procob18.mk build EXE=sample2 COBS=sample2.cob > link.lib
sh: procob18: not found.
Stop.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2003 03:06 AM
тАО02-28-2003 03:06 AM
Re: Make: Cannot open procob.mk. Stop.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2003 03:45 AM
тАО02-28-2003 03:45 AM
Re: Make: Cannot open procob.mk. Stop.
Run the Installer again to choose that specific product.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2003 04:40 AM
тАО02-28-2003 04:40 AM
Re: Make: Cannot open procob.mk. Stop.
The "procob18" is well installed in the $ORACLE_HOME/bin.
The following command gives me this message :
$ make -f procob.mk build COBS="sample1.cob sample2.cob" EXE=sample add PCCFLAGS > link.lib
========================================
/usr/lib/dld.sl: Can't find path for shared library: libwtc8.sl
/usr/lib/dld.sl: No such file or directory
sh: 27983 Abort(coredump)
Stop
==============================================
cyb_hpux [ /cyborg/app/oracle/product/817/precomp/demo/procob ] $ more link.lib
procob18 iname=sample2.pco
*** Error exit code 134
==============================================
What do you suggest me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2003 05:33 AM
тАО02-28-2003 05:33 AM
Re: Make: Cannot open procob.mk. Stop.
Make sure of the following:
$LD_LIBRARY_PATH - includes $ORACLE_HOME/lib64, but not $ORACLE_HOME/lib
$SHLIB_PATH - includes $ORACLE_HOME/lib, but not $ORACLE_HOME/lib64
And retry...
Hope this helps!
Best Regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2003 05:36 AM
тАО02-28-2003 05:36 AM
Re: Make: Cannot open procob.mk. Stop.
are you running HP-UX Oracle 64-bits or 32-bits
also, your HP-UX 11?
please let us know
Regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 12:19 AM
тАО03-03-2003 12:19 AM
Re: Make: Cannot open procob.mk. Stop.
ORACLE_HOME=/cyborg/app/oracle/product/817 ; export ORACLE_HOME
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH ; export LD_LIBRARY_PATH
PATH=$PATH:$ORACLE_HOME/bin ; export PATH
# Set Cobol Environment
LPATH=/usr/lib:/opt/cobol/cobdir; export LPATH
SHLIB_PATH=/opt/cobol/cobdir/coblib ; export SHLIB_PATH
=============================================
I hope this will help.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 12:37 AM
тАО03-03-2003 12:37 AM
Re: Make: Cannot open procob.mk. Stop.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 01:01 AM
тАО03-03-2003 01:01 AM
Re: Make: Cannot open procob.mk. Stop.
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH ; export LD_LIBRARY_PATH
LPATH=/usr/lib:/opt/cobol/cobdir ; export LPATH
SHLIB_PATH=/opt/cobol/cobdir/coblib:$ORACLE_HOME/lib; export SHLIB_PATH
PATH=$PATH:/usr/bin:/usr/ccs/bin:/opt/cobol ; export PATH
PATH=$PATH:/opt/cobol/bin:/opt/cobol/bin ; export PATH
PATH=$PATH:$LPATH:$SHLIB_PATH ; export PATH
PATH=$PATH:$ORACLE_HOME/precomp/demo/procob ; export PATH
PATH=$PATH:$ORACLE_HOME/precomp/lib ; export PATH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 01:23 AM
тАО03-03-2003 01:23 AM
Re: Make: Cannot open procob.mk. Stop.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 01:32 AM
тАО03-03-2003 01:32 AM
Re: Make: Cannot open procob.mk. Stop.
chatr procob18 | more
The output should show that SHLIB_PATH is enabled e.g.
procob18:
shared executable
shared library dynamic path search:
SHLIB_PATH enabled first
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 01:33 AM
тАО03-03-2003 01:33 AM
Re: Make: Cannot open procob.mk. Stop.
$ echo $ORACLE_HOME
/cyborg/app/oracle/product/817
$ l -ltr $ORACLE_HOME/lib/libwtc8.sl
-rwxr-xr-x 1 oracle dba 12288 Aug 25 2000 /cyborg/app/oracle/pro
duct/817/lib/libwtc8.sl
==============================================
Must I obliged to re-install the precompiler or not?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 01:40 AM
тАО03-03-2003 01:40 AM
Re: Make: Cannot open procob.mk. Stop.
-rwxr-xr-x 1 oracle dba 11751424 Aug 25 2000 procob18
cyb_hpux [ /cyborg/app/oracle/product/817/bin ] $ chatr procob18|more
chatr(warning): dl_header_ext.size != sizeof(dl_header_ext). Please update your
version of the linker.
procob18:
shared executable
shared library dynamic path search:
SHLIB_PATH enabled first
embedded path disabled second Not Defined
shared library list:
dynamic /project/hpux/817/src_000811_cunnitha/lib//libclntsh.sl.8
.0
dynamic /project/hpux/817/src_000811_cunnitha/lib//libwtc8.sl
dynamic /usr/lib/librt.2
dynamic /usr/lib/libpthread.1
dynamic /usr/lib/libnss_dns.1
dynamic /usr/lib/libdld.2
dynamic /usr/lib/libm.2
dynamic /usr/lib/libc.2 ........
============================================
Please assist me.
Engo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 02:01 AM
тАО03-03-2003 02:01 AM
Re: Make: Cannot open procob.mk. Stop.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 03:36 AM
тАО03-03-2003 03:36 AM
Re: Make: Cannot open procob.mk. Stop.
make -f ins_precomp.mk
procob18
Linking procob18
/usr/ccs/bin/ld: Can't find library: "clntsh"
*** Error exit code 1
Stop.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 03:56 AM
тАО03-03-2003 03:56 AM
Re: Make: Cannot open procob.mk. Stop.
DO the same as before except, take a copy of ins_precomp.mak and edit the copy. FInd the line that starts "$(LOC_PROCOB18):" and delete the following line "$(SILENT)$(ECHO) "Linking $@"; \". You can then relink procob18 specifying the new file instead of ins_precomp.mak. This will show you the link command being used which should tell us where it is all going wrong.
Can you please post the output along with the output of:
echo $ORACLE_HOME
env | grep LIB
ls -l $ORACLE_HOME/lib
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 04:26 AM
тАО03-03-2003 04:26 AM
Re: Make: Cannot open procob.mk. Stop.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 06:00 AM
тАО03-03-2003 06:00 AM
Re: Make: Cannot open procob.mk. Stop.
If this is the case, you can regenerate it as the oracle user by running the script genclntsh in $ORACLE_HOME/bin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 08:48 AM
тАО03-03-2003 08:48 AM
Re: Make: Cannot open procob.mk. Stop.
genclntsh
cat: Cannot open /tmp/clntst8.3817/*.nm: No such file or directory
Extracting from ...
sort: Cannot open /tmp/clntst8.3817/*.objs
usage: ar [-][mrxtdpq][ACTabcFfilsuvzS] [posname] archive files ...
ar: creating /cyborg/app/oracle/product/817/lib/libclntst8.a
Created /cyborg/app/oracle/product/817/lib/libclntst8.a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 09:35 AM
тАО03-03-2003 09:35 AM
Re: Make: Cannot open procob.mk. Stop.
Problem Description ------------------- When running genclntsh to generate the client shared library the following error is seen: expr: syntax error basename: too few arguments Solution Description -------------------- Edit the file $ORACLE_HOME/bin/genclntst and modify the do / done block that starts at line 98 as follows: do case "$objname" in *\(*\)) # REPLACE following 2 lines # library=`expr $objname : '\(.*\)\(.*\)'` # object=`expr $objname : '.*\(\(.*\)\)'` library=`echo $objname | sed 's/(.*)//'` object=`echo $objname | sed 's/.*(//' | sed 's/)//'` libname=`basename $library` echo $library > $WRKDIR/$libname.nm echo $object >> $WRKDIR/$libname.objs ;; *) object=$objname cp $object `basename $object` ;; esac done Explanation ----------- The basename and expr utilities are called with the wrong arguments, genclntst is called from genclntsh to link the static library along with the shared, these modifications will allow you to link the static library successfully too. References
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 09:39 AM
тАО03-03-2003 09:39 AM
Re: Make: Cannot open procob.mk. Stop.
The errors you saw relate to calling genclntst. I will have a look to see if they are important.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 11:10 PM
тАО03-03-2003 11:10 PM