From: Jonathan H N Chin on
On Solaris 10 (3/05 or 1/06), when I call programs like ggv from a
terminal I see messages like:

| (ggv:7741): Gtk-WARNING **: ld.so.1: ggv: fatal: relocation error:
| file /usr/lib/libfontconfig.so.1: symbol FT_Get_BDF_Property:
| referenced symbol not found

Despite the word "fatal", the program is not obviously affected.

The only places the string "FT_Get_BDF_Property" occurs on the machine
is in the files:

/usr/lib/sparcv9/libfontconfig.so.1
/usr/lib/libfontconfig.so.1
/usr/sfw/lib/sparcv9/libfreetype.so.6

I have searched sunsolve and the web, but have not found any references
to what is causing this nor a fix (at least none that seem applicable).
I find it hard to believe that I am the only person seeing the messages.

Any clues?


-jonathan

--
Jonathan H N Chin, 2 dan | deputy computer | Newton Institute, Cambridge, UK
<jc254(a)newton.cam.ac.uk> | systems mangler | tel/fax: +44 1223 767091/330508

"respondeo etsi mutabor" --Rosenstock-Huessy
From: Alan Coopersmith on
jc254(a)newton.cam.ac.uk (Jonathan H N Chin) writes in comp.unix.solaris:
|On Solaris 10 (3/05 or 1/06), when I call programs like ggv from a
|terminal I see messages like:
|
|| (ggv:7741): Gtk-WARNING **: ld.so.1: ggv: fatal: relocation error:
|| file /usr/lib/libfontconfig.so.1: symbol FT_Get_BDF_Property:
|| referenced symbol not found
|
|Despite the word "fatal", the program is not obviously affected.
|
|The only places the string "FT_Get_BDF_Property" occurs on the machine
|is in the files:
|
| /usr/lib/sparcv9/libfontconfig.so.1
| /usr/lib/libfontconfig.so.1
| /usr/sfw/lib/sparcv9/libfreetype.so.6

What about /usr/sfw/lib/libfreetype.so.6 ? That's where libfontconfig
should be finding it.

--
Alan Coopersmith * alanc(a)alum.calberkeley.org * Alan.Coopersmith(a)Sun.COM
http://blogs.sun.com/alanc/ * http://people.freedesktop.org/~alanc/
http://del.icio.us/alanc/ * http://www.csua.berkeley.edu/~alanc/
Working for, but definitely not speaking for, Sun Microsystems, Inc.
From: Jonathan H N Chin on
Alan Coopersmith <alanc(a)alum.calberkeley.org> writes:
>jc254(a)newton.cam.ac.uk (Jonathan H N Chin) writes in comp.unix.solaris:
>|| (ggv:7741): Gtk-WARNING **: ld.so.1: ggv: fatal: relocation error:
>|| file /usr/lib/libfontconfig.so.1: symbol FT_Get_BDF_Property:
>|| referenced symbol not found
>|The only places the string "FT_Get_BDF_Property" occurs on the machine
>|is in the files:
>|
>| /usr/lib/sparcv9/libfontconfig.so.1
>| /usr/lib/libfontconfig.so.1
>| /usr/sfw/lib/sparcv9/libfreetype.so.6

>What about /usr/sfw/lib/libfreetype.so.6 ? That's where libfontconfig
>should be finding it.

The file exists but it doesn't contain the symbol.

However, with that clue I see that SUNWfreetype2 comes with the OS
but installing StarOffice 8 has caused SUNWfreetype2.2 to be added:

$ ldd /usr/bin/ggv | grep freetype
libfreetype.so.6 => /usr/sfw/lib/libfreetype.so.6

