Re: calling ldconfig after installing a shared library

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

 



On Tue, May 6, 2025 at 11:55 AM Michal Schorm <mschorm@xxxxxxxxxx> wrote:
>
> > Is using %{_libdir}/x/y/z necessary? What are the reasons?
>
> In this particular case, it's the MariaDB stack.
>
> The 'libmariadb.so' is in the '%{_libdir}', but then there are some
> plugins, some restricted plugins, some test plugins,
> then the other packages from the stack use it too. We already have a
> few directories there.
> The path in question is a new one:
>   %{_libdir}/mariadb/connector-c/tests/<some_lib>.so
> And the Pavol's question is targeted on using the ldconfig correctly
> so specifically the 'mariadb-connector-c-test' sub-package testsuite
> would work out for the box, for which it need the library to be found.

Are those really plugins then? "Plugins" usually aren't loaded by
ld.so, but rather "dlopen"d.
Unversioned .so files are usually not allowed to be in the ld.so paths.
But if you put the ld.so config snippet into the subpackage that ships
the runnable tests, that should be fine, I think ...

Fabio
-- 
_______________________________________________
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