Re: /usr/bin/ld: cannot find -lmpfr [solved]

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

 



On Thu, 7 Apr 2022, Jerry James wrote:

On Thu, Apr 7, 2022 at 8:50 PM Michael Hennebry
<hennebry@xxxxxxxxxxxxxxxxxxxxx> wrote:
Why?
I am not trying to build or edit mpfr.
The error message in config.log says that it was
looking for the symbol mpfr_snprintf in -lmpfr .
It did not even find -lmpfr .
Why not?

Because /usr/lib64/libmpfr.so is in the mpfr-devel package, not the
mpfr package.  This is not unique to mpfr.  All library packages in
Fedora do this.  See:

As noted previously, /usr/lib64/libmpfr.so.6 is in whatever I've got:
[hennebry@fedora gappa-1.4.0]$ ls  /usr/lib64/libmpfr*
/usr/lib64/libmpfr.so.6  /usr/lib64/libmpfr.so.6.1.0
[hennebry@fedora gappa-1.4.0]$

An experiment showed me that the .6 suffix prevented ld from finding -lmfpr .
mpfr-devel appears to have gotten me a soft link ending in .so
and a header file.

gappa 1.4.0 is built.

--
Michael   hennebry@xxxxxxxxxxxxxxxxxxxxx
"Sorry but your password must contain an uppercase letter, a number,
a haiku, a gang sign, a heiroglyph, and the blood of a virgin."
                                                             --  someeecards
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux