Re: building fortran

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 23, 2006 at 06:27:17AM -0700, Tim Prince wrote:

> >  ldd /impinj/uns/amd64_2.4/libexec/gcc/x86_64-unknown-linux-gnu/4.1.1/f951
> >         libgmp.so.3 => /usr/lib64/libgmp.so.3 (0x0000002a95682000)
> >         libc.so.6 => /lib64/libc.so.6 (0x0000002a957ba000)
> >         /lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x0000002a95556000)
> > 
> IIRC, gmp and mpfr must be built with --enable-shared.  It definitely
> doesn't work to have gfortran picking up .so from a different version
> from the one you installed and attempted to specify for configure.

ls -l /impinj/uns/amd64_2.4/lib/*gmp*
-rw-r--r--    1 gutnik   users      777376 Aug 21 17:17 /impinj/uns/amd64_2.4/lib/libgmp.a
-rwxr-xr-x    1 gutnik   users         794 Aug 21 17:17 /impinj/uns/amd64_2.4/lib/libgmp.la*
lrwxrwxrwx    1 gutnik   users          15 Aug 21 17:17 /impinj/uns/amd64_2.4/lib/libgmp.so -> libgmp.so.3.4.1*
lrwxrwxrwx    1 gutnik   users          15 Aug 21 17:17 /impinj/uns/amd64_2.4/lib/libgmp.so.3 -> libgmp.so.3.4.1*
-rwxr-xr-x    1 gutnik   users      294146 Aug 21 17:17 /impinj/uns/amd64_2.4/lib/libgmp.so.3.4.1*

> ls -l /impinj/uns/amd64_2.4/lib/*mpfr*
-rw-r--r--    1 gutnik   users     1807076 Aug 21 21:30 /impinj/uns/amd64_2.4/lib/libmpfr.a
-rwxr-xr-x    1 gutnik   users         827 Aug 21 21:30 /impinj/uns/amd64_2.4/lib/libmpfr.la*


As I understand it, gmp does build a shared library. Further, things
work with LD_LIBRARY_PATH set correctly, so I don't think the problem
is the libraries that get built, it's something about the runtime linking.

If you think it'll help, sure, I'll rebuild mpfr and gmp.

   Vadim

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux