Re: [info-performer] Problem Converting .FLT Files to .PFB format

Date view Thread view Subject view Author view

From: Paolo Farinelli (paolo++at++sgi.com)
Date: 11/01/2005 19:15:27


On Tue, 25 Oct 2005 19:33:43 +0200, jan p. springer <jsd++at++igroup.org> wrote:

> Paolo Farinelli said the following on 10/25/05 18:44:
>> Hi Christopher,
>>
>> you should add /usr/lib/libpfdb to your LD_LIBRARY_PATH.
>> This would be:
>> setenv LD_LIBRARY_PATH
>> /usr/local/ACE_wrappers/ace:/usr/lib:/usr/local/lib:/usr/lib/libpfdb
>> or:
>> export
>> LD_LIBRARY_PATH=/usr/local/ACE_wrappers/ace:/usr/lib:/usr/local/lib:/usr/lib/libpfdb
>> depending on which shell you are using (bash vs tcsh).
>> You can also do:
>> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/libpfdb
>> in bash shells, or
>> setenv LD_LIBRARY_PATH $LD_LIBRARY_PATH\:/usr/lib/libpfdb
>> in tcsh shells.
>> Hope this helps,
>> Regards,
>> Paolo

>
> hi paolo,
>
> i remember using PFLD_LIBRARY_PATH for exactly that. is this still valid?
>
> j.
>

Hi Christopher,

PFLD_LIBRARY_PATH is very similar to LD_LIBRARY_PATH, but is only
used by Performer when looking for file-loader dsos (ie when
pfdLoadFile is called).

LD_LIBRARY_PATH is used by the run-time shared library loader (ld.so)
to locate dynamic libraries which the application is linked against,
when the application is first started.
These are listed by the command 'ldd yourapp' (try "ldd `which perfly`")

In your case, your app is now linked against libpfpfb, so the path to
this dso needs to be in your LD_LIBRARY_PATH environment variable.

 From the "performer" manpage:

> PFLD_LIBRARY_PATH and PFLD_LIBRARY{N32,64}_PATH
> A colon separated list of additional directories in which
> to find database loaders. These directories are searched
> before LD_LIBRARY_PATH.

Note that while LD_LIBRARY_PATH is also considered by Performer
when looking for file-loaders, PFLD_LIBRARY_PATH is ignored by
the run-time shared library loader.

Alternatively, you can re-link your app using the -rpath option
to provide a static search-path which will allow libpfpfb to be
located without setting LD_LIBRARY_PATH.

Hope this helps,
Regards,
Paolo

-- 
Paolo Farinelli <paolo++at++sgi.com>
OpenGL|Performer - Silicon Graphics Inc.


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Nov 01 2005 - 19:09:55 PST