On 01/15/2016 06:40 PM, Kevin Kofler wrote:
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
Perhaps interested parties could chime in here:
https://github.com/JuliaLang/julia/issues/6742
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion@xxxxxxxxxxxxx
Boulder, CO 80301 http://www.cora.nwra.com
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx