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

On 10/12/11 11:57 AM, Frank Schmidt wrote:
> 
> Hi Alexander,
> 
> I have manged (with tons of manual operations!) to get all
> working:
> 
> - fink selfupdate: see below - apt-get : however it is noted as
> uninstalled in the fink install list!!!

You say below that you removed apt from Fink and you manually
installed it in /sw (which breaks the warranty).  Fink only knows
about packages which are properly installed through its tools.

> 
> - emacs: newest and with X11 support - gs: newest and with X11
> support - gnuplot: newest - cernlib2006
> 
> I made a crucial test using CERNLIB in a complex application and
> all is working fine!
> 
> So why am not happy at all?
> 
> The point is the "tons of manual operations!". Here is the list and
> I am sure that some of this is irrelevant:
> 
> - /usr/local:    got moved away

And now can be put back.

> - /opt:             got moved away

Can also be put back--/opt is normally safe to leave in place.

> - /sbin:           got moved away, since it includes "ldconfig" but
> I had to revert it since "chown" is there. So my fault!

You needn't have removed all of sbin, just possibly /sbin/ldconfig

> - I downgraded Xcode by 2 notches, surely only a desperate move!

This wasn't required, but is harmless.  Go ahead and put 3.2.6 back.

> - What actually helped was: a) I removed apt altogether from fink 
> b) Then I copied from /sw/src/fink.build/apt-XXX-XXX/ the bin, lib
> files and the methods directory to the appropriate location in fink
> /sw c) In another desperate move I made 2 links in /sw/lib: 
> libapt-pkg.3.2.0.dylib -> libapt-pkg-libc6.5.3.2.0.dylib 
> libapt-inst.3.2.0.dylib -> libapt-inst-libc6.5.1.0.0.dylib d) after
> that all could be installed e) fink selfupdate complains about
> nothing!
> 
> So I really "fiddled" to get it going and I hate that! I apologize
> but I am actually a LINUX guy and there I know how to handle
> packages but on the MAC I am completely lost!
> 
> - Therefore, I do not know why "ldconfig" is present and due to
> which package?!? - Even less I know where libc6.5 comes from, where
> it resides and which packages are involved?!?

Try "locate" to find where it is.

> 
> Hopefully, I can get further help to sort out this unsatisfying
> mess!
> 
> Many many Thanks for the extremely useful hints that allowed me to
> find the "fiddle"! Hopefully, there is a sound fix!
> 
> Cheers, FS
> 

Unfortunately, as I said before, it's nearly impossible to harden
builds on OS X against libraries in /usr or /usr/local.  We don't move
/usr/local ourselves during builds because of the potential to
introduce unexpected _runtime_ breakage for users.

I have no ability to diagnose anything that is installed on your
system outside of Fink.  The best advice I can offer is to try to have
the system do that.

pkg-util --file-info /sbin/ldconfig

may tell you what installed that file, for example.  On the other
hand, it may well not, because Apple doesn't force all installers to
register with pkg-util.

- -- 
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/

iEYEARECAAYFAk6V0wgACgkQB8UpO3rKjQ+9yQCcDCzEM1ziYQSDkbRLOLBOFx1R
x0kAnAgLVi62YQaW8oYhFjkEug0Ue/qy
=4jG0
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to