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

Ewww, what a horrible hack!

Can't you fix the language to use the correct sonames instead? dlopening 
unversioned .so files is a bad idea.

        Kevin Kofler
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to