Code Monkey home page Code Monkey logo

Comments (4)

eero-t avatar eero-t commented on June 9, 2024

mnl_socket_bind() seems to be used by netlink plugin and by utils/taskstats/taskstats.c. Latter provides functionality used (only) by processes plugin.

I think this in configure.ac should take care that when taskstats is enabled for the processes plugin, libmnl gets added to its deps for libtool:

if HAVE_LIBMNL
noinst_LTLIBRARIES += libtaskstats.la
libtaskstats_la_SOURCES = \
        src/utils/taskstats/taskstats.c \
        src/utils/taskstats/taskstats.h
libtaskstats_la_CFLAGS = $(AM_CFLAGS) $(BUILD_WITH_LIBMNL_CFLAGS)
libtaskstats_la_LIBADD = $(BUILD_WITH_LIBMNL_LIBS)
endif

if BUILD_PLUGIN_PROCESSES
pkglib_LTLIBRARIES += processes.la
processes_la_SOURCES = src/processes.c
processes_la_CPPFLAGS = $(AM_CPPFLAGS)
processes_la_LDFLAGS = $(PLUGIN_LDFLAGS)
processes_la_LIBADD =
if BUILD_WITH_LIBKVM_GETPROCS
processes_la_LIBADD += -lkvm
endif
if HAVE_LIBMNL
processes_la_CPPFLAGS += -DHAVE_LIBTASKSTATS=1
processes_la_LIBADD += libtaskstats.la
endif
endif

Please check whether libmnl is listed both in your libtaskstats.la and processes.la files after the build (they should be in .libs/ subdirectory).

from collectd.

alexwbaule avatar alexwbaule commented on June 9, 2024

Hi @eero-t

My AUR is cleaning the build on finish 😞 (sorry).

But something strange happens, i reinstall the Manjaro, from the same iso image, rebuild the collectd and the error has gone. Something wrong with the link.

doing the ldd now, its linked.

ldd /usr/lib/collectd/processes.so
	linux-vdso.so.1 (0x00007ffc379fd000)
	libmnl.so.0 => /usr/lib/libmnl.so.0 (0x00007f16b55fe000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007f16b5417000)
	/usr/lib64/ld-linux-x86-64.so.2 (0x00007f16b563f000)

I donΒ΄t know if there is missing in the compilation...

from collectd.

eero-t avatar eero-t commented on June 9, 2024

Ok, let's assume it was some Majaro (libtool?) related hicup. In which case I guess you can just close this issue?

(Re-open if it happens again.)

from collectd.

alexwbaule avatar alexwbaule commented on June 9, 2024

For me, its Ok !! I Will close it.

from collectd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.