#152 rpmbuild fails

open-works-for-me
nobody
None
5
2012-01-10
2012-01-10
tnfnk
No

trying to create an gqview rpm from the tarball fails under this circumstances:
- tarball version gqview-2.0.4
- distro OpenSuSE 12.1
- gcc version 4.6.2

the linker runs into the following error:
"undefined reference to symbol 'pow@@GLIBC_2.0'"

the following setting in src/Makefile allows the linker to succeed:
LIBS = -lm

Discussion

  • tnfnk
    tnfnk
    2012-01-10

    there is another issue concerning rpmbuild:

    in gqview.spec the %files-section should look like

    %files
    %defattr(-, root, root)
    %config(noreplace) /usr/share/doc/gqview-2.0.4/*

    so the html docs are included into the RPM.

     
  • tnfnk
    tnfnk
    2012-01-10

    • status: open --> open-works-for-me