Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing libquadmath.so #32

Closed
chenghlee opened this issue Jan 5, 2018 · 4 comments
Closed

Missing libquadmath.so #32

chenghlee opened this issue Jan 5, 2018 · 4 comments

Comments

@chenghlee
Copy link
Contributor

chenghlee commented Jan 5, 2018

readelf -d $CONDA_PREFIX/lib/libgfortran.so.4.0.0 (from the libgfortran-ng-7.2.0-h9f7466a_2 package) shows one of its needed shared libraries is libquadmath.so.0. However, none of the packages I can find in the "defaults" channel provides this dynamic library.

When building a simple "hello world" FORTRAN application, I get the following error:

$ $CONDA_PREFIX/bin/x86_64-conda_cos6-linux-gnu-gfortran hello-world.f90 -o hello-world
$CONDA_PREFIX/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.2.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: cannot find -lquadmath

The contents of hello-world.f90:

program HelloWorld
print*,"Hello world"
end program
@nehaljwani
Copy link
Contributor

@chenghlee Try installing the libgcc-ng conda package. You will find libquadmath.so there.

cc @mingwandroid

@msarahan
Copy link
Contributor

If you're using conda-build, the dependencies should be getting added automatically for you with run_exports. If you're using the compilers on your own without conda-build, then you're on your own. We'd be interested in fixing things if you are using conda-build but not getting the appropriate deps.

@chenghlee
Copy link
Contributor Author

Installing libgcc-ng does indeed fix this issue. However, the libgfortran-ng package should have a dependency on libgcc-ng to ensure libquadmath is always installed when using the libgfortran-ng conda package.

@msarahan
Copy link
Contributor

msarahan commented Aug 8, 2018

fixed in #14

new compiler packages are coming soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants