phfont error

Hi,

I wanted to make a bootable image that starts photon.
Support sent me a few build files that should do the trick. I also tried the
sample build file included in the ‘Appendix: Photon in Embedded Systems’.
Tried modifying the build files etc. I always get the same message after
running phfont:
‘Unable to open font DLL: no such file or directory’

Sloginfo:
phfont_init
phfontXX started OK
FatalError
No render engines loaded. io-font
Unable to launch Photon Font Server main.

I’ve loaded all font libs, modified font_repository content, set default
paths etc.
By now I’ve read all official documentation in this subject.
Is this a problem of QNX 6.3.0 service pack 1?

I’m really out of ideas, can anyone help?

Joost de Folter.

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. I had really fun looking for this bug…

Try also to set DL_DEBUG=1 to see if there’s any more information about
missing libraries.

Martin

“Joost de Folter” <joost.defolter@innovamedica.com.mx> schrieb im
Newsbeitrag news:d0an2b$b2c$1@inn.qnx.com

Hi,

I wanted to make a bootable image that starts photon.
Support sent me a few build files that should do the trick. I also tried
the sample build file included in the ‘Appendix: Photon in Embedded
Systems’. Tried modifying the build files etc. I always get the same
message after running phfont:
‘Unable to open font DLL: no such file or directory’

Sloginfo:
phfont_init
phfontXX started OK
FatalError
No render engines loaded. io-font
Unable to launch Photon Font Server main.

I’ve loaded all font libs, modified font_repository content, set default
paths etc.
By now I’ve read all official documentation in this subject.
Is this a problem of QNX 6.3.0 service pack 1?

I’m really out of ideas, can anyone help?

Joost de Folter.

Hi,

I don’t have /tmp included in any path, but changed the link to /dev/shmem
(to a physical dir) anyway.
Unfortunately, this seemed to have no effect.

I also tried the debug option to get more info. Just before the error
message:
attempt load of libfont.so.1
(Lib loaded)
attempt load of phfont.so
(Lib loaded)
attempt load of libfontharnessutils.so.1
(Lib loaded)
(Fatal error)

Does this have something to do with the libs in /lib/dll/font/ or with the
fontopts file perhaps?
They do seem to be included correctly in my image…

Any suggestions?

Thanks,
Joost.


“Martin Nylund” <mnylund@emtrion.de> escribió en el mensaje
news:d0h6js$46h$1@inn.qnx.com

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. I had really fun looking for this bug…

Try also to set DL_DEBUG=1 to see if there’s any more information about
missing libraries.

Martin

“Joost de Folter” <> joost.defolter@innovamedica.com.mx> > schrieb im
Newsbeitrag news:d0an2b$b2c$> 1@inn.qnx.com> …
Hi,

I wanted to make a bootable image that starts photon.
Support sent me a few build files that should do the trick. I also tried
the sample build file included in the ‘Appendix: Photon in Embedded
Systems’. Tried modifying the build files etc. I always get the same
message after running phfont:
‘Unable to open font DLL: no such file or directory’

Sloginfo:
phfont_init
phfontXX started OK
FatalError
No render engines loaded. io-font
Unable to launch Photon Font Server main.

I’ve loaded all font libs, modified font_repository content, set default
paths etc.
By now I’ve read all official documentation in this subject.
Is this a problem of QNX 6.3.0 service pack 1?

I’m really out of ideas, can anyone help?

Joost de Folter.

hmm, I don’t think its the fontopts. As far as I know the Render engines are
the FCcore.so, PHFcore.so and ttfFFcore.so libraries in the /lib/dll/font
directory and your font manager is complaining that it can’t find/load them.

Could you send the output of command ‘ls -lR /lib’ and the lines from the
build file where you set the _CS_LIBPATH/LD_LIBRARY_PATH variables (procnto
start line as well)


“Joost de Folter” <joost.defolter@innovamedica.com.mx> schrieb im
Newsbeitrag news:d0kt99$ui$1@inn.qnx.com

Hi,

I don’t have /tmp included in any path, but changed the link to /dev/shmem
(to a physical dir) anyway.
Unfortunately, this seemed to have no effect.

I also tried the debug option to get more info. Just before the error
message:
attempt load of libfont.so.1
(Lib loaded)
attempt load of phfont.so
(Lib loaded)
attempt load of libfontharnessutils.so.1
(Lib loaded)
(Fatal error)

Does this have something to do with the libs in /lib/dll/font/ or with the
fontopts file perhaps?
They do seem to be included correctly in my image…

Any suggestions?

Thanks,
Joost.


“Martin Nylund” <> mnylund@emtrion.de> > escribió en el mensaje
news:d0h6js$46h$> 1@inn.qnx.com> …
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. I had really fun looking for this bug…

Try also to set DL_DEBUG=1 to see if there’s any more information about
missing libraries.

Martin

“Joost de Folter” <> joost.defolter@innovamedica.com.mx> > schrieb im
Newsbeitrag news:d0an2b$b2c$> 1@inn.qnx.com> …
Hi,

I wanted to make a bootable image that starts photon.
Support sent me a few build files that should do the trick. I also tried
the sample build file included in the ‘Appendix: Photon in Embedded
Systems’. Tried modifying the build files etc. I always get the same
message after running phfont:
‘Unable to open font DLL: no such file or directory’

Sloginfo:
phfont_init
phfontXX started OK
FatalError
No render engines loaded. io-font
Unable to launch Photon Font Server main.

I’ve loaded all font libs, modified font_repository content, set default
paths etc.
By now I’ve read all official documentation in this subject.
Is this a problem of QNX 6.3.0 service pack 1?

I’m really out of ideas, can anyone help?

Joost de Folter.

Hi,

I did the ls command (like you said) of /lib, /usr/lib and of
/usr/photon/font_repository (running in my target Pentium miniPC)
Note that other libs/devs etc. are in the /proc/boot dir