$ grep libfreetype.so /var/sadm/install/contents
/usr/sfw/lib/libfreetype.so=libfreetype.so.6 s none SUNWfreetype2 SUNWfreetype2.2
/usr/sfw/lib/libfreetype.so.6 f none 0755 root bin 469532 27281 1041903663 SUNWfreetype2 SUNWfreetype2.2
/usr/sfw/lib/libfreetype.so.6.3.1=libfreetype.so.6 s none SUNWfreetype2.2
/usr/sfw/lib/libfreetype.so.6.3.7=libfreetype.so.6 s none SUNWfreetype2
/usr/sfw/lib/sparcv9/libfreetype.so=libfreetype.so.6 s none SUNWfreetype2
/usr/sfw/lib/sparcv9/libfreetype.so.6 f none 0755 root bin 924096 18399 1117036060 SUNWfreetype2
/usr/sfw/lib/sparcv9/libfreetype.so.6.3.7=libfreetype.so.6 s none SUNWfreetype2

Perhaps that is the culprit.

Hmmm. I wonder what would be the best workaround.
Removing SUNWfreetype2.2 probably wouldn't be wise.


-jonathan

--
Jonathan H N Chin, 2 dan | deputy computer | Newton Institute, Cambridge, UK
<jc254(a)newton.cam.ac.uk> | systems mangler | tel/fax: +44 1223 767091/330508

"respondeo etsi mutabor" --Rosenstock-Huessy
From: Alan Coopersmith on
jc254(a)newton.cam.ac.uk (Jonathan H N Chin) writes in comp.unix.solaris:
|Alan Coopersmith <alanc(a)alum.calberkeley.org> writes:
|>jc254(a)newton.cam.ac.uk (Jonathan H N Chin) writes in comp.unix.solaris:
|>|| (ggv:7741): Gtk-WARNING **: ld.so.1: ggv: fatal: relocation error:
|>|| file /usr/lib/libfontconfig.so.1: symbol FT_Get_BDF_Property:
|>|| referenced symbol not found
|>|The only places the string "FT_Get_BDF_Property" occurs on the machine
|>|is in the files:
|>|
|>| /usr/lib/sparcv9/libfontconfig.so.1
|>| /usr/lib/libfontconfig.so.1
|>| /usr/sfw/lib/sparcv9/libfreetype.so.6
|
|>What about /usr/sfw/lib/libfreetype.so.6 ? That's where libfontconfig
|>should be finding it.
|
|The file exists but it doesn't contain the symbol.
|
|However, with that clue I see that SUNWfreetype2 comes with the OS
|but installing StarOffice 8 has caused SUNWfreetype2.2 to be added:

Wow, that's broken.

|Hmmm. I wonder what would be the best workaround.
|Removing SUNWfreetype2.2 probably wouldn't be wise.

I'd delete it, but then you probably also have to remove SUNWfreetype2
and reinstall it from the installation media.

--
Alan Coopersmith * alanc(a)alum.calberkeley.org * Alan.Coopersmith(a)Sun.COM
http://blogs.sun.com/alanc/ * http://people.freedesktop.org/~alanc/
http://del.icio.us/alanc/ * http://www.csua.berkeley.edu/~alanc/
Working for, but definitely not speaking for, Sun Microsystems, Inc.
From: Jonathan H N Chin on
Alan Coopersmith <alanc(a)alum.calberkeley.org> writes:
>jc254(a)newton.cam.ac.uk (Jonathan H N Chin) writes in comp.unix.solaris:
>>Removing SUNWfreetype2.2 probably wouldn't be wise.

>I'd delete it, but then you probably also have to remove SUNWfreetype2
>and reinstall it from the installation media.


Upon closer inspection, it seems that despite the name,
2.2 is older than 2. It appears to be safe to remove it
(and reinstall 2).


-jonathan

--
Jonathan H N Chin, 2 dan | deputy computer | Newton Institute, Cambridge, UK
<jc254(a)newton.cam.ac.uk> | systems mangler | tel/fax: +44 1223 767091/330508

"respondeo etsi mutabor" --Rosenstock-Huessy
 |  Next  |  Last
Pages: 1 2
Prev: usb stick volume label
Next: starting mysql