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

Openblas and GFortran issue #64

Open
Siamaster opened this issue Mar 23, 2022 · 0 comments
Open

Openblas and GFortran issue #64

Siamaster opened this issue Mar 23, 2022 · 0 comments

Comments

@Siamaster
Copy link

Siamaster commented Mar 23, 2022

I have successfully installed OpenBLAS with the given instructions for ubuntu. I get the following message when installing:

make -j 4 -f Makefile.install install
make[1]: Entering directory '/home/siamaster/Development/Tools/OpenBLAS'
Generating openblas_config.h in /usr/local/include
Generating f77blas.h in /usr/local/include
Generating cblas.h in /usr/local/include
Copying LAPACKE header files to /usr/local/include
Copying the static library to /usr/local/lib
Copying the shared library to /usr/local/lib
Generating openblas.pc in /usr/local/lib/pkgconfig
Generating OpenBLASConfig.cmake in /usr/local/lib/cmake/openblas
Generating OpenBLASConfigVersion.cmake in /usr/local/lib/cmake/openblas
Install OK!
make[1]: Leaving directory '/home/siamaster/Development/Tools/OpenBLAS'

But then I try to install face swap I get this error:


/usr/bin/ld: /usr/local/lib/libopenblas.a(dgesvd.o): undefined reference to symbol '_gfortran_concat_string@@GFORTRAN_7'
//home/siamaster/anaconda2/lib/libgfortran.so.4: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
face_swap_image/CMakeFiles/face_swap_image.dir/build.make:150: recipe for target 'bin/face_swap_image' failed
make[2]: *** [bin/face_swap_image] Error 1
CMakeFiles/Makefile2:196: recipe for target 'face_swap_image/CMakeFiles/face_swap_image.dir/all' failed
make[1]: *** [face_swap_image/CMakeFiles/face_swap_image.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: /usr/local/lib/libopenblas.a(dgesvd.o): undefined reference to symbol '_gfortran_concat_string@@GFORTRAN_7'
//home/siamaster/anaconda2/lib/libgfortran.so.4: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
face_swap_batch/CMakeFiles/face_swap_batch.dir/build.make:150: recipe for target 'bin/face_swap_batch' failed
make[2]: *** [bin/face_swap_batch] Error 1
CMakeFiles/Makefile2:252: recipe for target 'face_swap_batch/CMakeFiles/face_swap_batch.dir/all' failed
make[1]: *** [face_swap_batch/CMakeFiles/face_swap_batch.dir/all] Error 2
/usr/bin/ld: /usr/local/lib/libopenblas.a(dgesvd.o): undefined reference to symbol '_gfortran_concat_string@@GFORTRAN_7'
//home/siamaster/anaconda2/lib/libgfortran.so.4: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
face_swap_image2video/CMakeFiles/face_swap_image2video.dir/build.make:150: recipe for target 'bin/face_swap_image2video' failed
make[2]: *** [bin/face_swap_image2video] Error 1
CMakeFiles/Makefile2:364: recipe for target 'face_swap_image2video/CMakeFiles/face_swap_image2video.dir/all' failed
make[1]: *** [face_swap_image2video/CMakeFiles/face_swap_image2video.dir/all] Error 2
/usr/bin/ld: /usr/local/lib/libopenblas.a(dgesvd.o): undefined reference to symbol '_gfortran_concat_string@@GFORTRAN_7'
//home/siamaster/anaconda2/lib/libgfortran.so.4: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
face_swap_single2many/CMakeFiles/face_swap_single2many.dir/build.make:150: recipe for target 'bin/face_swap_single2many' failed
make[2]: *** [bin/face_swap_single2many] Error 1
CMakeFiles/Makefile2:308: recipe for target 'face_swap_single2many/CMakeFiles/face_swap_single2many.dir/all' failed
make[1]: *** [face_swap_single2many/CMakeFiles/face_swap_single2many.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

Have I failed to install OpenBLAS and anaconda correctly or is this a GFortran issue? I don't know where to look.

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

1 participant