Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • NetworkManager NetworkManager
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 176
    • Issues 176
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • NetworkManager
  • NetworkManagerNetworkManager
  • Issues
  • #872

Closed
Open
Created Dec 04, 2021 by James Hilliard@jameshilliard

libnm-wwan.so is incorrectly linked when using meson

I'm seeing this bug when building with meson(but not autotools):

<warn>  [1638605643.0942] (/libnm-device-plugin-wwan.so): failed to load plugin: src/core/devices/wwan/libnm-wwan.so: cannot open shared object file: No such file or directory
<warn>  [1638605643.1079] (/libnm-device-plugin-bluetooth.so): failed to load plugin: src/core/devices/wwan/libnm-wwan.so: cannot open shared object file: No such file or directory

Examining the binaries confirms the libnm-wwan.so library path is incorrect:

$ ldd output/target/usr/lib/NetworkManager/1.32.12/libnm-device-plugin-wwan.so
	linux-vdso.so.1 (0x00007ffdbb530000)
	src/core/devices/wwan/libnm-wwan.so => not found
	libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f4ab1c00000)
	libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f4ab1ad7000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4ab18e5000)
	libffi.so.7 => /usr/lib/x86_64-linux-gnu/libffi.so.7 (0x00007f4ab18d9000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f4ab18b6000)
	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f4ab1841000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f4ab1c8b000)
$ ldd output/target/usr/lib/NetworkManager/1.32.12/libnm-device-plugin-bluetooth.so
	linux-vdso.so.1 (0x00007ffc9c1dc000)
	src/core/devices/wwan/libnm-wwan.so => not found
	libgio-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007efe76eae000)
	libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007efe76e4e000)
	libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007efe76d25000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007efe76b33000)
	libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007efe76b2d000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007efe76b0f000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007efe76b09000)
	libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 (0x00007efe76aa9000)
	libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007efe76a7e000)
	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007efe76a62000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007efe76a3f000)
	libffi.so.7 => /usr/lib/x86_64-linux-gnu/libffi.so.7 (0x00007efe76a31000)
	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007efe769be000)
	/lib64/ld-linux-x86-64.so.2 (0x00007efe770c3000)
	libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007efe76967000)
	libpcre2-8.so.0 => /usr/lib/x86_64-linux-gnu/libpcre2-8.so.0 (0x00007efe768d7000)

Note: I am cross compiling with buildroot.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking