Closed Bug 196269 Opened 22 years ago Closed 22 years ago

Building with --enable-xft uses libXft.so.1, not libXft.so.2

Categories

(Core Graveyard :: GFX: Gtk, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: anthony, Assigned: blizzard)

References

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030307 Phoenix/0.5 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030307 Phoenix/0.5 I'm building the current Phoenix CVS using the http://phoenix.ragweed.net/build instructions. I'm building on a Redhat7.3 machine. I've downloaded and installed fontconfig and Xft2, they're installed in /usr/local. RH ships with Xft1 installed in /usr/X11R6/lib. The pkg-config --libs xft shows all the right options, but when I look at the built dist/bin/components/libgfx_gtk.so with ldd, I see: libXft.so.1 => /usr/X11R6/lib/libXft.so.1 (0x404db000) Attempting to run with this library fails with ./dist/bin/phoenix-bin: relocation error: /home/anthony/src/phoenix/mozilla/dist/bin/components/libgfx_gtk.so: undefined symbol: XftLockFace It _should_ be getting linked with libXft.so.2. The only solution I've found is to make a symlink libXft.so.1 pointing to /usr/local/lib/libXft.so.2, and put that symlink in the LD_LIBRARY_PATH when running Phoenix. I can't put that (bogus) symlink in the system LD path, obviously, as it breaks all other applications linked with libXft1. Reproducible: Always Steps to Reproduce: 1. Build code 2. Look at output of ldd 3. Actual Results: It linked with the wrong library. Expected Results: Should have linked with libXft.so.2
->blizzard
Assignee: font → blizzard
Blocks: xft_tracking
Component: Layout: Fonts and Text → GFX: Gtk
Yeah, this is a system config issue - not a lot I can do here.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.