From: Bob D. <bd...@si...> - 2004-05-19 19:54:42
|
On Wed, 2004-05-19 at 14:28 -0300, Everton Luis Berz wrote: > Hi, > it's me again.. > > I have been compiled the new rlib-1.1.8 and have questions. > (my configure command was: "./configure --disable-utf8 > --disable-python", i'm using linux slackware9.1, php 4.3.6, postgres 7.4.1) > > 1) What's "rlibc" ? and i'm not running it.. > everton@nsa3:~$ rlibc --help > rlibc: error while loading shared libraries: libr-1.1.8: cannot open > shared object file: No such file or directory > everton@nsa3:~$ > It's supposed to compile RLIB XML files into .rlib files for faster loading time.. it's still under development. > I run 'ldconfig' at /usr/local/lib.. the output of 'ldconfig -p | grep > libr' is: > root@nsa3:~# ldconfig -p | grep libr > librt.so.1 (libc6, OS ABI: Linux 2.0.0) => /lib/librt.so.1 > librt.so (libc6, OS ABI: Linux 2.0.0) => /usr/lib/librt.so > (...) > libr.so (libc6) => /usr/local/lib/libr.so > libr-1.1.8.so (libc6) => /usr/local/lib/libr-1.1.8.so > libr-1.1.7.so (libc6) => /usr/local/lib/libr-1.1.7.so > libr-1.1.6.so (libc6) => /usr/local/lib/libr-1.1.6.so > libr-postgre.so (libc6) => /usr/local/lib/libr-postgre.so > (...) > > 2) My iso-8859-1 special chars does not works.. see: Can you apply this patch? I think it will help things. > everton@nsa3:/var/www/html/sa/gradecurricular$ php gradecurricular.php > > teste.pdf > Setting output encoding to ISO-8859-1Setting locale to > [LC_CTYPE=pt_BR.iso88591;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C] > FAILEDencoding is NULL or invalid [C]... using en_USSetting locale to > [C] FAILEDSetting locale to [pt_BR.iso88591] FAILEDencoding is NULL or > invalid [C]... using en_USSetting locale to [C] FAILEDencoding is NULL > or invalid [C]... (...............) Setting locale to [C] FAILEDCPDF > version 2.02-r1-0looking for A4 > > The locale 'pt_BR.iso88591' coming from my env variables: > everton@nsa3:~$ env | grep LANG > LANG=pt_BR.iso88591 > LANGUAGE=pt_BR.iso88591 > everton@nsa3:~$ env | grep CHAR > MM_CHARSET=pt_BR.iso88591 > LESSCHARSET=latin1 > > The report (pdf) contains anothers special chars, not the chars written > at postgresql database. > > I tried functions: > rlib_set_output_encoding($rlib, 'ISO-8859-1'); > rlib_set_datasource_encoding($rlib, "pgsql", "LATIN1"); > rlib_set_locale($rlib, 'pt_BR'); > > but output is same. > > > |