On 8/16/06, Matthew Leonhardt <[EMAIL PROTECTED]> wrote:
>
> [error]
> gcc -Wall -Wno-long-double -fno-common -I/sw/include/gtk-1.2
> -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -o mp3x
> mp3x.o gtkanal.o gpkplotting.o get_audio.o lametime.o parse.o portableio.o
> timestatus.o brhist.o  -L/sw/lib
> ../libmp3lame/.libs/libmp3lame.a -lncurses -L/usr/X11R6/lib
> /sw/lib/libgtk.a /sw/lib/libgdk.a -lgmodule -lglib /usr/local/lib/libintl.a
> /sw/lib/libgmodule.dylib /sw/lib/libglib.dylib /sw/lib/libintl.a
> /sw/lib/libiconv.dylib -lXext -lX11 -lm
> /usr/bin/ld: warning multiple definitions of symbol _locale_charset
> /usr/local/lib/libintl.a(localcharset.o) private external definition of
> _locale_charset in section (__TEXT,__text)
> /sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
> /usr/bin/ld: Undefined symbols:
> _CFArrayGetCount
> _CFArrayGetTypeID
> _CFArrayGetValueAtIndex
> _CFGetTypeID
> _CFPreferencesCopyAppValue
> _CFStringGetCString
> _CFStringGetTypeID
> ___CFStringMakeConstantString
> _kCFPreferencesCurrentApplication
> _CFLocaleCopyCurrent
> _CFLocaleGetIdentifier
> _CFRelease
> collect2: ld returned 1 exit status
> make[2]: *** [mp3x] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> ### execution of make failed, exit code 2
> [/error]
>
> from http://permalink.gmane.org/gmane.os.apple.fink.beginners/18677
>
> [quote]
> On Jul 30, 2006, at 7:40 PM, Alexander K. Hansen wrote:
>
> > On thing that looked suspicious is '/usr/lib/libintl.a'.  I don't have
> > any such thing on my 10.4/powerPC system.
> >
> > --
> > Alexander K. Hansen
> > Fink Documenter (still)
>
> Yup, /usr/lib/libintl.a is the culprit here. It's from GNU gettext
> which doesn't come with any version of OS X and must have been
> installed by you or some software you've installed. Recent versions
> of gettext link to CoreFoundation.framework which explains the
> undefined "_CF" sumbols. Installing libraries directly in /usr/lib is
> very bad and can break many things, including Fink.
> [/quote]
>
> I also don't have '/usr/lib/libintl.a', but I'm getting the error just the
> same.  Any thoughts?
>
> Thanks,
> Matt
>
> G4 PB, 1.67 Ghz PPC, 2 GB RAM
> OS X 10.4.7
> # fink --version
> Package manager version: 0.24.25
> Distribution version: 0.8.1.rsync powerpc
> gettext version: 0.10.40-25

Yup.  Look above and you'll see /usr/local/lib/libintl.a .
/usr/local/lib stuff and Fink are frequently a bad combo:

http://fink.sourceforge.net/faq/comp-general.php#usr-local-libs

-- 
Alexander K. Hansen
Fink Documenter (still)

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to