The photonsh.build is the latest build file I used.

By the way, I did a clean re-install of QNX, this time without service pack
1, no apparent difference in rebuilding and running the image.

Any suggestion is welcome!

Joost.

“Martin Nylund” <mnylund@emtrion.de> escribió en el mensaje
news:d0magq$27v$1@inn.qnx.com

hmm, I don’t think its the fontopts. As far as I know the Render engines
are
the FCcore.so, PHFcore.so and ttfFFcore.so libraries in the /lib/dll/font
directory and your font manager is complaining that it can’t find/load
them.

Could you send the output of command ‘ls -lR /lib’ and the lines from the
build file where you set the _CS_LIBPATH/LD_LIBRARY_PATH variables
(procnto
start line as well)


“Joost de Folter” <> joost.defolter@innovamedica.com.mx> > schrieb im
Newsbeitrag news:d0kt99$ui$> 1@inn.qnx.com> …
Hi,

I don’t have /tmp included in any path, but changed the link to
/dev/shmem
(to a physical dir) anyway.
Unfortunately, this seemed to have no effect.

I also tried the debug option to get more info. Just before the error
message:
attempt load of libfont.so.1
(Lib loaded)
attempt load of phfont.so
(Lib loaded)
attempt load of libfontharnessutils.so.1
(Lib loaded)
(Fatal error)

Does this have something to do with the libs in /lib/dll/font/ or with
the
fontopts file perhaps?
They do seem to be included correctly in my image…

Any suggestions?

Thanks,
Joost.


“Martin Nylund” <> mnylund@emtrion.de> > escribió en el mensaje
news:d0h6js$46h$> 1@inn.qnx.com> …
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. I had really fun looking for this bug…

Try also to set DL_DEBUG=1 to see if there’s any more information about
missing libraries.

Martin

“Joost de Folter” <> joost.defolter@innovamedica.com.mx> > schrieb im
Newsbeitrag news:d0an2b$b2c$> 1@inn.qnx.com> …
Hi,

I wanted to make a bootable image that starts photon.
Support sent me a few build files that should do the trick. I also
tried
the sample build file included in the ‘Appendix: Photon in Embedded
Systems’. Tried modifying the build files etc. I always get the same
message after running phfont:
‘Unable to open font DLL: no such file or directory’

Sloginfo:
phfont_init
phfontXX started OK
FatalError
No render engines loaded. io-font
Unable to launch Photon Font Server main.

I’ve loaded all font libs, modified font_repository content, set
default
paths etc.
By now I’ve read all official documentation in this subject.
Is this a problem of QNX 6.3.0 service pack 1?

I’m really out of ideas, can anyone help?

Joost de Folter.

