[prog] Fortran portability on linux
Shirrell
shirrell at pstat.com
Mon Jun 7 15:56:33 EST 2004
Sherryl Manalo wrote:
> Shirrell wrote:
>
>> A customer has now reported that the module does not run and that the
>> problem seems
>> to be an incompatibility with glibc 2.3 . With static linking that
>> should not happen.
>
>
> Reminds me of the problem I had with a statically compiled bash 2.0b
> on a glibc 2.2.5 System. In a chrooted environment with
> glibc 2.3.2 it should work (ldd showed that it was static and didn't
> output any libs), but it kept giving me segmentation faults.
>
> The reason could be calls to libs in the program itself with dlopen.
> When compiled statically you don't have any dynamic libs the program
> links to, but the program still calls the library as argument of
> dlopen at runtime.
>
>
> Sherryl Manalo
>
ldd reports that the module was not dynamically linked.
strace has no mentions of dlopen
Any other thoughts ?
shirrell at pstat.com
More information about the Programming
mailing list