nwellnhof / perl-commonmark

Perl bindings for the CommonMark C library
https://metacpan.org/release/CommonMark
Other
5 stars 7 forks source link

linked libcmark version #11

Closed bes-internal closed 2 years ago

bes-internal commented 2 years ago

It's annoying to rebuild the perl module every time a new lib comes out on system. Can we link it without a specific version, libcmark.so?

$ ldd CommonMark.so
        linux-vdso.so.1 (0x00007ffe9934c000)
        libcmark.so.0.30.0 => not found
        libc.so.6 => /lib64/libc.so.6 (0x00007fbe24746000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fbe2491a000)

$ ls -l /usr/lib64/libcmark*
lrwxrwxrwx 1 root root     18 Sep 14 15:06 /usr/lib64/libcmark.so -> libcmark.so.0.30.1
-rwxr-xr-x 1 root root 313616 Sep 14 15:06 /usr/lib64/libcmark.so.0.30.1
nwellnhof commented 2 years ago

This is a consequence of https://github.com/commonmark/cmark/issues/252 and must be fixed in libcmark.