-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 5/12/11 12:29 PM, Viêt Cao wrote:
> Hi Alexander,
> 
> It still does not work ...
> Shall we go back to the beginning ?
> 
> 1. The config.log file gives :
> configure:2415:
> /Applications/src/fink.build/gcc44-4.4.4-1000/darwin_objdir/./gcc/xgcc
> -B/Applications/src/fink.build/gcc44-4.4.4-1000/darwin_objdir/./gcc/
> -B//Applications/lib/gcc4.4/i386-apple-darwin10.7.0/bin/
> -B//Applications/lib/gcc4.4/i386-apple-darwin10.7.0/lib/ -isystem
> //Applications/lib/gcc4.4/i386-apple-darwin10.7.0/include -isystem
> //Applications/lib/gcc4.4/i386-apple-darwin10.7.0/sys-include -o
> conftest -g -O2     conftest.c >&5
> dyld: Library not loaded:
> //Applications/src/fink.build/root-libmpfr1-2.4.2-3//Applications/lib/libmpfr.1.dylib
> 
>   Referenced from:
> /Applications/src/fink.build/gcc44-4.4.4-1000/darwin_objdir/./gcc/cc1
>   Reason: image not found
> xgcc: Internal error: Trace/BPT trap (program cc1)
> Please submit a full bug report.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> configure:2418: $? = 1
> configure:2590: checking for suffix of object files
> configure:2611:
> /Applications/src/fink.build/gcc44-4.4.4-1000/darwin_objdir/./gcc/xgcc
> -B/Applications/src/fink.build/gcc44-4.4.4-1000/darwin_objdir/./gcc/
> -B//Applications/lib/gcc4.4/i386-apple-darwin10.7.0/bin/
> -B//Applications/lib/gcc4.4/i386-apple-darwin10.7.0/lib/ -isystem
> //Applications/lib/gcc4.4/i386-apple-darwin10.7.0/include -isystem
> //Applications/lib/gcc4.4/i386-apple-darwin10.7.0/sys-include -c -g
> -O2    conftest.c >&5
> dyld: Library not loaded:
> //Applications/src/fink.build/root-libmpfr1-2.4.2-3//Applications/lib/libmpfr.1.dylib
> 
>   Referenced from:
> /Applications/src/fink.build/gcc44-4.4.4-1000/darwin_objdir/./gcc/cc1
>   Reason: image not found
> xgcc: Internal error: Trace/BPT trap (program cc1)
> Please submit a full bug report.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> 
> 2. I did the three things :
> - edit /Applications/lib/libmpfr.la file
> - searching other libraries : find /Applications/lib -name "*.dylib" |
> xargs otool -L | grep -C 10 "fink.build"
> - changing names (cf. end of the mail I am replying to ...)
> 
> Viêt.
> 


> 
> It looks like /Applications/lib/libmpfr.1.dylib and
> /Applications/lib/libmpfr.1.dylib need to be fixed.  Use the following
> commands:
> 
> 
> sudo install_name_tool -change
> "//Applications/src/fink.build/root-libmpfr1-2.4.2-3//Applications/lib/libmpfr.1.dylib"
> 
> "/Applications/lib/libmpfr.1.dylib" /Applications/lib/libmpfr.1.dylib
> 
> sudo install_name_tool -change
> "//Applications/src/fink.build/root-libmpfr1-2.4.2-3//Applications/lib/libmpfr.1.dylib"
> 
> "/Applications/lib/libmpfr.1.dylib" /Applications/lib/libmpc.2.dylib
> 

In case "-C 10" was too restrictive of a filter, make sure there are no
more references to "fink.build":

find /Applications/lib -name "*.dylib" | xargs otool -L | grep "fink.build"


Also, did you copy any libraries you built with Fink to /usr/lib or
/usr/local/lib?  The build tools look in those directories.

And, you're using 'fink' commands on each attempt, right?  You're not
resuming the build manually from within the build directory (which would
be guaranteed not to update the config.log file or update stuff that is
already built)?
- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3MXLYACgkQB8UpO3rKjQ8QfACdHLo2HnXnAuaS27BCieWh+pQL
v4wAnRAJeeSxbwTjLf+7rPvqkWX5sTfC
=+hpJ
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to