On Sunday 10 February 2008 01:13:26 pm Linus Gasser wrote:
> Hi List,
>
> I'm trying to get KPhotoalbum running on a Macbook with OSX 10.5. When I
> compile everything, and I start, it fails with:
>
> dyld: Library not loaded: /sw/lib/libexiv2.0.dylib
>    Referenced from: /sw/bin/kphotoalbum
>    Reason: image not found
> Trace/BPT trap
>
> OK, no problem:
>
> ln -s libexiv2.dylib libexiv2.0.dylib
>
> But now it fails in another way:
>
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
> 0x000178b0 in QValueListPrivate<QString>::derefAndDelete ()
> (gdb) bt
> #0  0x000178b0 in QValueListPrivate<QString>::derefAndDelete ()
> #1  0x000178f8 in QValueList<QString>::operator= ()
> #2  0x00094e1e in
> ImageManager::RAWImageDecoder::_initializeExtensionLists ()
> #3  0x00092fb4 in ImageManager::RAWImageDecoder::RAWImageDecoder ()
> #4  0x0010247e in __static_initialization_and_destruction_0 ()
> #5  0x8fe12db6 in
> __dyld__ZN16ImageLoaderMachO18doModInitFunctionsERKN11ImageLoader11LinkCont
>extE ()
> #6  0x8fe0e623 in
> __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEj ()
> #7  0x8fe0e709 in
> __dyld__ZN11ImageLoader15runInitializersERKNS_11LinkContextE ()
> #8  0x8fe040c2 in __dyld__ZN4dyld24initializeMainExecutableEv ()
> #9  0x8fe07b1f in __dyld__ZN4dyld5_mainEPK11mach_headermiPPKcS5_S5_ ()
> #10 0x8fe01872 in __dyld__ZN13dyldbootstrap5startEPK11mach_headeriPPKcl ()
> #11 0x8fe01037 in __dyld__dyld_start ()
> (gdb)
>
>
> This seems more program-specific. Can anybody just point me to a link on
> how to download the source of a package, change it, recompile it and
> make a package out of it? I have some experience using debian, but I
> didn't manage to dwelve into fink...
>
> Thanks,
>
> Ineiti
> 


$ ls -l /sw/lib/libexiv*.dylib
-rw-r--r--  1 root  admin  1567308 Jan 26 21:16 /sw/lib/libexiv2.2.1.0.dylib
lrwxr-xr-x  1 root  admin       20 Jan 26 21:17 /sw/lib/libexiv2.2.dylib -> 
libexiv2.2.1.0.dylib
lrwxr-xr-x  1 root  admin       20 Jan 26 21:17 /sw/lib/libexiv2.dylib -> 
libexiv2.2.1.0.dylib

(check and see if you have the same versions)

Try "fink rebuild kphotoalbum ; fink reinstall kphotoalbum" to force a rebuild 
against the current libexiv2. 

One issue here is that the install name of the library changed, and so 
libexiv2 really should have had a new package name when it got updated, like 
libexiv2.2, to avoid breakage.  (maintainer cc'ed):

$ otool -D /sw/lib/libexiv2.2.1.0.dylib
/sw/lib/libexiv2.2.1.0.dylib:
/sw/lib/libexiv2.2.dylib

-- 
Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to