T1fonts-update advice
Duncan Roe
duncanr at optimation.com.au
Tue Dec 24 12:13:13 EST 2002
Suggest you read the man pages in that advice anyway.
Is the environment variable LOAD_LIBRARY_PATH? Please specify in future.
Perhaps your /etc/ld.so.conf doesn't include /usr/local/lib? (if it doesn't
exist yet, that's *all* it will need to contain for now).
Cheers ... Duncan.
On Mon, Dec 23, 2002 at 08:47:57AM +1100, Felix Karpfen wrote:
> Duncan Roe wrote:
> > Did it install t1lib.so?
> >
> > If so, did you run ldconfig afterwards? (as root)
> >
> > Just a guess,
> >
> > Cheers ... Duncan.
> >
>
> Thank you for the advice.
>
> If I did run it when I updated T1lib, I can no longer remember.
>
> However, rerunning it may have made a bad story worse.
>
> When identifying the path to the runtime files in an environmental
> variable (as recommended), nothing works now; not the final installed
> test program nor the test progam in its location(s) prior to the install
>
> Final location:
> ==============
> [felixk at eureka felixk]$ xglyph
> Initialization of t1lib failed (T1_errno=0)!
>
> Locations in the source file directory:
> ======================================
> 1) [felixk at eureka .libs]$ ./xglyph
> Initialization of t1lib failed (T1_errno=0)!
> 2) [felixk at eureka .libs]$ ./lt-xglyph
> Initialization of t1lib failed (T1_errno=0)!
> [felixk at eureka .libs]$ cd ..
> 3) [felixk at eureka xglyph]$ ./xglyph
> Initialization of t1lib failed (T1_errno=0)!
>
> Rerunning the programs after a fresh login - without setting the
> environmental variable - "/usr/local/bin/xglyph" still gives the same
> output. However, the results of running xglyph from the source file
> directory are now different.
>
> Option 3) works perfectly (because it uses runtime files that are in
> the same directory).
>
> Options 1) and 2) find three of the four needed runtime files, but fail
> to find the fourth - although the file exists and the path is identified
> in the (non-loaded) environmental variable.
>
> 1) [felixk at eureka .libs]$ ./xglyph
> xglyph: No fonts in database (T1_errno=14)!
> 2) [felixk at eureka .libs]$ ./lt-xglyph
> xglyph: No fonts in database (T1_errno=14)!
>
> Given that the programs that use Type1 fonts still work, the problem is
> not desperate. But, if it has an answer, I am still curious. I am
> attaching some advice displayed when the updated Type1 fonts were
> installed - in case it is relevant. I do not pretend to understand what
> the advice advises.
>
> Felix Karpfen
>
> > On Sun, Dec 22, 2002 at 06:44:55AM +1100, Felix Karpfen wrote:
> > > My attempts to update the supplied T1lib package from source has come to
> > > grief in an odd way. While this may not be the appropriate forum in
> > > which to air the issue, I am sending it in the hope that I will be
> > > pointed to an appropriate <newsgroup|list>.
> > >
>
> --
> Felix Karpfen
> felixk at webone.com.au
> Public Key 72FDF9DF (DH/DSA)
>
> Libraries have been installed in:
> /usr/local/lib
>
> If you ever happen to want to link against installed libraries
> in a given directory, LIBDIR, you must either use libtool, and
> specify the full pathname of the library, or use `-LLIBDIR'
> flag during linking and do at least one of the following:
> - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
> during execution
> - add LIBDIR to the `LD_RUN_PATH' environment variable
> during linking
> - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
> - have your system administrator add LIBDIR to `/etc/ld.so.conf'
>
> See any operating system documentation about shared libraries for
> more information, such as the ld(1) and ld.so(8) manual pages.
>
More information about the linux
mailing list