Closed g2px1 closed 5 months ago
The only reason that could fail is if you have mixed liburing versions installed. Eg the program is compiled with a header that doesn't match the library it's linked with. Maybe you have multiple versions installed, either from source or maybe a distro package is installed alongside one you installed from source?
The only reason that could fail is if you have mixed liburing versions installed. Eg the program is compiled with a header that doesn't match the library it's linked with. Maybe you have multiple versions installed, either from source or maybe a distro package is installed alongside one you installed from source?
I’ll check it today, if it’s so, I’ll close the issue
The only reason that could fail is if you have mixed liburing versions installed. Eg the program is compiled with a header that doesn't match the library it's linked with. Maybe you have multiple versions installed, either from source or maybe a distro package is installed alongside one you installed from source?
I've tried provided example on several machines running under Ubuntu 22.04.3 and all of them got this issue
For my same case, after I tryied to apt remove liburing-dev
or sudo make uninstall
, install and remove from different source many times. All failed.
But then I check the link dir, then I find this file .After I remove all liburing, it still reamins.
/lib/x86_64-linux-gnu/liburing.so.2.1.0
After I remove it, and rerun sudo make isntall
.
Everything works fine.
@xiaguan that's a good point, I've seen it end up there too as well in testing. Honestly not quite sure where that came from, never really investigated it.
I'm running code below under
Ubuntu Server 22.04.3
with kernel version5.15.0-94-generic
. Here is simple code to reproduce error: