From owner-bug-octave at bevo dot che dot wisc dot edu Thu Dec 14 00:45:16 1995 Subject: problem with libF77.so.2 for octave 1.1.1 solaris 2.x binary dist From: "David B. Rosen" To: bug-octave at che dot utexas dot edu Date: Wed, 13 Dec 1995 22:46:45 -0800 I am running Solaris 2.2 (SparcStation 10). I obtained Solaris 2.x binary distribution of octave. Says in README from ftp site that it is statically linked, BUT "./octave -v" fails with: ld.so.1: ./octave: can't find file libF77.so.2 Killed So I did: $ ldd ./octave libF77.so.2 => (not found) libm.so.1 => /usr/lib/libm.so.1 libc.so.1 => /usr/lib/libc.so.1 libdl.so.1 => /usr/lib/libdl.so.1 So I tried making a symlink from /usr/4lib/libF77.so.2.0 to libF77.so.2 in /usr/local/lib, which is in my LD_RUN_PATH and LD_LIBRARY_PATH (which are /home/rosen/lib:/usr/local/lib:/usr/lib:/usr/ucblib:/usr/openwin/lib). Okay, now the shared libraries are all resolved: $ ldd ./octave libF77.so.2 => /usr/local/lib/libF77.so.2 libm.so.1 => /usr/lib/libm.so.1 libc.so.1 => /usr/lib/libc.so.1 libdl.so.1 => /usr/lib/libdl.so.1 $ ./octave -v ld.so.1: ./octave: relocation error: symbol not found: ___ansi_fflush: referenced in /usr/local/lib/libF77.so.2 Killed Help! Why does it need libF77.so at all if it was supposed to have been statically linked to avoid these problems? -David -- David Rosen (PhD) (finger rosen@unr.edu) New York Medical College