# Lokale Entwicklungsumgebung - gem. SW6-Doku MacOS X using MAMP - libtool: unrecognized option \`-stat

**URL:** <https://forum.shopware.com/t/lokale-entwicklungsumgebung-gem-sw6-doku-macos-x-using-mamp-libtool-unrecognized-option-stat/67616>\
**Category:** Installation / Einstieg\
**Created:** [11. Juni 2020 um 19:28 UTC](https://forum.shopware.com/t/lokale-entwicklungsumgebung-gem-sw6-doku-macos-x-using-mamp-libtool-unrecognized-option-stat/67616 "2020-06-11T19:28:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![raschu](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@raschu](https://forum.shopware.com/u/raschu)\
**Post date:** [11. Juni 2020 um 19:28 UTC](https://forum.shopware.com/t/lokale-entwicklungsumgebung-gem-sw6-doku-macos-x-using-mamp-libtool-unrecognized-option-stat/67616/1 "2020-06-11T19:28:59Z")

</div>

Hat da jemand einen Tipp für mich:

Habe die empfohlenen Doku-Schritte gemacht und alles gem. Anleitung durchgeführt.  
\_ **bin/setup** \_ und&nbsp;\_ **./psh.phar install &nbsp;** \_starten dann auch einwandfrei aber mit mehreren Abrüchen, die ich aber beheben konnte.&nbsp;  
Jetzt bin ich schon beim&nbsp;script-Befehl 25 von 38 angekommen…

Nach dem script-Befehl

_Building: /usr/local/Cellar/node/14.4.0/bin/node /Applications/MAMP/htdocs/shopware/development/platform/src/Administration/Resources/app/administration/node\_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass\_ext= --libsass\_cflags= --libsass\_ldflags= --libsass\_library=_

**wird folgender Fehler geworfen und abgebrochen:**

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

libtool: unrecognized option `-static' &nbsp;&nbsp; &nbsp;libtool: Try `libtool --help’ for more information.  
&nbsp;&nbsp; &nbsp;make: \*\*\* [Release/sass.a] Error 1  
&nbsp;&nbsp; &nbsp;gyp ERR! build error&nbsp;  
&nbsp;&nbsp; &nbsp;gyp ERR! stack Error: `make` failed with exit code: 2  
&nbsp;&nbsp; &nbsp;gyp ERR! stack &nbsp; &nbsp; at ChildProcess.onExit (/Applications/MAMP/htdocs/shopware/development/platform/src/Administration/Resources/app/administration/node\_modules/node-gyp/lib/build.js:262:23)  
&nbsp;&nbsp; &nbsp;gyp ERR! stack &nbsp; &nbsp; at ChildProcess.emit (events.js:315:20)  
&nbsp;&nbsp; &nbsp;gyp ERR! stack &nbsp; &nbsp; at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:276:12)  
&nbsp;&nbsp; &nbsp;gyp ERR! System Darwin 19.5.0  
&nbsp;&nbsp; &nbsp;gyp ERR! command „/usr/local/Cellar/node/14.4.0/bin/node“ „/Applications/MAMP/htdocs/shopware/development/platform/src/Administration/Resources/app/administration/node\_modules/node-gyp/bin/node-gyp.js“ „rebuild“ „–verbose“ „–libsass\_ext=“ „–libsass\_cflags=“ „–libsass\_ldflags=“ „–libsass\_library=“  
&nbsp;&nbsp; &nbsp;gyp ERR! cwd /Applications/MAMP/htdocs/shopware/development/platform/src/Administration/Resources/app/administration/node\_modules/node-sass  
&nbsp;&nbsp; &nbsp;gyp ERR! node -v v14.4.0  
&nbsp;&nbsp; &nbsp;gyp ERR! node-gyp -v v3.8.0  
&nbsp;&nbsp; &nbsp;gyp ERR! not ok&nbsp;  
&nbsp;&nbsp; &nbsp;Build failed with error code: 1  
&nbsp;&nbsp; &nbsp;npm ERR! code ELIFECYCLE  
&nbsp;&nbsp; &nbsp;npm ERR! errno 1  
&nbsp;&nbsp; &nbsp;npm ERR! node-sass@4.13.1 postinstall: `node scripts/build.js`  
&nbsp;&nbsp; &nbsp;npm ERR! Exit status 1  
&nbsp;&nbsp; &nbsp;npm ERR!&nbsp;  
&nbsp;&nbsp; &nbsp;npm ERR! Failed at the node-sass@4.13.1 postinstall script.  
&nbsp;&nbsp; &nbsp;npm ERR! This is probably not a problem with npm. There is likely additional logging output above.&nbsp;&nbsp; &nbsp;

&nbsp;&nbsp; &nbsp;npm ERR! A complete log of this run can be found in:  
&nbsp;&nbsp; &nbsp;npm ERR! &nbsp; &nbsp; /Users/xxxx/.npm/\_logs/2020-06-11T18\_33\_17\_613Z-debug.log

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

**google gefragt, Antwort: folgende Befehle versuchen**  
_brew unlink libtool  
\>\>&nbsp;_ Error: No such keg: /usr/local/Cellar/libtool  
_rm -rf /usr/local/bin/libtool  
which libtool  
\>\>&nbsp;_ /Applications/MAMP/Library/bin/libtool

Hat aber nichts gebracht, beim nächsten Start wieder derselbe Fehler.

Bin für jede Hilfe dankbar und würde mich freuen, dieses Ding endlich zum laufen zu bringen 🙂

---

<div class="post-metadata">

**Author:** ![raschu](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@raschu](https://forum.shopware.com/u/raschu)\
**Post date:** [14. Juni 2020 um 11:07 UTC](https://forum.shopware.com/t/lokale-entwicklungsumgebung-gem-sw6-doku-macos-x-using-mamp-libtool-unrecognized-option-stat/67616/2 "2020-06-14T11:07:51Z")

</div>

Nach 3 Tagen Try and Error:

**All commands successfully executed!**

“Meine” Lösung:  
aus dem versteckten System-Root&nbsp;/usr/bin habe ich die Datei libtool ins entsprechende MAMP-Verzeichnis /library/bin kopiert und damit die “alte” MAMP-libtool überschrieben

Und siehe da:&nbsp;\_./psh.phar install&nbsp;\_lief fehlerfrei durch.
