Skip to content

Bug: NuGet 2.25.x (Linux/macOS): libusearch_c.so depends on libnumkong.so, but libnumkong.so isn't in the package #767

@shaan1337

Description

@shaan1337

Describe the bug

The native library shipped in the NuGet package can't be loaded: it has a runtime dependency on libnumkong.so, which the package doesn't contain.

Steps to reproduce

Download and extract v2.25.3 from nuget:
https://www.nuget.org/api/v2/package/Cloud.Unum.USearch/2.25.3

Run ldd - libusearch depends on libnumkong:

$ ldd ./runtimes/linux-x64/native/libusearch_c.so
        linux-vdso.so.1 (0x00007a62326de000)
        libnumkong.so => not found
        libgomp.so.1 => /lib/x86_64-linux-gnu/libgomp.so.1 (0x00007a623261b000)
        libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007a6232200000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007a6232532000)
        libmvec.so.1 => /lib/x86_64-linux-gnu/libmvec.so.1 (0x00007a6232107000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007a6232502000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007a6231e00000)
        /lib64/ld-linux-x86-64.so.2 (0x00007a62326e0000)

Inspect the extracted nuget package: libnumkong.so is nowhere to be found.

Expected behavior

libnumkong.so should be packaged.

USearch version

v2.25.3

Operating System

Ubuntu 22.04

Hardware architecture

x86

Which interface are you using?

Other bindings

Contact Details

No response

Are you open to being tagged as a contributor?

  • I am open to being mentioned in the project .git history as a contributor

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions