John Trauger wrote:
> I have the MAC OS X 10.4.6 and their X11 installed. I am then using many FINK 
> applications that require libjpeg.dylib among many others. If I then '> 
> xterm' I get an error because xterm cannot find symbol 
> __cg_jpeg_resync_to_restart. This symbol, of course, does not exist in 
> /sw/lib/libjpeg.dylib (FINK) but is in 
> Volumes/Tiger/System/Library/.../libJPEG.dylib. I can use 'nm' to verify 
> their existence. In Linux, I would use LD_LIBRARY_PATH to define which of 
> these conflicting libraries to use per applicate (pretend that I wrap the 
> call to the with a bash script). So, how do I define which of these libraries 
> to use with any given application? Do I even need to worry about it because 
> FINK will "fix" this some other way?

You can also simply remove /sw/lib/libjpeg.dylib by removing the Fink 
package "libjpeg". It is not needed at runtime, and when it is needed at 
compile time by some other Fink package, it will be reinstalled. 
"libjpeg.dylib" is the compile time version of that library. The runtime 
version is called /sw/lib/libjpeg.62.dylib and is contained in the 
libjpeg-shlibs package. It does not conflict with the system 
libJPEG.dylib. The existence of the latter is an idiocy perpetrated by 
some Apple programmer who didn't understand MacOSX's Unix underpinnings.

-- 
Martin






_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to