<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 52: Plplot 15.4.0 build fails on OpenSuse 15.1 Linux with ld error on libpython3.8.a</title><link>https://sourceforge.net/p/plplot/support-requests/52/</link><description>Recent changes to 52: Plplot 15.4.0 build fails on OpenSuse 15.1 Linux with ld error on libpython3.8.a</description><atom:link href="https://sourceforge.net/p/plplot/support-requests/52/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 03 Apr 2021 12:38:42 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/plplot/support-requests/52/feed.rss" rel="self" type="application/rss+xml"/><item><title>#52 Plplot 15.4.0 build fails on OpenSuse 15.1 Linux with ld error on libpython3.8.a</title><link>https://sourceforge.net/p/plplot/support-requests/52/?limit=25#e2a0</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Note openSUSE 15.1 has been EOLed for quite some time. Leap 15.2 and Leap 15.3 (currently in late Beta) both contain the latest released version of PLPlot, 5.15.0.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan Brüns</dc:creator><pubDate>Sat, 03 Apr 2021 12:38:42 -0000</pubDate><guid>https://sourceforge.netd4d9f22f91c86a22a8e1d3e359e56f1261766686</guid></item><item><title>Plplot 15.4.0 build fails on OpenSuse 15.1 Linux with ld error on libpython3.8.a</title><link>https://sourceforge.net/p/plplot/support-requests/52/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;had to install version 5.14.0, because latest CMAKE available with OpenSuse 15.1 is 3.10.2, and there does not seem to be an upgrade path to 3.13.x. I need the Python bindings, and I have built and installed python 3.8.6 from source available at python.org. Swig is installed at /usr/share/swig/4.0.2, and the cmake step succeeds. After that, the make step fails with repeated messages that look like this&lt;/p&gt;
&lt;p&gt;/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib/libpython3.8.a(abstract.o): relocation R_X86_64_32S against symbol &lt;code&gt;_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib/libpython3.8.a(boolobject.o): relocation R_X86_64_32S against symbol&lt;/code&gt;_Py_FalseStruct' can not be used when making a shared object; recompile with -fPIC&lt;/p&gt;
&lt;p&gt;And much more like that. The linker ld is complaining that you are trying to build a shared library using a static library that was not built with relocatable code, as near as I can understand the message.&lt;/p&gt;
&lt;p&gt;After about twenty of these lovely messages, make bails with&lt;/p&gt;
&lt;p&gt;/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: final link failed: nonrepresentable section on output&lt;br/&gt;
collect2: error: ld returned 1 exit status&lt;br/&gt;
make&lt;span&gt;[2]&lt;/span&gt;: &lt;strong&gt;&lt;em&gt; &lt;span&gt;&lt;span&gt;[bindings/python/CMakeFiles/_plplotc.dir/build.make:108: bindings/python/_plplotc.so]&lt;/span&gt;&lt;/span&gt; Error 1&lt;br/&gt;
make&lt;span&gt;&lt;span&gt;[2]&lt;/span&gt;&lt;/span&gt;: Leaving directory '/usr/plplot/build_directory'&lt;br/&gt;
make&lt;span&gt;&lt;span&gt;[1]&lt;/span&gt;&lt;/span&gt;: &lt;/em&gt;&lt;/strong&gt; &lt;span&gt;[CMakeFiles/Makefile2:1316: bindings/python/CMakeFiles/_plplotc.dir/all]&lt;/span&gt; Error 2&lt;br/&gt;
make&lt;span&gt;[1]&lt;/span&gt;: Leaving directory '/usr/plplot/build_directory'&lt;br/&gt;
make: *** &lt;span&gt;[Makefile:152: all]&lt;/span&gt; Error 2&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Walt Kailey</dc:creator><pubDate>Fri, 29 Jan 2021 00:25:52 -0000</pubDate><guid>https://sourceforge.net5f102bdf5d9fbaf652ba1ad154a3973d283f5cf5</guid></item></channel></rss>