| 
      
      
      From: David E. <de...@us...> - 2005-06-30 19:47:37
      
     | 
| Szemerédy Gábor wrote: > I made the things according to your instructions and here are my > observations: > The link between libhtcobol.so and libhtcobol.so.0.62.0 and > the link between libhtcobol.so.0 and libhtcobol.so.0.62.0 > is very strange , since none of those files are existing , > only the links! > ... > By typing ldd htcobol the response was: > libc.so.6 => /lib/tls/libc.so.6 (0x42000000) > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) > ldd libhtcobol.so.0.62.0 answered no such file or directory. > ... Yes, the problem is a defective RPM. The shared TC run-time library is not enclosed in the RPM, only the static one. So remove all links 'libhtcobol.so, libhtcobol.so.0,and libhtcobol.so.0.62.0'. The static run-time library will be used for the link. > I tried to find out dependencies. > Typing rpm -q --requires tinycobol it responded: > /bin/sh > /bin/sh > db4 > glibc-devel > libc.so.6 > libc.so.6(GLIBC_2.0) > libc.so.6(GLIBC_2.1) > libc.so.6(GLIBC_2.3) > rpmlib(CompressedFileNames) <= 3.0.4-1 > rpmlib(PayloadFilesHavePrefix) <= 4.0-1 The RPM was built using DB version 4. > Finally I compiled successfully the little cobol program > with the -ldb option. Change the resource file 'htcobolrc'. LD_EXTRA_LIBS: -ldl -ldb This will add the '-ldb' automatically. > Now I'm confused , since I'm not a cobol programmer , what do you > mean by file IO and in what situations I do need the DB for > compilation. File IO are the read/write statements, used to access files. > It seems to me that this rpm type of installation is not the right > one for as. > We would like to have a fully functional compiler. > So I would like to ask you to tell as which tar.gz files we need? > How to configure on RH9 , and install them? As far as I can tell, you do have a fully functional TC compiler. Have you tried compiling and running any of the 'test.code' COBOL samples found in the 'tinycobol-devel-0.62.tar.gz' file ? If you would like to built TC from the sources it is not difficult, and since you have an RPM based system you should have all the requirements installed on your system. |