Re: libtool issue with EPEL10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I can’t add much detail about why this is different between Rawhide and EPEL10, but I can get a successful EPEL10 build by adding

    export LD_LIBRARY_PATH="$RPM_BUILD_ROOT/%{_libdir}"

at the beginning of %check. It’s probably good enough to just add that (unconditionally, since it does no harm in Fedora) and move on.

On 10/28/24 3:15 PM, Frederic Berat wrote:


On Mon, Oct 28, 2024 at 3:18 AM Orion Poplawski <orion@xxxxxxxx> wrote:
I'm trying to build netcdf in EPEL10 but the test suite is failing to
run with:

/builddir/build/BUILD/netcdf-c-4.9.2/build/ncgen3/.libs/lt-ncgen3: error
while loading shared libraries: libnetcdf.so.19: cannot open shared
object file: No such file or directory

Comparing EPEL10 to rawhide builds I notice that while the EPEL10 build
produces an "lt-ncgen3" binary, rawhide does not.  The rawhide ncgen3
wrapper script appears to set LD_LIBRARY_PATH, the EPEL10 one does not
and instead seems to try to produce a "relinked" file.

Well, that story rings a bell at least: a developper (for gettext I believe) reported a similar issue when using libtool-2.5.3, which is not yet supported, neither on c10s nor on Fedora.

Note: to my knowledge epel should currently have the same version of libtool as rawhide, so there is no reason for it to behave differently, unless someone modifies it somehow.
 
I don't think I have every run into this issue before and have no idea
why it's happening.

Any libtool experts out there with an idea?

Thanks,

Orion

--
Orion Poplawski
he/him/his  - surely the least important thing about me
IT Systems Manager                         720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@xxxxxxxx
Boulder, CO 80301                 https://www.nwra.com/

--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

-- 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux