OpenSolaris

Printable Version Enter a New Search
Bug ID 6350626
Synopsis amd64/libxft runpath points to 32-bit lib directory
State 10-Fix Delivered (Fix available in build)
Category:Subcategory xserver:font
Keywords
Responsible Engineer Alan Coopersmith
Reported Against snv_26
Duplicate Of
Introduced In
Commit to Fix snv_29
Fixed In snv_29
Release Fixed solaris_nevada(snv_29)
Related Bugs
Submit Date 15-November-2005
Last Update Date 16-January-2007
Description
The RUNPATH in /usr/openwin/lib/amd64/libXft.so is set to /usr/sfw/lib causing it
not finding fontconfig and libXrender:

bash$ ldd /usr/openwin/lib/amd64/libXft.so | grep ELF
        libfreetype.so.6 =>      /usr/sfw/lib/libfreetype.so.6  - wrong ELF class: ELFCLASS32
        libXrender.so.1 =>       /usr/sfw/lib/libXrender.so.1  - wrong ELF class: ELFCLASS32
bash$ dump -Lvp /usr/openwin/lib/amd64/libXft.so | grep PATH
[15]    RUNPATH         /usr/sfw/lib
[16]    RPATH           /usr/sfw/lib

Breaks the build of GNOME on the amd64 platform:

pkgbuild: /opt/SUNWspro/bin/cc -i -xarch=generic64 -Kpic -I/usr/include -o .libs/gconf-sanity-check-2 gconf-sanity-check.o -L/usr/lib/ST/64 -mt -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lmlib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lxml2 -lpthread -lz -lsocket -lnsl -lpopt ./.libs/libgconf-2.so -lgobject
-2.0 -lORBit-2 -lm -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -L/usr/lib/amd64 -R/usr/lib/amd64 -R/usr/lib/ST/64
pkgbuild: ld: warning: file /usr/sfw/lib/libfreetype.so.6: wrong ELF class: ELFCLASS32
pkgbuild: Undefined first referenced
pkgbuild: symbol in file
pkgbuild: FT_Done_Face /usr/lib/amd64/libXft.so.2
Work Around
N/A
Comments
N/A