pspp-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem installing ppsp on Intel Mac


From: John Pollock
Subject: Re: problem installing ppsp on Intel Mac
Date: Tue, 1 Sep 2009 14:47:33 -0500 (CDT)

I tried setting DYLD_LIBRARY_PATH to /opt/local/lib in .cshrc and adding a
reference to /opt/local/bin/pspp, but it didn't help.  It appears that the
pspp binary is not looking in /opt/local/lib at all, no matter what I try.

Cheers,
John

On Wed, 2 Sep 2009, John Darrington wrote:

> Fromm what I remember when I tried it, Mac OS, in its wisdom, uses a different
> environment variable.  I think it's called DYLD_LIBRARY_PATH or 
> DY_LIBRARY_PATH
> or something similar.
>
> J'
>
> On Tue, Sep 01, 2009 at 02:10:53PM -0500, John Pollock wrote:
>      In a fit of pique, I decided to forego Macports and install the 
> "Evolution
>      Beach" packaged version of pspp from the ppsp website.  I ran the
>      installer and it installed fine, but after I created a basic .syn file, I
>      couldn't get ppsp to run it:
>
>      John:/Users/jpollock% /opt/local/bin/pspp myfile.syn
>      dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
>        Referenced from: /opt/local/libexec/pspp/pspp
>        Reason: Incompatible library version: pspp requires version 7.0.0 or
>      later, but libiconv.2.dylib provides version 5.0.0
>      /opt/local/bin/pspp: line 4: 11918 Trace/BPT trap
>      LD_LIBRARY_PATH=/opt/local/lib/pspp /opt/local/libexec/pspp/pspp
>
>      I took a look, though, and I do seem to have the right version of
>      libiconv.2.dylib:
>
>      John:/opt/local% otool -L /opt/local/lib/libiconv.2.dylib
>      /opt/local/lib/libiconv.2.dylib:
>              /opt/local/lib/libiconv.2.dylib (compatibility version 7.0.0,
>      current version 7.0.0)
>              /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
>      version 1.0.0)
>              /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
>      version 111.1.3)
>
>      Then I realized that pspp is apparently looking at the version of 
> libiconv
>      in /sw/lib (which actually is v5 and not v7) instead of /opt/local/lib.
>      It appears that LD_LIBRARY_PATH is defined in /opt/local/bin/pspp, but 
> I'm
>      not sure if it's defined correctly (i.e., whether it should point to
>      /opt/local/lib instead of /opt/local/lib/ppsp).  Changing it manually
>      doesn't seem to be the solution, but I'm guessing this might be an easier
>      problem to fix.
>
>      Cheers,
>      John P.
>
>      On Wed, 2 Sep 2009, John Darrington wrote:
>
>      > [ Cross posting to address@hidden and address@hidden ]
>      >
>      > This was reported as a bug to address@hidden some weeks ago.  However,
>      > the readline maintainer said that there was a reason for this:
>      > http://lists.gnu.org/archive/html/bug-readline/2009-06/msg00000.html
>      >
>      > I must admit, I didn't quite follow the logic. Perhaps somebody more
>      > familiar with readline could explain how to resolve this.
>      >
>      > J'
>      >
>      > On Tue, Sep 01, 2009 at 09:04:31AM -0700, Ben Pfaff wrote:
>      >      "John Pollock" <address@hidden> writes:
>      >
>      >      > /usr/bin/ld: multiple definitions of symbol _xmalloc
>      >      > /opt/local/lib/libreadline.dylib(xmalloc.so) definition of 
> _xmalloc
>      >      > gl/.libs/libgl.a(xmalloc.o) definition of _xmalloc in section 
> (__TEXT,__text)
>      >      > /usr/bin/ld: multiple definitions of symbol _xrealloc
>      >      > /opt/local/lib/libreadline.dylib(xmalloc.so) definition of 
> _xrealloc
>      >      > gl/.libs/libgl.a(xmalloc.o) definition of _xrealloc in section
>      >      > (__TEXT,__text)
>      >      > collect2: ld returned 1 exit status
>      >      > make[2]: *** [src/ui/gui/psppire] Error 1
>      >      > make[1]: *** [all-recursive] Error 1
>      >      > make: *** [all] Error 2
>      >      >
>      >      > Does anyone have any ideas of what I might try?   I've looked 
> around and
>      >      > haven't found anything useful.  FYI, I'm not subscribed to the 
> list, so if
>      >      > you're able to write back to my email address (address@hidden), 
> it
>      >      > would be tremendously helpful.  Thanks!
>      >
>      >      I agree that this is a strange error.  It looks like libreadline
>      >      is exporting symbols that it shouldn't.
>      >
>      >      One possible solution, although you would lose a small amount of
>      >      functionality, would be to disable the readline library, by
>      >      configuring with --without-libreadline-prefix.
>      >      --
>      >      "...I've forgotten where I was going with this,
>      >       but you can bet it was scathing."
>      >      --DesiredUsername
>      >
>      >
>      >      _______________________________________________
>      >      Pspp-users mailing list
>      >      address@hidden
>      >      http://lists.gnu.org/mailman/listinfo/pspp-users
>      >
>      > --
>      > PGP Public key ID: 1024D/2DE827B3
>      > fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
>      > See http://pgp.mit.edu or any PGP keyserver for public key.
>      >
>      >
>      >
>
> --
> PGP Public key ID: 1024D/2DE827B3
> fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
> See http://pgp.mit.edu or any PGP keyserver for public key.
>
>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]