From: Viêt C. <vie...@ho...> - 2011-04-27 18:31:39
|
Ok, thank you ; I tried sudo open -t /Applications/lib/libmpfr.la But when saving, it is not allowed. Viêt. Le 27-04-11 13:55, Alexander Hansen a écrit : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 4/27/11 1:05 PM, Viêt Cao wrote: >> Hello, >> >> The contents of /Applications/lib/libmpfr.la are : >> >> # libmpfr.la - a libtool library file >> # Generated by ltmain.sh (GNU libtool) 2.2.6 Debian-2.2.6a-4 >> # >> # Please DO NOT delete this file! >> # It is necessary for linking the library. >> >> # The name that we can dlopen(3). >> dlname='libmpfr.1.dylib' >> >> # Names of this library. >> library_names='libmpfr.1.dylib libmpfr.dylib' >> >> # The name of the static archive. >> old_library='libmpfr.a' >> >> # Linker flags that can not go in dependency_libs. >> inherited_linker_flags=' ' >> >> # Libraries that this one depends upon. >> dependency_libs='' >> >> # Names of additional weak libraries provided by this library >> weak_library_names='' >> >> # Version information for libmpfr. >> current=3 >> age=2 >> revision=2 >> >> # Is this an already installed library? >> installed=yes >> >> # Should we warn about portability when linking against -modules? >> shouldnotlink=no >> >> # Files to dlopen/dlpreopen >> dlopen='' >> dlpreopen='' >> >> # Directory that this library needs to be installed in: >> libdir='//Applications/src/fink.build/root-libmpfr1-2.4.2-3//Applications/lib' >> >> which looks the same as yours. The last line looks weird with the // though. >> >> Viêt. > Actually, it doesn't completely look the same as mine. The last line in > mine is: > >> # Directory that this library needs to be installed in: >> libdir='/sw32/lib' >>> > whereas yours refers to the nonexistent libmpfr1build directory. > > You should be able to edit /Applications/lib/libmpfr.la (most likely > you'll have to do it as a super-user) and change the last line to > > libdir='/Applications/lib' > > - -- > 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/ > > iEYEARECAAYFAk24WJUACgkQB8UpO3rKjQ9B9ACgozY0mdZta0c8/RqtygBFoHXR > KbsAn3646lnlJyIsrkSNhqZmXjNCZ3Np > =zYh/ > -----END PGP SIGNATURE----- > > |