Re: Automatically generating needed requires for julia

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


On 01/12/2016 05:36 AM, Orion Poplawski wrote:
> The julia language loads libraries at run time by using the .so
> filename.  We work around this in the julia package by symlinking the
> needed sonames into %{_libdir}/julia/, e.g.:
> for lib in arpack cholmod dSFMT git2 fftw3_threads gmp mprf openlibm
> openspecfun pcr2-8 umfpack
> do
>   soname=$(objdump -p %{_libdir}/lib${lib}.so | awk '$1 == "SONAME" {
> print $2}')
>   ln -s ../${soname} %{buildroot}%{_libdir}/julia/lib${lib}.so
> done

This happens at build time, right?

> Now we want to automatically generate the needed rpm requires, e.g.:

I think this wouldn't be quite right.  You don't need the soname, you
need the path itself.  The dependency above does not express that.


Rpm-list mailing list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux