Dear John, thanks for your answer. I fiddled a bit around and found that I had a weird mixture of 32bit and 64bit installs on my computer. This resulted in a 32bit ISIS trying to load a 64bit libpng. I cleared that up and now everything works fine. Cheers, Felix On Fri Nov 30 08:18:56 2012, John Houck wrote: > On Thu, Nov 29, 2012 at 09:37 -0800, Felix Fuerst wrote: >> Dear isis-users, >> >> I would love to use the png module of s-lang in ISIS, but there >> seems to be a problem with the libpng library. I receive the >> following error: >> >> isis> require("png") ; >> Error linking to >> /Users/fuerst/bin/slang/lib/slang/v2/modules/png-module.so: >> dlopen(/Users/fuerst/bin/slang/lib/slang/v2/modules/png-module.so, >> 10): Symbol not found: _png_create_info_struct >> Referenced from: >> /Users/fuerst/bin/slang/lib/slang/v2/modules/png-module.so >> Expected in: flat namespace >> in /Users/fuerst/bin/slang/lib/slang/v2/modules/png-module.so >> 0 >> >> This is on a MacBook Pro running Mac OS X 10.7.5. Probably this is >> has to do with a 32bit vs 64bit incompatibility, but I did not find >> a clear solution on the web. I was hoping someone on this list might >> know a solution and can save me some time playing around and >> re-compiling everything several times? > > It looks like a problem with the installation of slang or > libpng. I don't think it's an isis problem. > > In particular, my guess is that it's a path searching problem. > At run-time, the symbol _png_create_info_struct must be > resolved by loading the contents of the shared library > libpng.so or libpng.dylib or something like that. > > Because png-module.so exists on your system, libpng was > presumably found on your system at compile time, so I assume > that it still exists on your system. > > The problem now might be that the run-time loader cannot find > libpng. > > To help the loader find it, you can probably set the > DYLD_LIBRARY_PATH environment variable. For example, if libpng > is in /opt/lib, then doing: > > setenv DYLD_LIBRARY_PATH /opt/lib > > might solve the problem. Does that fix it? > > Thanks, > -John -- Felix Fuerst ff_at_email.domain.hiddenNuSTAR Science Team Caltech, Pasadena, CA ---- You received this message because you are subscribed to the isis-users list. To unsubscribe, send a message to isis-users-request_at_email.domain.hiddenwith the first line of the message as: unsubscribeReceived on Tue Dec 04 2012 - 20:32:27 EST
This archive was generated by hypermail 2.2.0 : Wed Dec 05 2012 - 09:25:01 EST