Ohhh boy have I gotten my feet wet.... all i wanted to do was to test php's on my computer and startet out by trying to install php by entropy.. Then i had to install apache2 to get the php 5 features about xml and in the process I forgot all about my not have xcode installed.. So i did everything wrong and in a reversed process. Well so far I seems like what ever I have installed before is messing up linking and paths to fiiles scattered all over my system and I've gotten down to installed macports and selfupdate tells me this.. libtool: unrecognized option `-dynamic' Try `libtool --help' for more information. make[2]: *** [MacPorts.dylib] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1 what to make of it? I'm on osx 10.4.10 with everything freshly updated.
On Sep 11, 2007, at 5:47 PM, Casper Holm wrote:
Well so far I seems like what ever I have installed before is messing up linking and paths to fiiles scattered all over my system and I've gotten down to installed macports and selfupdate tells me this..
libtool: unrecognized option `-dynamic' Try `libtool --help' for more information. make[2]: *** [MacPorts.dylib] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1
what to make of it?
do `which libtool` to see which libtool is getting run. If you're lucky, you just have a copy of gnu libtool (glibtool) installed as 'libtool' somewhere in your path before apple's libtool (so you can move gnu libtool aside or remove it). If you're unlucky, you've overwritten apple's libtool with gnu libtool (so you'll need to get apple's libtool back). -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
which libtool gives me /usr/bin/libtool so u think i migth have overwritten apples own libtool? (I must admit I have been trashing folders and files direct from finder trying to reinstall apache2 again). i've installed libtool-1.5.24... wonder how i get apples libtool back sorry to be such a fool about this... but damn have I spendt time figuring this out On 11/09/2007, at 23.52, Daniel J. Luke wrote:
On Sep 11, 2007, at 5:47 PM, Casper Holm wrote:
Well so far I seems like what ever I have installed before is messing up linking and paths to fiiles scattered all over my system and I've gotten down to installed macports and selfupdate tells me this..
libtool: unrecognized option `-dynamic' Try `libtool --help' for more information. make[2]: *** [MacPorts.dylib] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1
what to make of it?
do `which libtool` to see which libtool is getting run.
If you're lucky, you just have a copy of gnu libtool (glibtool) installed as 'libtool' somewhere in your path before apple's libtool (so you can move gnu libtool aside or remove it). If you're unlucky, you've overwritten apple's libtool with gnu libtool (so you'll need to get apple's libtool back). -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
tryibg to "make" libtool allover gives me this error.. Making all in libltdl make all-am /bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -no-undefined - version-info 4:5:1 -o libltdl.la -rpath /usr/local/lib ltdl.lo -ldl gcc -dynamiclib -o .libs/libltdl.3.1.5.dylib .libs/ltdl.o -ldl - install_name /usr/local/lib/libltdl.3.dylib -compatibility_version 5 -current_version 5.5 libtool: unrecognized option `-dynamic' Try `libtool --help' for more information. make[2]: *** [libltdl.la] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1 On 11/09/2007, at 23.52, Daniel J. Luke wrote:
On Sep 11, 2007, at 5:47 PM, Casper Holm wrote:
Well so far I seems like what ever I have installed before is messing up linking and paths to fiiles scattered all over my system and I've gotten down to installed macports and selfupdate tells me this..
libtool: unrecognized option `-dynamic' Try `libtool --help' for more information. make[2]: *** [MacPorts.dylib] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1
what to make of it?
do `which libtool` to see which libtool is getting run.
If you're lucky, you just have a copy of gnu libtool (glibtool) installed as 'libtool' somewhere in your path before apple's libtool (so you can move gnu libtool aside or remove it). If you're unlucky, you've overwritten apple's libtool with gnu libtool (so you'll need to get apple's libtool back). -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
On Sep 11, 2007, at 16:47, Casper Holm wrote:
Ohhh boy have I gotten my feet wet.... all i wanted to do was to test php's on my computer and startet out by trying to install php by entropy.. Then i had to install apache2 to get the php 5 features about xml and in the process I forgot all about my not have xcode installed.. So i did everything wrong and in a reversed process.
Well so far I seems like what ever I have installed before is messing up linking and paths to fiiles scattered all over my system and I've gotten down to installed macports and selfupdate tells me this..
libtool: unrecognized option `-dynamic' Try `libtool --help' for more information. make[2]: *** [MacPorts.dylib] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1
what to make of it?
I'm on osx 10.4.10 with everything freshly updated.
I Googled that error message, and according to the last Q&A at http://finkproject.org/faq/comp-general.php it means you have managed to install GNU libtool and it is being used instead of Apple's libtool and they do not do the same thing. So you should figure out where this GNU libtool is ("which libtool" might tell you) and remove it if possible.
On Sep 11, 2007, at 17:29, Casper Holm wrote:
On 11/09/2007, at 23.52, Daniel J. Luke wrote:
On Sep 11, 2007, at 5:47 PM, Casper Holm wrote:
Well so far I seems like what ever I have installed before is messing up linking and paths to fiiles scattered all over my system and I've gotten down to installed macports and selfupdate tells me this..
libtool: unrecognized option `-dynamic' Try `libtool --help' for more information. make[2]: *** [MacPorts.dylib] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1
what to make of it?
do `which libtool` to see which libtool is getting run.
If you're lucky, you just have a copy of gnu libtool (glibtool) installed as 'libtool' somewhere in your path before apple's libtool (so you can move gnu libtool aside or remove it). If you're unlucky, you've overwritten apple's libtool with gnu libtool (so you'll need to get apple's libtool back).
tryibg to "make" libtool allover gives me this error..
Making all in libltdl make all-am /bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -no-undefined - version-info 4:5:1 -o libltdl.la -rpath /usr/local/lib ltdl.lo -ldl gcc -dynamiclib -o .libs/libltdl.3.1.5.dylib .libs/ltdl.o -ldl - install_name /usr/local/lib/libltdl.3.dylib -compatibility_version 5 -current_version 5.5 libtool: unrecognized option `-dynamic' Try `libtool --help' for more information. make[2]: *** [libltdl.la] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1
Sorry, I should have read the rest of the thread before replying. It seems to be at least finding libltdl (the LibTool Dynamic Loader) in /usr/local/lib. Apple does not provide anything in /usr/local so you must've put that there somehow. MacPorts base and some of the ports will get easily confused by things in /usr/local. We do not yet know how to prevent MacPorts from finding (and getting confused by) things there, so I recommend you put nothing there at all. To confirm that this is the issue, rename /usr/local to /usr/local-off and try again. Once you get MacPorts up and running, consider installing all software you need using MacPorts instead of manually installing anything in /usr/local.
On Sep 11, 2007, at 6:24 PM, Casper Holm wrote:
which libtool gives me
/usr/bin/libtool
so u think i migth have overwritten apples own libtool? (I must admit I have been trashing folders and files direct from finder trying to reinstall apache2 again).
i've installed libtool-1.5.24... wonder how i get apples libtool back
unless you installed it differently, it defaults to install in /usr/ local I would try removing it and see if things work again. You can run /usr/bin/libtool -V And see if it says: Apple Computer, Inc. version cctools-622.5 To know if you still have Apple libtool or not. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
great... /usr/bin/libtool -v gives me pis-osses-power-mac-g5:~ pisosse$ /usr/bin/libtool -v libtool: unrecognized option `-v' and /usr/bin/libtool --version gives me ltmain.sh (GNU libtool) 1.5.24 (1.1220.2.455 2007/06/24 02:13:29) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I did found the glibtool and glibtollize in the /usr/bin dir but moved them out.. so I guess I very effectivly have overwritten the apple version? thanks for helping this noob out, but is it possible to reinstall the apple libtool or should i reinstall system? On 12/09/2007, at 14.29, Daniel J. Luke wrote:
On Sep 11, 2007, at 6:24 PM, Casper Holm wrote:
which libtool gives me
/usr/bin/libtool
so u think i migth have overwritten apples own libtool? (I must admit I have been trashing folders and files direct from finder trying to reinstall apache2 again).
i've installed libtool-1.5.24... wonder how i get apples libtool back
unless you installed it differently, it defaults to install in /usr/ local
I would try removing it and see if things work again.
You can run
/usr/bin/libtool -V
And see if it says: Apple Computer, Inc. version cctools-622.5
To know if you still have Apple libtool or not.
-- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
On Sep 12, 2007, at 8:53 AM, Casper Holm wrote:
thanks for helping this noob out, but is it possible to reinstall the apple libtool or should i reinstall system?
Apple libtool is provided by the DeveloperTools package of Xcode. If this is the only thing wrong with your system, you can probably just rm the gnu libtool you put in place, and install the latest Xcode. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
Ijust found out that theres surpose to be some old gnulibtool in usr/ bin/ so I'm afraid i did some prefix/pathing to the updated libtool... alas I'll take pacifist for a run to see if i can reinstall the apple tools.. "rm the gnu libtool"? rename? exellent help here THANKS. On 12/09/2007, at 15.11, Daniel J. Luke wrote:
On Sep 12, 2007, at 8:53 AM, Casper Holm wrote:
thanks for helping this noob out, but is it possible to reinstall the apple libtool or should i reinstall system?
Apple libtool is provided by the DeveloperTools package of Xcode.
If this is the only thing wrong with your system, you can probably just rm the gnu libtool you put in place, and install the latest Xcode. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
would it be relatively save to install MAMP and go from there or am I beggin for a haluva mess? On 12/09/2007, at 15.11, Daniel J. Luke wrote:
On Sep 12, 2007, at 8:53 AM, Casper Holm wrote:
thanks for helping this noob out, but is it possible to reinstall the apple libtool or should i reinstall system?
Apple libtool is provided by the DeveloperTools package of Xcode.
If this is the only thing wrong with your system, you can probably just rm the gnu libtool you put in place, and install the latest Xcode. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
On Wed, Sep 12, 2007 at 09:12:21PM +0200, Casper Holm wrote:
would it be relatively save to install MAMP and go from there or am I beggin for a haluva mess?
I'm not sure what you have done with your computer (reading your other messages). I think the safest way would be to completely reinstall your OS X and then do a fresh start. And then use macports from the beginning, as it's the only way I know (next to other port managers like fink) which ensures you can remove the installed applications. Simon -- + privacy is necessary + using http://gnupg.org + public key id: 0x6115F804EFB33229
On Sep 12, 2007, at 10:24, Casper Holm wrote:
On 12/09/2007, at 15.11, Daniel J. Luke wrote:
On Sep 12, 2007, at 8:53 AM, Casper Holm wrote:
thanks for helping this noob out, but is it possible to reinstall the apple libtool or should i reinstall system?
Apple libtool is provided by the DeveloperTools package of Xcode.
If this is the only thing wrong with your system, you can probably just rm the gnu libtool you put in place, and install the latest Xcode.
Ijust found out that theres surpose to be some old gnulibtool in usr/bin/ so I'm afraid i did some prefix/pathing to the updated libtool... alas I'll take pacifist for a run to see if i can reinstall the apple tools..
What do you need Pacifist for? I agree with Daniel. Reinstall Developer Tools. This is fairly easy. Use the uninstall script provided on the Xcode disk image first. Then install again. Here's what I have on my system: $ cd /usr/bin $ l *libt* -rwxr-xr-x 1 root wheel 206466 Sep 12 2006 glibtool -rwxr-xr-x 1 root wheel 9927 Sep 12 2006 glibtoolize -r-xr-xr-x 1 root wheel 293636 Sep 16 2006 libtool It looks like Developer Tools provides at least the glibtool items: $ grep glibtool -R /Library/Receipts/* 2>/dev/null Binary file /Library/Receipts/DeveloperTools.pkg/Contents/Archive.bom matches Not sure if it also provides the non-Apple libtool, but why not give it a shot? Uninstalling and reinstalling Xcode is easier than reinstalling the whole OS.
"rm the gnu libtool"? rename?
"rm" is the unix remove command.
YAAAY! MacPorts base version 1.5 installed Downloaded MacPorts base version 1.520 Configuring, Building and Installing new MacPorts base selfupdate done! thanks for all your help...how much do I owe? ;-) On 12/09/2007, at 23.03, Ryan Schmidt wrote:
On Sep 12, 2007, at 10:24, Casper Holm wrote:
On 12/09/2007, at 15.11, Daniel J. Luke wrote:
On Sep 12, 2007, at 8:53 AM, Casper Holm wrote:
thanks for helping this noob out, but is it possible to reinstall the apple libtool or should i reinstall system?
Apple libtool is provided by the DeveloperTools package of Xcode.
If this is the only thing wrong with your system, you can probably just rm the gnu libtool you put in place, and install the latest Xcode.
Ijust found out that theres surpose to be some old gnulibtool in usr/bin/ so I'm afraid i did some prefix/pathing to the updated libtool... alas I'll take pacifist for a run to see if i can reinstall the apple tools..
What do you need Pacifist for? I agree with Daniel. Reinstall Developer Tools. This is fairly easy. Use the uninstall script provided on the Xcode disk image first. Then install again.
Here's what I have on my system:
$ cd /usr/bin $ l *libt* -rwxr-xr-x 1 root wheel 206466 Sep 12 2006 glibtool -rwxr-xr-x 1 root wheel 9927 Sep 12 2006 glibtoolize -r-xr-xr-x 1 root wheel 293636 Sep 16 2006 libtool
It looks like Developer Tools provides at least the glibtool items:
$ grep glibtool -R /Library/Receipts/* 2>/dev/null Binary file /Library/Receipts/DeveloperTools.pkg/Contents/ Archive.bom matches
Not sure if it also provides the non-Apple libtool, but why not give it a shot? Uninstalling and reinstalling Xcode is easier than reinstalling the whole OS.
"rm the gnu libtool"? rename?
"rm" is the unix remove command.
participants (4)
-
Casper Holm
-
Daniel J. Luke
-
Ryan Schmidt
-
Simon Ruderich