phfont weirdness on qnx630

I’m trying to get photon (QNX630) up and running on a SH7760 board.

I have problems starting the phfont font manager. It always complains about
a missing DLL or
“fatal error” although I should have the DLLs in place and the
LD_LIBRARY_PATH (and LIBPATH)pointing to them.

Here’s what happens when I try to start phfont:

------------------------------8<---------------------

export DL_DEBUG=1

phfont -d /usr/photon/font_repository &

[1] 45065

load_object: attempt load of libfont.so.1

load_elf32: loaded lib at addr 78200000(text) 7820bee0(data)
dlopen(“phfont.so”,3586)
load_object: attempt load of phfont.so
load_elf32: loaded lib at addr 78210000(text) 78232d70(data)
dlsym(80cd8b8,_btext)=8040860
Library loaded; type ‘add-sym phfont.so 8040860’ in gdb to load symbols
load_object: attempt load of libfontharnessutils.so.1
load_elf32: loaded lib at addr 78238000(text) 7823d420(data)
dlsym(80cd8b8,PHFONT_INTERNAL_API)=78232de4
Fatal error - check sloginfo.
Unable to open font DLL: No such file or directory

sloginfo

Time Sev Major Minor Args
Jan 01 00:01:04 1 8 0 phfont_init
Jan 01 00:01:04 1 8 0 phfontXX started OK
Jan 01 00:01:04 1 8 0 FatalError
Jan 01 00:01:04 1 8 0 No render engines loaded. io-font
Jan 01 00:01:04 1 8 0 Unable to launch Photon Font Server main.

---------------------->8--------------------------------------

  1. The cause of “fatal error” in sloginfo remains unclear

  2. “Unable to open font DLL: No such file or directory”
    The output doesn’t say which DLL is causing the problems

  3. What are “render engines” which were not loaded?

I have files:
/lib/dll/font/FCcore.so
/lib/dll/font/PHFcore.so
/lib/dll/font/ttfFFcore.so

Has anyone had similiar problems? Is there any way I could get more
information about what went wrong?

Thanks for any help or pointers.

  • Martin

I found out that phfont won’t start if /dev/shmem or /tmp linked to
/dev/shmem is included to the _CS_LIBPATH before /lib/dll. Don’t ask me
why…
Can someone reproduce this or is it just me?

“Martin Nylund” <mnylund@emtrion.de> schrieb im Newsbeitrag
news:cfdgnc$q9b$1@inn.qnx.com

I’m trying to get photon (QNX630) up and running on a SH7760 board.

I have problems starting the phfont font manager. It always complains
about
a missing DLL or
“fatal error” although I should have the DLLs in place and the
LD_LIBRARY_PATH (and LIBPATH)pointing to them.

Here’s what happens when I try to start phfont:

------------------------------8<---------------------

export DL_DEBUG=1

phfont -d /usr/photon/font_repository &

[1] 45065

load_object: attempt load of libfont.so.1

load_elf32: loaded lib at addr 78200000(text) 7820bee0(data)
dlopen(“phfont.so”,3586)
load_object: attempt load of phfont.so
load_elf32: loaded lib at addr 78210000(text) 78232d70(data)
dlsym(80cd8b8,_btext)=8040860
Library loaded; type ‘add-sym phfont.so 8040860’ in gdb to load symbols
load_object: attempt load of libfontharnessutils.so.1
load_elf32: loaded lib at addr 78238000(text) 7823d420(data)
dlsym(80cd8b8,PHFONT_INTERNAL_API)=78232de4
Fatal error - check sloginfo.
Unable to open font DLL: No such file or directory

sloginfo

Time Sev Major Minor Args
Jan 01 00:01:04 1 8 0 phfont_init
Jan 01 00:01:04 1 8 0 phfontXX started OK
Jan 01 00:01:04 1 8 0 FatalError
Jan 01 00:01:04 1 8 0 No render engines loaded. io-font
Jan 01 00:01:04 1 8 0 Unable to launch Photon Font Server main.

---------------------->8--------------------------------------

  1. The cause of “fatal error” in sloginfo remains unclear

  2. “Unable to open font DLL: No such file or directory”
    The output doesn’t say which DLL is causing the problems

  3. What are “render engines” which were not loaded?

I have files:
/lib/dll/font/FCcore.so
/lib/dll/font/PHFcore.so
/lib/dll/font/ttfFFcore.so

Has anyone had similiar problems? Is there any way I could get more
information about what went wrong?

Thanks for any help or pointers.

  • Martin

Hi, Martin , how did you solve the “Fatal Error” problem ?Can you help
me ?
Thanks very much.

Sorry I didn’t see this post until yet. Remove the /tmp (if it points to
/dev/shmem) from the _CS_LIBPATH/LD_LIBRARY_PATH variables or move it after
the other search paths. Font manager dies if it looks for font/* from
/dev/shmem, which can’t contain directories.

Martin

“dive_dmm” <dive_dmm@hotmail-dot-com.no-spam.invalid> schrieb im Newsbeitrag
news:crgkp0$2e6$1@inn.qnx.com

Hi, Martin , how did you solve the “Fatal Error” problem ?Can you help
me ?
Thanks very much.