Re: Linking with pfdConverterMode_pfb?

New Message Reply Date view Thread view Subject view Author view

Allan Schaffer (allan++at++southpark.engr.sgi.com)
Tue, 20 Oct 1998 15:36:46 -0700 (PDT)


On Oct 20, 5:34pm, Les Elkins wrote:
> I'm attempting to add some options to a perfly-derived
> application, and have added a pfdConverterMode_pfb
> to turn on the texture imaging when writing a pfb file.
> I'm linking to -lpfpfb_ogl successfully at compile
> time, but get the following at runtime:
>
> 4047:app: rld: Fatal Error: Cannot Successfully Map soname 'libpfpfb_ogl.so'
> under any of the filenames /usr/lib32/libpfpfb_ogl.so:/usr/lib32/internal/lib
> pfpfb_ogl.so:/lib32/libpfpfb_ogl.so:/opt/lib32/libpfpfb_ogl.so:

You need to set the library search path:
% setenv LD_LIBRARYN32_PATH /usr/lib32/libpfdb/

pfdFindConverterDSO() will usually do this for you for dynamically-
loaded file-loader DSOs. But since you've linked libpfpfb_ogl.so
explicitly (and no doubt, included -L/usr/lib32/libpfdb/ on your link
line) you need to set LD_LIBRARY*_PATH too.

Allan

-- 
Allan Schaffer                                                allan++at++sgi.com
Silicon Graphics                               http://reality.sgi.com/allan

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Oct 20 1998 - 15:36:51 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.