Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Libtool linking errors when building tunepimp on 10.4.x



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sunil Vemuri wrote:
| I've been attempting to compile the tunepimp library (part of the
| MusicBrainz project) on MacOS X 10.4.2.  I've been running into some
| problems on the linking side that started to occur when I upgraded to
| 10.4.x.
|     http://musicbrainz.org/products/tunepimp/
|
| First, tunepimp CVS compiles and links fine on MacOS 10.3.9 and
| tunepimp v0.3.0 compiles under MacOS 10.4.2 (if env var
| MACOSX_DEPLOYMENT_TARGET=10.3).  However, the CVS version does not
| compile/link successfully.  I have brought this up on the tunepimp/
| musicbrainz mailing lists and we haven't been able to figure it out  yet
| there.  I'm hoping this audience might have additional insight.
|
| The problem:
| ------------
| After checking out the latest code on CVS, and ./autogen.sh; ./
| configure; make.  I get the following errors:
|
| /bin/sh ../libtool --mode=link g++  -g -O2   -o libtunepimp.la - rpath
| /usr/local/lib -version-info 3:0:0 tunepimp.lo filecache.lo
| filelookup.lo analyzer.lo dirsearch.lo metadata.lo submit.lo  astrcmp.lo
| track.lo lookup.lo lookuptools.lo write.lo c_wrapper.lo  watchdog.lo
| plugins.lo readmeta.lo fileio.lo threads/posix/ libtpthread.la
| utf8/libutf8.la -lmusicbrainz -lz ../libltdl/ libltdlc.la -lm -framework
| CoreFoundation

You don't have the "right" version of GNU libtool...

- -all_load

This was removed ages ago:
2004-08-02  Geoffrey Keating  <...>

~        * libtool.m4 [darwin]: Don't use -all_load.

so it is in releases of GNU libtool-1.5.8 and later (note that current is
1.5.20)

I Suggest that you download the latest versions of automake, autoconf and
libtool and install them in /usr/local or someplace else (I have mine in
/opt/gnu) and make sure that that prefix is at the head of your path when
you do LIBTOOLIZE=glibtoolize ./auogen.sh. Note that you should configure
libtool with --program-prefix=g to avoid any conflicts with /usr/bin/libtool.

Hope this helps, please file a bug with apple to update their libtool :-),
Thanks,
Peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)

iQCVAwUBQ0KhF7iDAg3OZTLPAQJTFwP/VbFjOKfucGDBCNtpcviR9zBhFgRrMeSg
8aSWElaCVweSckkXXxV8ERfSvQArLIdONhbzsQ7BE7idJJX2byqFsvgYl8NxDRhg
Q79rh7Pgw7U5YfNRc9Jfo7AtQ5g/I/lxwWgZizvq7zUsyFilyXCnqk7j8SYGrW0s
/Y0DYRy/X78=
=zxfh
-----END PGP SIGNATURE-----
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden

This email sent to email@hidden
References: 
 >Libtool linking errors when building tunepimp on 10.4.x (From: Sunil Vemuri <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.