bsc-pm / mcxx

Mercurium is a C/C++/Fortran source-to-source compilation infrastructure aimed at fast prototyping developed by the Programming Models group at the Barcelona Supercomputing Center
GNU Lesser General Public License v3.0
70 stars 23 forks source link

missing libiconv #34

Open viniciusvgp opened 5 years ago

viniciusvgp commented 5 years ago

I am trying to compile mcxx from this repository, but make shows this error:

/usr/bin/ld: ./src/frontend/.libs/libmcxx.so: undefined reference to `libiconv'
/usr/bin/ld: ./src/frontend/.libs/libmcxx.so: undefined reference to `libiconv_close'
/usr/bin/ld: ./src/frontend/.libs/libmcxx.so: undefined reference to `libiconv_open'

This error is quite strange since I am giving the path to libiconv with --with-libiconv-prefix=/usr/local/libiconv-1.15, so I believe that this can be an issue.

rofirrim commented 4 years ago

I cannot reproduce this issue, can you let me know what environment are you using?

Regards.