emacs-devel
[Top][All Lists]
Advanced

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

Re: build problem on fedora 25


From: Paul Eggert
Subject: Re: build problem on fedora 25
Date: Tue, 21 Mar 2017 10:14:43 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 03/20/2017 12:12 PM, Eli Zaretskii wrote:
From: address@hidden
Date: Mon, 20 Mar 2017 19:10:54 +0100

I get funny linkage problems. I used to be able to build emacs fine on
this machine.

I suppose theres something wrong with fedora.

   CCLD     temacs
/usr/lib/gcc/x86_64-redhat-linux/6.3.1/../../../../lib64/libgtk-3.so: undefined 
reference to `cairo_surface_set_device_scale'
/usr/lib64/libpangoft2-1.0.so.0: undefined reference to `FcWeightToOpenType'
/usr/lib64/libpangoft2-1.0.so.0: undefined reference to `FcWeightFromOpenType'
/usr/lib/gcc/x86_64-redhat-linux/6.3.1/../../../../lib64/libgtk-3.so: undefined 
reference to `cairo_surface_get_device_scale'
Looks like some development packages are missing, nothing to do with
Emacs per se (because the unresolved references are in GTK and Pango,
not in Emacs).

For what it's worth I have no problem building Emacs master on Fedora 25 x86-64. I configured with './configure --enable-gcc-warnings --with-cairo'. The command 'ldd -v src/temacs' outputs the attached file. The symbol cairo_surface_set_device_scale is defined in the file /lib64/libcairo.so.2.11400.8.The other two symbols you had trouble with are defined in the file /lib64/libfontconfig.so.1.9.2. These are supplied by the packages cairo-1.14.8-1.fc25.x86_64 and fontconfig-2.12.1-1.fc25.x86_64, respectively. So perhaps the following command will help fix your problem:

dnf install cairo-devel fontconfig-devel

Attachment: ldd-v.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]