Page 1 sur 1

unused-direct-shlib-dependency libgiac.so.0.0.0

Publié : dim. juil. 03, 2016 2:12 pm
par sagitter
Hi all,

I'm compiling Giac 1.2.2-63 on Fedora 24: https://paste.fedoraproject.org/387606/

I don't know why libgiac contains this unused-sharedlib-dependency:

Code : Tout sélectionner

giac.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libgiac.so.0.0.0 /lib64/libgslcblas.so.0

$ rpmlint -I unused-direct-shlib-dependency
unused-direct-shlib-dependency:
The binary contains unused direct shared library dependencies.  This may
indicate gratuitously bloated linkage; check that the binary has been linked
with the intended shared libraries only.
Any idea ?
Thanks.

Re: unused-direct-shlib-dependency libgiac.so.0.0.0

Publié : lun. juil. 04, 2016 10:39 am
par parisse
giac is using the GSL. I think I have added a check against gslcblas in configure.in because otherwise it failed to link on some architectures (I don't remember when and where). Anyway, I can't see any problem linking directly to a library that would be linked anyway.