[ Cross posting to [email protected] and [email protected] ]

This was reported as a bug to [email protected] 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" <[email protected]> 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 ([email protected]), 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
     [email protected]
     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.


Attachment: signature.asc
Description: Digital signature

_______________________________________________
Bug-readline mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to