<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - GISCAN Poppler-0.18.gir gets a link error on 'hypot@@GLIBC_2.2.5'"
href="https://bugs.freedesktop.org/show_bug.cgi?id=75233">75233</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>GISCAN Poppler-0.18.gir gets a link error on 'hypot@@GLIBC_2.2.5'
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>williambader@hotmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>glib frontend
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr></table>
<p>
<div>
<pre>I cloned poppler from the git source on 19 Feb 2014.
I am building on 64 bit Fedora 17 with the distributed gcc 4.7.2.
I can do a normal build without any problem, but if I try a static build with
./configure --enable-static --disable-shared
the build fails linking Poppler-0.18.gir. I have the last few lines of the
make output below. I think that one of the *.la files needs -lm in its list of
dependency_libs.
If I continue with "make -i", everything else builds, so it might be related to
the rules to build Poppler-0.18.gir.
Configuring with "export LDFLAGS=-lm" first gets LIBS=-lm into the top level
Makefile but it still gets the link error.
Other people have had this error with other packages, so it might be related to
libtool or Fedora.
<a href="https://github.com/alessandrofrancesconi/gimp-plugin-bimp/issues/40">https://github.com/alessandrofrancesconi/gimp-plugin-bimp/issues/40</a>
<a href="https://github.com/mate-desktop/mate-netspeed/issues/7">https://github.com/mate-desktop/mate-netspeed/issues/7</a>
William
make[4]: Entering directory `/tmp/x/poppler-static/glib'
CC poppler-enums.lo
CXX poppler-action.lo
CXX poppler-date.lo
CXX poppler-document.lo
CXX poppler-page.lo
CXX poppler-attachment.lo
CXX poppler-form-field.lo
CXX poppler-annot.lo
CXX poppler-layer.lo
CXX poppler-media.lo
CXX poppler-movie.lo
CXX poppler-cached-file-loader.lo
CXX poppler-input-stream.lo
CXX poppler-structure-element.lo
CXX poppler.lo
CXXLD libpoppler-glib.la
GISCAN Poppler-0.18.gir
/usr/bin/ld: /tmp/x/poppler-static/poppler/.libs/libpoppler.a(GfxState.o):
undefined reference to symbol 'hypot@@GLIBC_2.2.5'
/usr/bin/ld: note: 'hypot@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so
try adding it to the linker command line
/lib64/libm.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/sh', '../libtool',
'--mode=link', '--tag=CC', '--silent', 'gcc', '-o',
'/tmp/x/poppler-static/glib/tmp-introspectg9Qjn4/Poppler-0.18',
'-export-dynamic',
'/tmp/x/poppler-static/glib/tmp-introspectg9Qjn4/Poppler-0.18.o', '-L.',
'libpoppler-glib.la', '-pthread', '-Wl,--export-dynamic', '-lgio-2.0',
'-lgobject-2.0', '-lgthread-2.0', '-lgmodule-2.0', '-lrt', '-lglib-2.0']'
returned non-zero exit status 1
make[4]: *** [Poppler-0.18.gir] Error 1
make[4]: Leaving directory `/tmp/x/poppler-static/glib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/x/poppler-static/glib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/x/poppler-static/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/x/poppler-static'
make: *** [all] Error 2</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>