shawnlaffan / perl-alien-proj

Perl Alien package to compile the Proj library
GNU Lesser General Public License v3.0
3 stars 1 forks source link

/usr/bin/ld: warning: libsqlite3.so.0, needed by ../../lib/libproj.so.25.9.4.0, not found (try using -rpath or -rpath-link) #14

Open eserte opened 1 month ago

eserte commented 1 month ago

The Alien::proj build fails on some systems. An overview of failed builds can be found here: https://github.com/eserte/ci-helper-cpan-pm/actions/runs/9214635710 The interesting part is probably "ubuntu-24.04" vs "ubuntu:24.04": the former job is running on a GitHub runner, the latter in a container. I guess that the latter has much less packages preinstalled which makes the difference (just another guess: maybe the GitHub runner has sqlite already installed?)

Direct link to the linker failure in the ubuntu:24.04 job: https://github.com/eserte/ci-helper-cpan-pm/actions/runs/9214635710/job/25351246128#step:14:14747

The build would be successful if libproj-dev was already installed on the system.

shawnlaffan commented 1 month ago

The Alien::sqlite in this instance is a share build rather than system, and it looks like it is not picking up the correct libs. Although the logs state it finds the expected one.

shawnlaffan commented 1 month ago

And the rpath looks to be set appropriately in the configure step. https://github.com/eserte/ci-helper-cpan-pm/actions/runs/9214635710/job/25351246128#step:14:14457

shawnlaffan commented 1 month ago

Possibly related: https://github.com/OSGeo/PROJ/pull/4007