|
From: John R. C. <jo...@we...> - 2005-08-24 17:33:57
|
After linking some names I got this program to compile clean via the Makefile. But when running it I get the error: /testgui01: error while loading shared libraries: libtcl.so: cannot open shared object file: No suchfile or directory Here is a listing from /usr/local/lib: -rwxrwxrwx 4 safe users 782964 2005-02-24 15:56 /usr/local/lib/libtcl* -rwxrwxrwx 4 safe users 782964 2005-02-24 15:56 /usr/local/lib/libtcl.so* -rwxrwxrwx 4 safe users 782964 2005-02-24 15:56 /usr/local/lib/libtcl8.4.so* -rwxrwxrwx 1 safe users 1732 2005-02-24 15:56 /usr/local/lib/libtclstub8.4.a* Here is a snippet from the /usr/local/share/htcobol/htcobolrc. I I added /usr/local/lib to the first line: LD_PATH: -L../../../lib -L../../lib -L/usr/local/lib #LD_PATH: # Libraries to pass to the link step # LD_LIBS: Obsolete - Use variables below # LD_HT1_LIBS: -lhtcobol #LD_HT2_LIBS: -lhtcobol2 #LD_MATH_LIBS: -lm LD_MATH_LIBS: -lm LD_READLINE_LIBS: -lreadline LD_EXTRA_LIBS: -ldl LD_DCALL_LIBS: -ldl #LD_DLOAD_LIBS: -lltdl #LD_DLOAD_LIBS: @htg_ld_args_ltdl@ LD_TERM_LIBS: -lncurses #LD_TERM_LIBS: -lpdcurses #LD_IO_LIBS: -ldb LD_IO_LIBS: -ldb ---------------------------------------------- I tried it without running mak.sh and with running mak.sh before compiling. -- John Culleton |