From 643a24bd61caa62093a41fddb121d1a45c69597b Mon Sep 17 00:00:00 2001 From: Simon Pinches Date: Fri, 6 Dec 2024 10:03:12 +0100 Subject: [PATCH] gnuplot/6.0.1-GCCcore-13.2.0: fix underfined reference to symbol libiconv_open --- .../easyconfigs/g/gnuplot/gnuplot-6.0.1-GCCcore-13.2.0.eb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/g/gnuplot/gnuplot-6.0.1-GCCcore-13.2.0.eb b/easybuild/easyconfigs/g/gnuplot/gnuplot-6.0.1-GCCcore-13.2.0.eb index 29e3f916718..ebe86fdb902 100644 --- a/easybuild/easyconfigs/g/gnuplot/gnuplot-6.0.1-GCCcore-13.2.0.eb +++ b/easybuild/easyconfigs/g/gnuplot/gnuplot-6.0.1-GCCcore-13.2.0.eb @@ -8,7 +8,7 @@ description = """Portable interactive, function plotting utility""" toolchain = {'name': 'GCCcore', 'version': '13.2.0'} -source_urls = [('https://sourceforge.net/projects/gnuplot/files/gnuplot/%(version)s', 'download')] +source_urls = [('https://sourceforge.net/projects/%(name)s/files/%(name)s/%(version)s', 'download')] sources = [SOURCE_TAR_GZ] checksums = ['e85a660c1a2a1808ff24f7e69981ffcbac66a45c9dcf711b65610b26ea71379a'] @@ -36,6 +36,9 @@ preconfigopts = 'autoreconf && ' # make sure that right Lua library is used (bypassing pkg-config) preconfigopts += 'export LUA_CFLAGS="-I$EBROOTLUA/include" && export LUA_LIBS="$EBROOTLUA/lib/liblua.a" && ' +# fix undefined reference to symbol 'libiconv_open' +preconfigopts += ' export LDFLAGS="-Wl,--copy-dt-needed-entries" && ' + configopts = '--with-qt=qt6 --without-latex --disable-wxwidgets' buildopts = 'LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" '