Re: xdp2 on ubuntu-24.04.3-live-server-amd64?
Tom Herbert <[email protected]> Fri, 26 Sep 2025 16:03:22 -0700
| Newsgroups | dev.linux.lists.xdp2 |
|---|---|
| Message-ID | <CALx6S36WRExuzq4hcqHk+S8S8Ebdh2miaNCuyLVasmgmJX9ogA@mail.gmail.com> |
On Fri, Sep 26, 2025 at 3:27=E2=80=AFPM dave seddon <[email protected]= om> wrote: > > G'day Tom, > > I hope you are doing well. > > > I've been trying to get xdp2 working on nixOS and it's been quite a > journey because of both gcc and clang/llvm. I'm getting pretty close > now, but I suspect I'm getting segfaults with the xdp2-compiler > because of versions of compilers and libraries xdp2 is expecting. ( > Let's not discuss nix for now though ) > > > With the intention of compiling xdp2 on a more "normal" distribution, > I tried following the instructions in the readme.md ( > https://github.com/xdp2-dev/xdp2/blob/main/README.md#prerequisites ) > on a completely fresh ubuntu-24.04.3-live-server-amd64. > > To my surprise, I'm getting "Clang library missing or broken!" Hee, I saw this exact same issue. I fixed it by making a softlink /usr/lib/llvm-18/lib/libclang-cpp.so -> libclang-cpp.so.18.1. It's not clear to me why install didn't create the link like it does with other libraries. Please let me know if this works (will at least update the doc) and whatever other issue you're having! Tom > > " > das@ubuntu2204:~/xdp2/src$ ./configure > > > Platform is default > Architecture is x86_64 > Architecture includes for x86_64 not found, using generic > Target Architecture is > COMPILER is gcc > Clang library missing or broken! > das@ubuntu2204:~/xdp2/src$ > " > > I guess I'm unclear which distribution system xdp2 expects. Maybe > Debian? Which version please? > > I'd love to know which versions of gcc, clang, python, boost are > recommended please. > > Thanks in advance, > > -- > Regards, > Dave Seddon >