Skip to content

LDFLAGS error in build of net/xymon #349

Description

@drboone

The issue seems pretty simple, probably configure being more particular than it was previously about the difference between LDFLAGS and LIBS. Catch is I can't seem to find where the -lintl -liconv is getting added to LDFLAGS.

...
checking build system type... x86_64-pc-solaris2.11
checking host system type... x86_64-pc-solaris2.11
configure: using LDFLAGS: -L/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -Wl,-R/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lintl -liconv
configure: LDFLAGS error: LDFLAGS may only be used to specify linker flags, not libraries. Use LIBS for: -lintl
configure: LDFLAGS error: LDFLAGS may only be used to specify linker flags, not libraries. Use LIBS for: -liconv
configure: error: Can not continue. Fix errors mentioned immediately above this line.
gmake[1]: *** [Makefile:67: c-ares/Makefile] Error 1
gmake[1]: Leaving directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/xymonnet'
gmake: *** [build/Makefile.rules:106: xymonnet-build] Error 2

(Log snippet from the buildlog at https://us-central.manta.mnx.io/pkgsrc/public/reports/trunk/x86_64/20221203.0904/xymon-4.3.30nb5/build.log)

Activity

  1. self-assigned this
    on Feb 10, 2023
  2. jperkin commented on Feb 10, 2023

    @jperkin
    Collaborator

    Thanks, I fixed this a while back in fdbd10f.

  3. added a commit that references this issue on Jun 8, 2023
  4. added a commit that references this issue on Sep 2, 2023
  5. added a commit that references this issue on Mar 4, 2024
  6. added a commit that references this issue on Apr 9, 2024
  7. added a commit that references this issue on May 17, 2024
  8. added a commit that references this issue on Sep 24, 2024
  9. added a commit that references this issue on Jan 28, 2025
  10. 13 remaining items

  11. added a commit that references this issue on Aug 11, 2026
    8cd33d7
  12. added a commit that references this issue on Aug 25, 2026
    4295c8a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions