Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Compiling xchat...

Compiling xchat...
Thread Tools
Mac Elite
Join Date: May 2001
Status: Offline
Reply With Quote
Jul 30, 2001, 06:21 PM
 
I was trying to compile xchat and obviously I'm running into a library conflict here. Does anyone have a clue what's wrong?

/usr/bin/ld: multiple definitions of symbol _dlclose
/sw/lib/libdl.dylib(dlopen.o) definition of _dlclose
/System/Library/Perl/darwin/auto/DynaLoader/DynaLoader.a(DynaLoader.o) definition of _dlclose in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _dlsym
/sw/lib/libdl.dylib(dlopen.o) definition of _dlsym
/System/Library/Perl/darwin/auto/DynaLoader/DynaLoader.a(DynaLoader.o) definition of _dlsym in section (__TEXT,__text)

XFree86 4.1/XDarwin 1.0a1, xchat 1.8.2 (and earlier versions)

-
     
Addicted to MacNN
Join Date: Aug 2000
Location: Retired
Status: Offline
Reply With Quote
Jul 30, 2001, 09:53 PM
 
Its burping over Darwin's dynamic libraries. There isn't a work around, per se. When the author of xchats codes in support for XFree86 4.1, this should be solved.
Power Macintosh Dual G4
SGI Indigo2 6.5.21f
     
Mac Elite
Join Date: May 2001
Status: Offline
Reply With Quote
Jul 30, 2001, 11:32 PM
 
Hmmm... too bad. How come they have a OS X binary available at ww.xchat.org? I suspect there must be a workaround?

-
     
Mac Enthusiast
Join Date: Sep 2000
Location: Boston, MA
Status: Offline
Reply With Quote
Aug 3, 2001, 08:06 AM
 
You can try to use the '-m' flag to the linker but
this can be dangerous.

The problem stems from the PERL extension. If you dont
need/want it (which in reality you probably do not), simply
do the configure with '--without-perl' (or whatever the
option is). That gets past it.

XChat *does* compile on Darwin but it requires a bit of
finesse.
     
Mac Elite
Join Date: May 2001
Status: Offline
Reply With Quote
Aug 4, 2001, 02:04 AM
 
Yes, with "--disable-perl" it compiles fine, but IRC without scripting is only half the fun unfortunately, and fiddling with "+M" would be a trial-and-error for hours with only a vague hope on success (at least for me).
On the xchat site they provide a 1.6.4 binary with and a 1.8.0 without perl... seems I'm not the only one having this problem and makes me hope that there will be a solution more sooner than later.

-
     
jem
Fresh-Faced Recruit
Join Date: Sep 2000
Location: Sydney
Status: Offline
Reply With Quote
Aug 4, 2001, 03:43 AM
 
I'm not certain on this, but there are versions of XChat in Fink CVS... you might want to try those.
     
Mac Elite
Join Date: May 2001
Status: Offline
Reply With Quote
Aug 4, 2001, 11:21 AM
 
Originally posted by jem:
<STRONG>I'm not certain on this, but there are versions of XChat in Fink CVS... you might want to try those.</STRONG>
Oh, thanks for the CVS hint... I will look there soon.

At http://www.xchat.org/files/binary/macosx/there's a 1.6.4 tar.gz archive with and a 1.8.0 debian package which installs in /sw/bin, so I think it's legal to suspect some connection to the Fink repository.

-
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:22 PM.
All contents of these forums © 1995-2009 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.4 © 2000-2009, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2