From: rwp@nmti.com (roland pringle)
Subject: Re: Problem with shared libraries
Date: Mon, 25 Jul 1994 15:45:23 GMT [thread overview]
Message-ID: <id.PGJB1.05G@nmti.com> (raw)
In-Reply-To: JOHN.94Jul22131852@avante.wpi.edu
In article <JOHN.94Jul22131852@avante.wpi.edu>,
John Stoffel <john@avante.WPI.EDU> wrote:
>>>>>> "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.
John, thanks for the reply. I did have the LD_LIBRARY_PATH environmental
variable set. I have also tried the -rpath compile flag and I still am
unable to get a fortran main program to load with shared libraries.
Perhaps if any DEC representative is listening to this newsgroup, s/he could
lend a suggestion or two.
Thanks
Roland
--
Roland Pringle (rwp@nmti.com)
Network Management Technology, Inc.
1601 Industrial Blvd.
Sugar Land, Texas 77487
+1 713 274-5084
prev parent reply other threads:[~1994-07-25 15:45 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
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 [this message]
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