Re: Is it possible to manually insert shared library deps in an RPM?

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

 



David Howells wrote:
> gcc and cross-gcc currently dynamically load the isl-0.14 shared library

Maybe you actually want to patch the code to just link the library instead 
of dlopening it? Dlopening libraries is unfortunately a common disease in 
upstream projects. There are a few valid reasons to dlopen a library, but 
none seem to apply here, at least not for us in Fedora:

* You want to make the library optional. This is clearly not the case, or
  you would not be adding a Requires to the package.

* You want to support different soversions of the library for some reason.
  This is typically not the case in distribution packages. It also needs
  special code to look up the correct soname or it will not work properly.
  (A common disease in upstream projects is attempting to load the
  unversioned .so, which does of course NOT work on real-world distributions
  because the unversioned symlink is in the -devel package where it
  belongs.) I also do not see this being the case here.

So I think that the library should really be linked, not dlopened.

        Kevin Kofler
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [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