begin 666 photonsh.build
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,-“B,-“B,@4G5N;FEN9R!0
M:&]T;VX@:6X@44Y8($YE=71R:6YO"B,-“B,@3F]T92!T:&%T('1H92!D969A
M=6QT(&EM86=E(&QI;FMS(&%T(#1-+B!)9B!Y;W4@:&%V92 T32!O<B!L97-S
M+ T*(R!U;F-O;6UE;G0@=&AE(&QI;F4@8F5L;W<-“B,@6VEM86=E/3%M70T*
M(PT*(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,-”@T6W9I<G1U86P]
M>#@V+&)I;W,@V-O;7!R97-S72!B;V]T(#T@>PT"7-T87)T=7 M8FEO<PT

M"5!!5$@].B]P<F]C+V)O;W0Z+W5S<B]B:6XZ+V)I;CHO=7-R+W!H;W1O;B]B
M:6X-”@E,1%],24)205)97U!!5$@].B]P<F]C+V)O;W0Z+W5S<B]L:6(Z+VQI
M8CHO;&EB+V1L; T*“5!(3U1/3E]0051(/2]U<W(O<&AO=&]N(’!R;V-N=&@
M+78-“GT-”@T6RMS8W)I<‘1=(’-T87)T=7 MV-R:7!T(#T@PT(R!0<F]G
M<F%M<R!R97%U:7)E('1H92!R=6YT:6UE(&QI;FME<B H;&1Q;G@N<V\I('1O
M(&)E(&%T(&$@9FEX960@;&]C871I;VX-”@EP<F]C;6=R7W-Y;6QI;FL@+BXO
M+BXO<’)O8R]B;V]T+VQI8F,N<V\N,B O=7-R+VQI8B]L9’%N>“YS;RXR#0H-
M”@ED:7-P;&%Y7VUS9R!796QC;VUE('1O(%%.6”!.975T<FEN;PH-”@ED979C
M+6-O;B M;C0@)@H)<F5O<&5N("]D978O8V]N,0H*“7-L;V=G97(@)@T*#0HC
M(%-T87)T(‘1H92!P8VD@<V5R=F5R#0H)<V5E9’)E<PT*“7!C:2UB:6]S(“8-
M”@EW86ET9F]R(”]D978O<&-I#0H-“B,@4V]M92!C;VUM;VX@<V5R=F5R<PT*
M"7!I<&4@)@T*“6UQ=65U92 F#0H)9&5V8RUS97(X,C4P(“UE(“8-”@ED979C
M+7!T>2 F#0H-“B,@5&AE<V4@96YV('9A<FEA8FQE<R!I;FAE<FET960@8GD@
M86QL('1H92!P<F]G<F%M<R!W:&EC:”!F;VQL;W<-“B @(”!365-.04U%/6YT
M;PT*(” @(%1%4DT]<6%N<VD-“B @(”!02$]43TX]+V1E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,C(R,C
M(R,C(R,C(R,-“B,C($=205!(24-3(&1R:79E<@T*(R,@+2!4:&4@<F5S;VQU
M=&EO;B!O9B!T:&4@<&%N96P@;VX@=&AE($]-05 U.3$R(&ES(#(T,’@S,C!X
M,38-“B,C(“T@4F5F97(@=&@=&AE(&AE;’ @9&]C=6UE;G1A=&EO;B!F;W(@
M:6YF;W)M871I;VX@;VX@96UB961D:6YG(‘1H90T*(R,@(%!H;W1O;B!-:6-R
M;T=522X-“B,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C#0H@(” @9&ES<&QA
M>5]M<V<@4W1A<G1I;F<@1W)A<&AI8W,-“B @(”!I;RUG<F%P:&EC<R M9’-V
M9V$@<&AO=&]N+'AR97,]-C0P+‘ER97,]-#@P+&)I=’!P/3@L<F5F<F5S:#TV
M,” M<’!H;W1O;@T*(” @(’=A:71F;W(@+V1E=B]P:&9O;G0@,3 -”@T*(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,-“B,C($EN<‘5T($1R:79E<G,-“B,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C#0HC(” @(&1I<W!L87E?;7-G(’-T
M87)T:6YG($EN<‘5T($1R:79E<G,-“B,@(” @9&5V:2UH:7)U;B!K8F0@:V)D
M9&5V(’!S,B!M;W5S961E=B F#0H*(R!-;W5N=”!C=7)R96YT(&1E=FEC92 H
M0V]M<&%C="!&;&%S:"!M96UO<GD@8V]M<&%T:6)L90T@=VET:"!H87)D9&ES
M:RD*“61E=F(M96ED90H)=V%I=&9O<B O9&5V+VAD,‘0W-PH);6]U;G0@+V1E
M=B]H9#!T-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%N>#0N<V*“B,@5&AE(&9I;&5S(&%B;W9E(‘1H:7,@;&EN92!C86X@8F4@
M<VAA<F5D(&)Y(&UU=&EP;&4@<’)O8V5S<V5S#0I;9&%T83UC70T*(R!%>&5C
M=71A8FQE<R!M=7-T(&-U<G)E;G1L>2!B92!B96QO=R!T:&ES(&QI;F4-”@T*
M(R!);F-L=61E(&$@8V]N<V]L92!D<FEV97(-“F1E=F,M8V]N#0H-“B,@26YC
M;'5D92!)1$4@:&%R9”!D:7-K(&1R:79E<BP@<V@>6]U(&-A;B!A8V-E<W,@
M9FEL97,@;VX@:&%R9”!D:7-K"F1E=F(M96ED90H*(R!);F-L=61E(’!C:2!S
M97)V97(-“G!C:2UB:6]S#0IS965D<F5S#0H-“B,@57-E('1H92 B<‘5B;&EC
M(&1O;6%I;B!K;W)N(’-H96QL(B!A<R!T:&4@9&5F875L=”!S:&5L;” B<V@B
M#0IS:#UK<V@-“B,@;W(@=7-E('1H92!S;6%L;&5R(&YO;BUP;W-I>” B1F%T
M($5M8F5D9&5D(%-H96QL(B!A<R!T:&4@9&5F875L="!S:&5L; T@(G-H(@T*
M(W-H/69E<V@-"@T*(R!/=&AE<B!E>&5C=71A8FQE<PT*<&1E8G5G#0IP:7!E
M#0IM<75E=64-“F1E=F,M<V5R.#(U, T9&5V8RUP='D-"FUO=6YT"FQS#0IM
M=@IR;0IC< IM:V1I<@IR;61I<@IC870
;&5S<PIM;W)E"F9I;F08VAM;V0
M;&X*=VAI8V@<&ED:6X-"G5N86UE#0IS;&]G9V5R#0IS;&]G:6YF;PT9&5V
M8RUP=‘D-"FMS: T4&AO=&]N#0II;RUG<F%P:&EC<PT9&5V:2UH:7)U;@T*
M<’=M#0IS;&5E< T*<&-I"FEN<‘5T=’)A< IC<G1T<F%P"G-H;W=?=F5S80HO
M=7-R+W!H;W1O;B]B:6XO9&5V9W0M:6]G<F%P:&EC<R ](”]U<W(O<&AO=&]N
M+V)I;B]D979G=“UI;V=R87!H:6-S"B]U<W(O<&AO=&]N+V-O;F9I9R]C<G1C
M+7-E='1I;F=S(#T@+W5S<B]P:&]T;VXO8V]N9FEG+V-R=&,M<V5T=&EN9W,*
M+W5S<B]P:&]T;VXO<&%L971T92]V9V$T+G!A;” ]("]U<W(O<&AO=&]N+W!A
M;&5T=&4O=F=A-“YP86P6RMR87==("]U<W(O<&AO=&]N+V)I;B]P=&5R;2 ]
M(’!T97)M#0I;W)A=UT@+W5S<B]P:&]T;VXO8FEN+W!H8V%L8U]S;2 ](’!H
M8V%L8U]S;0T
<&AF;VYT#0HC(&%L;&]W(’!T97)M(‘1O(’-A=F4@:71S(&-O
M;F9I9W5R871I;VX@=&@4D%-+"!I9B!T:&4@=7-E<B!C:&%N9V5S(&ET+@T

M6W1Y<&4];&EN:UT@+RYP:”]P=&5R;2 ]("]D978O<VAM96T-“EMT>7!E/6QI
A;FM=(”\N<&@O=VTO=VTN8V9G(#T@+V1E=B]S:&UE;0T*
`
end

begin 666 fontrepout.dat
M"B]U<W(O<&AO=&]N+V9O;G1?<F5P;W-I=&]R>3H*=&]T86P@,C,Q"BUR=RUR
M=RUR=RT@(#$@," @(" @(" @(# @(" @(" @(" @(" @(" Q-3@@36%R(#$P
M(" R,# U(&9O;G1D:7(+7)W+7)W+7)W+2 @,2 P(" @(" @(" @," @(" @
M(" @(" @(" @(" V-R!-87(@,3 @(#(P,#4@9F]N=&5X= HM<G<M<G<M<BTM
M(" Q(# @(" @(" @(" P(" @(" @(" @(" @(" @,3@R($UA>2 P-2 @,C P
M-"!F;VYT:V5Y"BUR=RUR=RUR=RT@(#$@," @(" @(" @(# @(" @(" @(" @
M(" @(" @-3$@36%R(#$P(" R,# U(&9O;G1M87 +7)W+7)W+7(M+2 @,2 P
M(" @(" @(" @," @(" @(" @(" @(" @(#$P-R!-87D@,#4@(#(P,#0@9F]N
M=&]P=’,
+7)W+7)W+7(M+2 @,2 P(" @(" @(" @," @(" @(" @(" @(" @
M(#DY-"!-87D@,#4@(#(P,#0@;6%P<&EN9W,
+7)W+7)W+7(M+2 @,2 P(" @
M(" @(" @," @(" @(" @(" @(" @,C@Q-R!-87D@,#4@(#(P,#0@<&AC=7)S
M;W(N<&AF"BUR=RUR=RUR+2T@(#$@," @(" @(" @(# @(" @(" @(" @(" Q
@,3$R-3(@36%Y(# U(" R,# T('1T,C P.6U?+G1T9@H
end

begin 666 libout.dat
M"B]L:6(Z"G1O=&%L(#<R. ID<G=X<G=X<BUX(" R(# @(" @(" @(" P(" @
M(" @(" @(" @(" @(#$P($UA<B P.2 @,C P-2!D;&P*;’)W>’)W>’(M>" @
M,2 P(" @(" @(" @," @(" @(" @(" @(" @(" R,"!-87D@,#4@(#(P,#0@
M;&EB1D8M5#)++6-A8VAE+G-O(“T^(&QI8D9&+50R2RUC86-H92YS;RXR"BUR
M=WAR=WAR+7@@(#$@,” @(" @(" @(# @(" @(" @(" @(" @,3(R.#@@36%Y
M(# U(" R,# T(&QI8D9&+50R2RUC86-H92YS;RXR"FQR=WAR=WAR+7@@(#$@
M," @(" @(" @(# @(" @(" @(" @(" @(" @,3<@36%Y(# U(" R,# T(&QI
M8D9&+50R2RUF;2YS;R M/B!L:6)&1BU4,DLM9FTN<V\N,0HM<G=X<G=X<BUX
M(" Q(# @(" @(" @(" P(" @(" @(" @(" @(#$V,S@T($UA>2 P-2 @,C P
M-"!L:6)&1BU4,DLM9FTN<V\N,0IL<G=X<G=X<BUX(" Q(# @(" @(" @(" P
M(" @(" @(" @(" @(" @(#$T($UA>2 P-2 @,C P-"!L:6)&1BU4,DLN<V@
M+3X@;&EB1D8M5#)++G-O+C(+7)W>’)W>’(M>" @,2 P(" @(" @(" @," @
M(" @(" @(" @(#(T.3@U-B!-87D@,#4@(#(P,#0@;&EB1D8M5#)++G-O+C(

M;’)W>’)W>’(M>" @,2 P(" @(" @(" @," @(" @(" @(" @(" @(" Q-B!-
M87D@,#4@(#(P,#0@;&EB8FQK8V%C:&4N<V@+3X@;&EB8FQK8V%C:&4N<V\N
M,@HM<G=X<G=X<BUX(" Q(# @(" @(" @(" P(" @(" @(" @(" @(#$V,S@T
M($UA>2 P-2 @,C P-"!L:6)B;&MC86-H92YS;RXR"FQR=WAR=WAR+7@@(#$@
M," @(" @(" @(# @(" @(" @(" @(" @(" @,3(@36%Y(# U(" R,# T(&QI
M8F9O;G0N<V@+3X@;&EB9F]N=“YS;RXQ"BUR=WAR=WAR+7@@(#$@,” @(" @
M(" @(# @(" @(" @(" @(" @-#4P-38@36%Y(# U(" R,# T(&QI8F9O;G0N
M<V\N,0IL<G=X<G=X<BUX(" Q(# @(" @(" @(" P(" @(" @(" @(" @(" @
M(#(T($UA>2 P-2 @,C P-"!L:6)F;VYT:&%R;F5S<W5T:6QS+G-O(“T^(&QI
M8F9O;G1H87)N97-S=71I;’,N<V\N,0HM<G=X<G=X<BUX(” Q(# @(" @(" @
M(" P(" @(" @(" @(" @(#(P-#@P($UA>2 P-2 @,C P-"!L:6)F;VYT:&%R
M;F5SW5T:6QS+G-O+C$*;’)W’)W>’(M>" @,2 P(" @(" @(" @," @(" @
M(" @(" @(" @(" Q-R!-87D@,#4@(#(P,#0@;&EB9F]N=‘5T:6QS+G-O(“T^
M(&QI8F9O;G1U=&EL<RYS;RXQ"BUR=WAR=WAR+7@@(#$@,” @(" @(" @(# @
M(" @(" @(" @(" @(#@Q.3(@36%Y(# U(" R,# T(&QI8F9O;G1U=&EL<RYS
M;RXQ"@HO;&EB+V1L;#H*=&]T86P@-#0Y"BUR=WAR=WAR+7@@(#$@," @(" @
M(" @(# @(" @(" @(" @(" @,38S.#0@07!R(#,P(" R,# T(&1E=F<M<W9G
M82YS;PID<G=X<G=X<BUX(" R(# @(" @(" @(" P(" @(" @(" @(" @(" @
M(#$P($UA<B P.2 @,C P-2!F;VYT"BUR=WAR=WAR+7@@(#$@," @(" @(" @
M(# @(" @(" @(" @(" @-C4U,S8@36%Y(# U(" R,# T(&=R:2UP:&]T;VXN
M<V*+7)W>’)W>’(M>" @,2 P(" @(" @(" @," @(" @(" @(" @(#$T-S0U
M-B!-87D@,#4@(#(P,#0@<&AF;VYT+G-O"@HO;&EB+V1L;"]F;VYT.@IT;W1A
M;" R,38*+7)W>’)W>’(M>" @,2 P(" @(" @(" @," @(" @(" @(" @(" T
M,#DV,"!-87D@,#4@(#(P,#0@1D-C;W)E+G-O"BUR=WAR=WAR+7@@(#$@," @
M(" @(" @(# @(" @(" @(" @(" @,C@V-S(@36%Y(# U(" R,# T(%!(1F-O
M<F4N<V*+7)W>’)W>’(M>" @,2 P(" @(" @(" @," @(" @(" @(" @(" T
?,#DV,"!-87D@,#4@(#(P,#0@='1F1D9C;W)E+G-O"@``
`
end

begin 666 usrlibout.dat
M"B]U<W(O;&EB.@IT;W1A;" S,C0P"FQR=WAR=WAR=W@@(#$@," @(" @(" @
M(# @(" @(" @(" @(" @(" @,C4@2F%N(# Q(# P.C S(&QD<6YX+G-O+C(@
M+3X@+BXO+BXO<’)O8R]B;V]T+VQI8F,N<V\N,@IL<G=X<G=X<BUX(" Q(# @
M(" @(" @(" P(" @(" @(" @(" @(" @(#$P($UA>2 P-2 @,C P-"!L:6)!
M<“YS;R M/B!L:6)!<“YS;RXS"BUR=WAR=WAR+7@@(#$@,” @(” @(" @(# @
M(" @(" @(" @(" @-C4U,S8@36%Y(# U(" R,# T(&QI8D%P+G-O+C,;’)W
M>’)W>’(M>" @,2 P(" @(" @(" @," @(" @(" @(" @(" @(" Q-B!!<’(@
M,S @(#(P,#0@;&EB9&ES<'5T:6PN<V@+3X@;&EB9&ES<'5T:6PN<V\N,@HM
M<G=X<G=X<BUX(" Q(# @(" @(" @(" P(" @(" @(" @(" @(#0P.38P($%P
M<B S," @,C P-"!L:6)D:7-P=71I;“YS;RXR"FQR=WAR=WAR+7@@(#$@,” @
M(" @(" @(# @(" @(" @(" @(" @(" @,3$@07!R(#,P(" R,# T(&QI8F9F
M8BYS;R M/B!L:6)F9F(N<V\N,@HM<G=X<G=X<BUX(" Q(# @(" @(" @(" P
M(" @(" @(" @(" @(#0Y,34R($%P<B S," @,C P-"!L:6)F9F(N<V\N,@IL
M<G=X<G=X<BUX(" Q(# @(" @(" @(" P(" @(" @(" @(" @(" @(#$Q($UA
M>2 P-2 @,C P-"!L:6)G<FDN<V@+3X@;&EB9W)I+G-O+C(
+7)W>’)W>’(M
M>" @,2 P(" @(" @(" @," @(" @(" @(" @(" T-3 U-B!-87D@,#4@(#(P
M,#0@;&EB9W)I+G-O+C(;’)W>’)W>’(M>" @,2 P(" @(" @(" @," @(" @
M(" @(" @(" @(" Q,"!-87D@,#4@(#(P,#0@;&EB<&@N<V@+3X@;&EB<&@N
M<V\N,PHM<G=X<G=X<BUX(" Q(# @(" @(" @(" P(" @(" @(" @(" Q,#4V
M-S8X($UA>2 P-2 @,C P-"!L:6)P:“YS;RXS"FQR=WAR=WAR+7@@(#$@,” @
M(" @(" @(# @(" @(" @(" @(" @(" @,34@36%Y(# U(" R,# T(&QI8G!H
M97AL:6(N<V@+3X@;&EB<&AE>&QI8BYS;RXS"BUR=WAR=WAR+7@@(#$@," @
M(" @(" @(# @(" @(" @(" @(" Q.# R,C0@36%Y(# U(" R,# T(&QI8G!H
M97AL:6(N<V\N,PIL<G=X<G=X<BUX(" Q(# @(" @(" @(" P(" @(" @(" @
M(" @(" @(#$V($UA>2 P-2 @,C P-"!L:6)P:’)E;F1E<BYS;R M/B!L:6)P
M:’)E;F1E<BYS;RXR"BUR=WAR=WAR+7@@(#$@," @(" @(" @(# @(" @(" @
J(" @(" R,3<P.#@@36%Y(# U(" R,# T(&QI8G!H<F5N9&5R+G-O+C(

`
end

The font manager searches the _CS_LIBPATH configuration string for the
libraries and seems to ignore the LD_LIBRARY_PATH (I think this is just
design error on the font manager). You can set the _CS_LIBPATH by setting
the LD_LIBRARY_PATH on the procnto startline.

This means on-the-same-line otherwise _CS_LIBPATH won’t get set. i.e.

instead of:

PATH=blah:blah
LD_LIBRARY_PATH=blah:blah
procnto

write:

PATH=blah:blah LD_LIBRARY_PATH=blah:blah procnto


Note that this doesen’t yet assign any value to the LD_LIBRARY_PATH
environment variable. You have to export it separately in the script part of
the build file (how very logical…) In my build, however, the
LD_LIBRARY_PATH environment variable is not needed if the _CS_LIBPATH
configuration is correctly set.

you can get the _CS_LIBPATH value with command ‘getconf _CS_LIBPATH’ (and
set it with setconf)

hope this helps
Martin

“Joost de Folter” <joost.defolter@innovamedica.com.mx> schrieb im
Newsbeitrag news:d0q7gi$4ke$1@inn.qnx.com

Hi,

I did the ls command (like you said) of /lib, /usr/lib and of
/usr/photon/font_repository (running in my target Pentium miniPC)
Note that other libs/devs etc. are in the /proc/boot dir

The photonsh.build is the latest build file I used.

By the way, I did a clean re-install of QNX, this time without service
pack 1, no apparent difference in rebuilding and running the image.

Any suggestion is welcome!

Joost.

“Martin Nylund” <> mnylund@emtrion.de> > escribió en el mensaje
news:d0magq$27v$> 1@inn.qnx.com> …
hmm, I don’t think its the fontopts. As far as I know the Render engines
are
the FCcore.so, PHFcore.so and ttfFFcore.so libraries in the /lib/dll/font
directory and your font manager is complaining that it can’t find/load
them.

Could you send the output of command ‘ls -lR /lib’ and the lines from the
build file where you set the _CS_LIBPATH/LD_LIBRARY_PATH variables
(procnto
start line as well)


“Joost de Folter” <> joost.defolter@innovamedica.com.mx> > schrieb im
Newsbeitrag news:d0kt99$ui$> 1@inn.qnx.com> …
Hi,

I don’t have /tmp included in any path, but changed the link to
/dev/shmem
(to a physical dir) anyway.
Unfortunately, this seemed to have no effect.

I also tried the debug option to get more info. Just before the error
message:
attempt load of libfont.so.1
(Lib loaded)
attempt load of phfont.so
(Lib loaded)
attempt load of libfontharnessutils.so.1
(Lib loaded)
(Fatal error)

Does this have something to do with the libs in /lib/dll/font/ or with
the
fontopts file perhaps?
They do seem to be included correctly in my image…

Any suggestions?

Thanks,
Joost.


“Martin Nylund” <> mnylund@emtrion.de> > escribió en el mensaje
news:d0h6js$46h$> 1@inn.qnx.com> …
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. I had really fun looking for this bug…

Try also to set DL_DEBUG=1 to see if there’s any more information about
missing libraries.

Martin

“Joost de Folter” <> joost.defolter@innovamedica.com.mx> > schrieb im
Newsbeitrag news:d0an2b$b2c$> 1@inn.qnx.com> …
Hi,

I wanted to make a bootable image that starts photon.
Support sent me a few build files that should do the trick. I also
tried
the sample build file included in the ‘Appendix: Photon in Embedded
Systems’. Tried modifying the build files etc. I always get the same
message after running phfont:
‘Unable to open font DLL: no such file or directory’

Sloginfo:
phfont_init
phfontXX started OK
FatalError
No render engines loaded. io-font
Unable to launch Photon Font Server main.

I’ve loaded all font libs, modified font_repository content, set
default
paths etc.
By now I’ve read all official documentation in this subject.
Is this a problem of QNX 6.3.0 service pack 1?

I’m really out of ideas, can anyone help?

Joost de Folter.

The requirement of using the _CS_LIBPATH was introduced in 6.3.0.

From Momentics 6.3.0 Release Note:


For security reasons, the path(s) specified by LD_LIBRARY_PATH for
setuid/setgid binaries will no longer be searched when loading shared
objects.

Instead, only the path(s) defined by the _CS_LIBPATH configuration string
will be used. You can examine or modify the value of _CS_LIBPATH using the
getconf and setconf utilities.


The use of the _CS_LIBPATH is also documented in the “Photon in Embedded
Systems” appendix to the "Building Embedded Systems Guide:

http://www.qnx.com/developers/docs/6.3.0SP1/photon/prog_guide/embed.html

Regards,

Joe

“Martin Nylund” <mnylund@emtrion.de> wrote in message
news:d0rmsb$8bs$1@inn.qnx.com

The font manager searches the _CS_LIBPATH configuration string for the
libraries and seems to ignore the LD_LIBRARY_PATH (I think this is just
design error on the font manager). You can set the _CS_LIBPATH by setting
the LD_LIBRARY_PATH on the procnto startline.

This means on-the-same-line otherwise _CS_LIBPATH won’t get set. i.e.

instead of:

PATH=blah:blah
LD_LIBRARY_PATH=blah:blah
procnto

write:

PATH=blah:blah LD_LIBRARY_PATH=blah:blah procnto


Note that this doesen’t yet assign any value to the LD_LIBRARY_PATH
environment variable. You have to export it separately in the script part
of the build file (how very logical…) In my build, however, the
LD_LIBRARY_PATH environment variable is not needed if the _CS_LIBPATH
configuration is correctly set.

you can get the _CS_LIBPATH value with command ‘getconf _CS_LIBPATH’ (and
set it with setconf)

hope this helps
Martin

“Joost de Folter” <> joost.defolter@innovamedica.com.mx> > schrieb im
Newsbeitrag news:d0q7gi$4ke$> 1@inn.qnx.com> …
Hi,

I did the ls command (like you said) of /lib, /usr/lib and of
/usr/photon/font_repository (running in my target Pentium miniPC)
Note that other libs/devs etc. are in the /proc/boot dir

The photonsh.build is the latest build file I used.

By the way, I did a clean re-install of QNX, this time without service
pack 1, no apparent difference in rebuilding and running the image.

Any suggestion is welcome!

Joost.

“Martin Nylund” <> mnylund@emtrion.de> > escribió en el mensaje
news:d0magq$27v$> 1@inn.qnx.com> …
hmm, I don’t think its the fontopts. As far as I know the Render engines
are
the FCcore.so, PHFcore.so and ttfFFcore.so libraries in the
/lib/dll/font
directory and your font manager is complaining that it can’t find/load
them.

Could you send the output of command ‘ls -lR /lib’ and the lines from
the
build file where you set the _CS_LIBPATH/LD_LIBRARY_PATH variables
(procnto
start line as well)


“Joost de Folter” <> joost.defolter@innovamedica.com.mx> > schrieb im
Newsbeitrag news:d0kt99$ui$> 1@inn.qnx.com> …
Hi,

I don’t have /tmp included in any path, but changed the link to
/dev/shmem
(to a physical dir) anyway.
Unfortunately, this seemed to have no effect.

I also tried the debug option to get more info. Just before the error
message:
attempt load of libfont.so.1
(Lib loaded)
attempt load of phfont.so
(Lib loaded)
attempt load of libfontharnessutils.so.1
(Lib loaded)
(Fatal error)

Does this have something to do with the libs in /lib/dll/font/ or with
the
fontopts file perhaps?
They do seem to be included correctly in my image…

Any suggestions?

Thanks,
Joost.


“Martin Nylund” <> mnylund@emtrion.de> > escribió en el mensaje
news:d0h6js$46h$> 1@inn.qnx.com> …
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. I had really fun looking for this bug…

Try also to set DL_DEBUG=1 to see if there’s any more information
about
missing libraries.

Martin

“Joost de Folter” <> joost.defolter@innovamedica.com.mx> > schrieb im
Newsbeitrag news:d0an2b$b2c$> 1@inn.qnx.com> …
Hi,

I wanted to make a bootable image that starts photon.
Support sent me a few build files that should do the trick. I also
tried
the sample build file included in the ‘Appendix: Photon in Embedded
Systems’. Tried modifying the build files etc. I always get the same
message after running phfont:
‘Unable to open font DLL: no such file or directory’

Sloginfo:
phfont_init
phfontXX started OK
FatalError
No render engines loaded. io-font
Unable to launch Photon Font Server main.

I’ve loaded all font libs, modified font_repository content, set
default
paths etc.
By now I’ve read all official documentation in this subject.
Is this a problem of QNX 6.3.0 service pack 1?

I’m really out of ideas, can anyone help?

Joost de Folter.

\

Yes, It worked!

Setting all paths on the same line as procnto sets the _CS_LIBPATH making
everything work!

Thanks a lot!

Joost.


“Martin Nylund” <mnylund@emtrion.de> escribió en el mensaje
news:d0rmsb$8bs$1@inn.qnx.com

The font manager searches the _CS_LIBPATH configuration string for the
libraries and seems to ignore the LD_LIBRARY_PATH (I think this is just
design error on the font manager). You can set the _CS_LIBPATH by setting
the LD_LIBRARY_PATH on the procnto startline.

This means on-the-same-line otherwise _CS_LIBPATH won’t get set. i.e.

instead of:

PATH=blah:blah
LD_LIBRARY_PATH=blah:blah
procnto

write:

PATH=blah:blah LD_LIBRARY_PATH=blah:blah procnto


Note that this doesen’t yet assign any value to the LD_LIBRARY_PATH
environment variable. You have to export it separately in the script part
of the build file (how very logical…) In my build, however, the
LD_LIBRARY_PATH environment variable is not needed if the _CS_LIBPATH
configuration is correctly set.

you can get the _CS_LIBPATH value with command ‘getconf _CS_LIBPATH’ (and
set it with setconf)

hope this helps
Martin

“Joost de Folter” <> joost.defolter@innovamedica.com.mx> > schrieb im
Newsbeitrag news:d0q7gi$4ke$> 1@inn.qnx.com> …
Hi,

I did the ls command (like you said) of /lib, /usr/lib and of
/usr/photon/font_repository (running in my target Pentium miniPC)
Note that other libs/devs etc. are in the /proc/boot dir

The photonsh.build is the latest build file I used.

By the way, I did a clean re-install of QNX, this time without service
pack 1, no apparent difference in rebuilding and running the image.

Any suggestion is welcome!

Joost.

“Martin Nylund” <> mnylund@emtrion.de> > escribió en el mensaje
news:d0magq$27v$> 1@inn.qnx.com> …
hmm, I don’t think its the fontopts. As far as I know the Render engines
are
the FCcore.so, PHFcore.so and ttfFFcore.so libraries in the
/lib/dll/font
directory and your font manager is complaining that it can’t find/load
them.

Could you send the output of command ‘ls -lR /lib’ and the lines from
the
build file where you set the _CS_LIBPATH/LD_LIBRARY_PATH variables
(procnto
start line as well)


“Joost de Folter” <> joost.defolter@innovamedica.com.mx> > schrieb im
Newsbeitrag news:d0kt99$ui$> 1@inn.qnx.com> …
Hi,

I don’t have /tmp included in any path, but changed the link to
/dev/shmem
(to a physical dir) anyway.
Unfortunately, this seemed to have no effect.

I also tried the debug option to get more info. Just before the error
message:
attempt load of libfont.so.1
(Lib loaded)
attempt load of phfont.so
(Lib loaded)
attempt load of libfontharnessutils.so.1
(Lib loaded)
(Fatal error)

Does this have something to do with the libs in /lib/dll/font/ or with
the
fontopts file perhaps?
They do seem to be included correctly in my image…

Any suggestions?

Thanks,
Joost.


“Martin Nylund” <> mnylund@emtrion.de> > escribió en el mensaje
news:d0h6js$46h$> 1@inn.qnx.com> …
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. I had really fun looking for this bug…

Try also to set DL_DEBUG=1 to see if there’s any more information
about
missing libraries.

Martin

“Joost de Folter” <> joost.defolter@innovamedica.com.mx> > schrieb im
Newsbeitrag news:d0an2b$b2c$> 1@inn.qnx.com> …
Hi,

I wanted to make a bootable image that starts photon.
Support sent me a few build files that should do the trick. I also
tried
the sample build file included in the ‘Appendix: Photon in Embedded
Systems’. Tried modifying the build files etc. I always get the same
message after running phfont:
‘Unable to open font DLL: no such file or directory’

Sloginfo:
phfont_init
phfontXX started OK
FatalError
No render engines loaded. io-font
Unable to launch Photon Font Server main.

I’ve loaded all font libs, modified font_repository content, set
default
paths etc.
By now I’ve read all official documentation in this subject.
Is this a problem of QNX 6.3.0 service pack 1?

I’m really out of ideas, can anyone help?

Joost de Folter.

\

Thanks!

I saw the document you mentioned, and where it’s different from the document
I downloaded 1 week ago from the site…
The funny thing is, that I did a clean re-install of QNX 6.3, this time
without SP1, but applying the changed bit in the SP1 docs (about the
_CS_LIBPATH) made it work. So it wasn’t a SP1 particularity, rather an
update in the documentation.

Anyway, thanks a lot!

Joost.


“Joe Mammone” <hw@qnx.com> escribió en el mensaje
news:d0s8il$kuf$1@inn.qnx.com

The requirement of using the _CS_LIBPATH was introduced in 6.3.0.

From Momentics 6.3.0 Release Note:


For security reasons, the path(s) specified by LD_LIBRARY_PATH for
setuid/setgid binaries will no longer be searched when loading shared
objects.

Instead, only the path(s) defined by the _CS_LIBPATH configuration string
will be used. You can examine or modify the value of _CS_LIBPATH using the
getconf and setconf utilities.


The use of the _CS_LIBPATH is also documented in the “Photon in Embedded
Systems” appendix to the "Building Embedded Systems Guide:

http://www.qnx.com/developers/docs/6.3.0SP1/photon/prog_guide/embed.html

Regards,

Joe

“Martin Nylund” <> mnylund@emtrion.de> > wrote in message
news:d0rmsb$8bs$> 1@inn.qnx.com> …
The font manager searches the _CS_LIBPATH configuration string for the
libraries and seems to ignore the LD_LIBRARY_PATH (I think this is just
design error on the font manager). You can set the _CS_LIBPATH by setting
the LD_LIBRARY_PATH on the procnto startline.

This means on-the-same-line otherwise _CS_LIBPATH won’t get set. i.e.

instead of:

PATH=blah:blah
LD_LIBRARY_PATH=blah:blah
procnto

write:

PATH=blah:blah LD_LIBRARY_PATH=blah:blah procnto


Note that this doesen’t yet assign any value to the LD_LIBRARY_PATH
environment variable. You have to export it separately in the script part
of the build file (how very logical…) In my build, however, the
LD_LIBRARY_PATH environment variable is not needed if the _CS_LIBPATH
configuration is correctly set.

you can get the _CS_LIBPATH value with command ‘getconf _CS_LIBPATH’ (and
set it with setconf)

hope this helps
Martin

“Joost de Folter” <> joost.defolter@innovamedica.com.mx> > schrieb im
Newsbeitrag news:d0q7gi$4ke$> 1@inn.qnx.com> …
Hi,

I did the ls command (like you said) of /lib, /usr/lib and of
/usr/photon/font_repository (running in my target Pentium miniPC)
Note that other libs/devs etc. are in the /proc/boot dir

The photonsh.build is the latest build file I used.

By the way, I did a clean re-install of QNX, this time without service
pack 1, no apparent difference in rebuilding and running the image.

Any suggestion is welcome!

Joost.

“Martin Nylund” <> mnylund@emtrion.de> > escribió en el mensaje
news:d0magq$27v$> 1@inn.qnx.com> …
hmm, I don’t think its the fontopts. As far as I know the Render
engines are
the FCcore.so, PHFcore.so and ttfFFcore.so libraries in the
/lib/dll/font
directory and your font manager is complaining that it can’t find/load
them.

Could you send the output of command ‘ls -lR /lib’ and the lines from
the
build file where you set the _CS_LIBPATH/LD_LIBRARY_PATH variables
(procnto
start line as well)


“Joost de Folter” <> joost.defolter@innovamedica.com.mx> > schrieb im
Newsbeitrag news:d0kt99$ui$> 1@inn.qnx.com> …
Hi,

I don’t have /tmp included in any path, but changed the link to
/dev/shmem
(to a physical dir) anyway.
Unfortunately, this seemed to have no effect.

I also tried the debug option to get more info. Just before the error
message:
attempt load of libfont.so.1
(Lib loaded)
attempt load of phfont.so
(Lib loaded)
attempt load of libfontharnessutils.so.1
(Lib loaded)
(Fatal error)

Does this have something to do with the libs in /lib/dll/font/ or with
the
fontopts file perhaps?
They do seem to be included correctly in my image…

Any suggestions?

Thanks,
Joost.


“Martin Nylund” <> mnylund@emtrion.de> > escribió en el mensaje
news:d0h6js$46h$> 1@inn.qnx.com> …
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. I had really fun looking for this bug…

Try also to set DL_DEBUG=1 to see if there’s any more information
about
missing libraries.

Martin

“Joost de Folter” <> joost.defolter@innovamedica.com.mx> > schrieb im
Newsbeitrag news:d0an2b$b2c$> 1@inn.qnx.com> …
Hi,

I wanted to make a bootable image that starts photon.
Support sent me a few build files that should do the trick. I also
tried
the sample build file included in the ‘Appendix: Photon in Embedded
Systems’. Tried modifying the build files etc. I always get the same
message after running phfont:
‘Unable to open font DLL: no such file or directory’

Sloginfo:
phfont_init
phfontXX started OK
FatalError
No render engines loaded. io-font
Unable to launch Photon Font Server main.

I’ve loaded all font libs, modified font_repository content, set
default
paths etc.
By now I’ve read all official documentation in this subject.
Is this a problem of QNX 6.3.0 service pack 1?

I’m really out of ideas, can anyone help?

Joost de Folter.



\