Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: john@avante.WPI.EDU (John Stoffel)
Subject: Re: Problem with shared libraries
Date: 22 Jul 1994 17:18:52 GMT	[thread overview]
Message-ID: <JOHN.94Jul22131852@avante.WPI.EDU> (raw)
In-Reply-To: rwp@nmti.com's message of Fri, 22 Jul 1994 16:30:57 GMT

>>>>> "roland" == roland pringle <rwp@nmti.com> writes:
In article <id.6CGB1.1ML@nmti.com> rwp@nmti.com (roland pringle) writes:


roland> I am working on an Alpha 3000/410 using OSF/1 v 3.02.  I am
roland> trying to link together a mixture of C and Fortran modules.  I
roland> have gotten a C main to link and load properly using shared
roland> libraries.  However, my Fortran main program will not load.
roland> Every time I try to execute it the message

roland>     9786: /dbl100/: /sbin/loader: Fatal error; cannot map librca.so

It looks to me that your program was compiled to use a shared library
which is now can't find.  If you have librca.so outside of the default
search path for loader, which is: /usr/shlib, /usr/ccs/lib,
/usr/lib/cmplrs/cc, /usr/lib, /usr/local/lib, /var/shlib.  

To modify the search path, you can do:

	setenv LD_LIBRARY_PATH "/path/to/librca.so

or you can try this when compiling your code:

	ld -rpath "/path/to/librca.so" main.o -o main -L/path/to" -lrca

I haven't tested this myself, but that's how I read the man page for
loader.


  reply	other threads:[~1994-07-22 17:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-07-22 16:30 Problem with shared libraries roland pringle
1994-07-22 17:18 ` John Stoffel [this message]
1994-07-25 14:10   ` Frank Wortner
1994-07-25 19:07     ` roland pringle
1994-07-27 19:05       ` Frank Wortner
     [not found] ` <JOHN.94Jul22131852@avante.wpi.edu>
1994-07-25 15:45   ` roland pringle
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox