Am 18.12.2007 15:40, Allin Cottrell schrieb:
Urgh, I think I've read about this somewhere. I believe what's
happening is that current OS X installs some BSD thingy that's not
really libreadline but that claims to be (via a symlink perhaps).
So when you try to build a third-party program (such as gnuplot)
that wants to link against libreadline (if it's available) you get
a mess of undefined symbols.
I think the options here are:
1) install readline and readline-shlibs via Fink; or
2) add the flag --with-readline=builtin when configuring gnuplot
Ok; neither of these did work,
so I deleted Apple's fake readline symlink (in /usr/lib I think it was)
and did
export LDFLAGS="-L/usr/X11R6/lib -L/sw/lib"
after installing the fink readline packages, but before configuring
gnuplot (w/o the above "builtin" flag). Then make and make install
seemed to go through.
For configuring gnuplot I also changed the prefix to
....Gretl.app/Contents/Resources, since that seemed to correspond to the
PATH used further down.
I also changed the gretl prefix to ...Gretl.app (w/o
Contents/Resources), it seemed more natural (and maybe the prefixes for
gnuplot and gretl were just swapped by accident?).
Configuring gretl I got an error about missing pkg-config (but it found
the compiled and installed gnuplot with png support, so far so good...).
The fink package pkgconfig is installed AFAICS. So here I'm stuck, any
new ideas?
BTW, I should also mention that I couldn't install packages gmp3 and
mpfr, fink didn't know about them.
-sven