openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Openexr-devel] problems with building EXR Shake plugin


From: Drew Hess
Subject: Re: [Openexr-devel] problems with building EXR Shake plugin
Date: Thu, 15 Jan 2004 14:23:44 -0800 (PST)

Hi,

First of all, I'm pretty sure that you need to compile OpenEXR and the 
Shake plugin with gcc 2.95.3 or 2.95.4, not 2.96.  It's likely that 2.96 
will cause problems with exceptions, even if it links and appears to run 
correctly.

OK, now for the problems you're having.  The Makefile for GNU/Linux, which
is what I assume you're using, uses pkg-config to determine automatically
which libraries to use.  That's why it's using the *.so.0 files.  We'll
soon be introducing a new version of the libraries named *.so.1 so that
you can keep both versions on your system (the older 1.0.7 version and the
new 1.1 version), if you want to.

Anyway, it sounds like your runtime linker doesn't know where to find the
OpenEXR libs.  Assuming you installed your libraries in /usr/local/lib
(the default), you should add

/usr/local/lib

to your /etc/ld.so.conf file, and then run 'ldconfig' to make ldd see the
changes.  Alternatively, you could do:

setenv LD_LIBRARY_PATH /usr/local/lib:$LD_LIBRARY_PATH

or

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

in your shell or in a wrapper script which launches Shake.  Then the
linker will be able to find the OpenEXR libs at runtime.

Try one of those and see if it fixes the problem with the dynamic libs.


-dwh-


 On Thu, 15 Jan 2004, Qin Shen wrote:

> Hi,
> 
> We are attempting to build the EXR shake plugin, so far without much success.
> 
> If we link the libraries dynamically, we get a run-time error
> "error: libIlmImf.so.0: cannot open shared object file: No such file or 
> directory"
> Why is it asking for *.so.0 files?
> 
> Alternatively, if we attempt to statically link the .a files, we still get 
> run-time errors
> such as
> "error: /home/jeanshen/nreal/include/startup//exrFormat.so: undefined symbol: 
> compress"
> 
> We are sure that the library path is set correctly. We have compiled both the 
> EXR
> libraries and the shake plugin using g++2.96.
> 
> Any help and suggestions will be appreciated.
> 
> -Jean
> 
> 
> 
> _______________________________________________
> Openexr-devel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/openexr-devel
> 
> 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]