 |
|
List Archives > 
Maple User Group List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[MUG] Re: help! maple won't link external library
| [MUG] Re: help! maple won't link external library |
|
Author: Allan Wittkopf
Posted: Thu, 19 Dec 2002 10:05:51 -0800
|
>> From: Allan Wittkopf "awittkop"
Hello Richard,
I'm not certain this will do the trick, but you may need to have your
LD_LIBRARY_PATH set to include the current directory.
If this does not help, I'd suggest you a gzipped copy of your external library
to MUG so I can see if I can repeat the problem.
Could you also send the output of:
ldd mwrap_hello.so
for the wrapper built by Maple - just to verify that it is indeed linked to
libtestprg.so.
Sincerely,
Allan Wittkopf
> >> From: Richard Kaye "R.W.Kaye"
> I am suffering the error message
>
> Error, external linking: ld.so.1: lks: fatal: mwrap_hello.so: open failed: No
> such file or directory
>
> given by Maple 6 when I run
>
> test := define_external('hello', 'n'::integer[4], 'RETURN'::integer[4],
> LIB="libtestprg.so");
>
> The libtestprg.so has been compiled and is being read correctly from the
> current directory, the types are correct. I'm running Maple 6 under
> solaris.
>
> When I check the current directory, maple's define_external function
> has successfully written its wrapper code mwrap_hello.c and compiled it.
> (The file mwrap_hello.so is sitting in the current directory ready for use.)
> But unfortunately this is as far as it gets: maple seems unable to read this
> file and spits out an error message saying it doesn't exist.
>
> I am using Maple 6 as I want to integrate my work with a large
> suite of maple code that might not work as advertized
> without a re-write on a later version of maple. I've looked all over
> for documentation, but can't see anything, nor anything I have done
> wrong, or any notes of any environment variables to set or anything
> like that.
>
> Any ideas? I'd be most grateful if anyone could help!
>
> Thanks
>
> Richard Kaye
|
[View Complete Thread]
Previous by date: [MUG] The MAPLE 6/7/8: New Books and Software, Academy
Next by date: [MUG] Re: Bug in Eigenvectors?, Maple User Group
Previous thread: [MUG] _EnvTryHard , _EnvSolveOverReals etc, Andre Van Moer
Next thread: [MUG] Bug in Eigenvectors?,
|
|
|