jmk-foofus / medusa

Medusa is a speedy, parallel, and modular, login brute-forcer.
GNU General Public License v2.0
687 stars 177 forks source link

macos 10.13.3 build 2.2 error #23

Open longkeyy opened 6 years ago

longkeyy commented 6 years ago

git clone https://github.com/jmk-foofus/medusa.git cd medusa.git && git checkout 2.2 brew instal freerdp

./configure --enable-module-rdp=no --enable-module-ssh=yes --enable-module-svn=yes

make

/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive Making all in src Making all in modsrc depbase=echo cvs.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/local/opt/openssl/include -g -O2 -Wno-deprecated-declarations -MT cvs.o -MD -MP -MF $depbase.Tpo -c -o cvs.o cvs.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo ../medusa-trace.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr/local/opt/openssl/include -g -O2 -Wno-deprecated-declarations -MT ../medusa-trace.o -MD -MP -MF $depbase.Tpo -c -o ../medusa-trace.o ../medusa-trace.c &&\ mv -f $depbase.Tpo $depbase.Po gcc -g -O2 -Wno-deprecated-declarations -fPIC -L/usr/local/lib -L/usr/local/opt/openssl/lib -L/usr/local/lib/freerdp -o cvs.mod cvs.o ../medusa-trace.o -lfreerdp -lwinpr -lfreerdp-client -laudin-client -ldisp-client -lecho-client -lrdpei-client -lrdpgfx-client -ltsmf-client -lcliprdr-client -ldrdynvc-client -lencomsp-client -lrail-client -lrdpdr-client -lrdpsnd-client -lremdesk-client -ldrive-client -lparallel-client -lserial-client -lsmartcard-client -bundle -flat_namespace -undefined suppress -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -framework CoreFoundation ld: library not found for -lfreerdp clang: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: [cvs.mod] Error 1 make[2]: [all-recursive] Error 1 make[1]: [all-recursive] Error 1 make: [all] Error 2

vipzen commented 6 years ago

Use -v to see invocation Also try this:


$ export FREERDP2_CFLAGS='-I/usr/local/include'
$ export FREERDP2_LIBS='-I/usr/local/lib/freerdp'

./configure
make
notwhy commented 5 years ago

me also met this question. ./configure make /Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive Making all in src Making all in modsrc gcc -g -O2 -Wno-deprecated-declarations -fPIC -L/usr/local/lib -L/usr/local/opt/openssl/lib -L/usr/local/lib/freerdp -o cvs.mod cvs.o ../medusa-trace.o -lfreerdp -lwinpr -lfreerdp-client -laudin-client -ldisp-client -lecho-client -lrdpei-client -lrdpgfx-client -ltsmf-client -lcliprdr-client -ldrdynvc-client -lencomsp-client -lrail-client -lrdpdr-client -lrdpsnd-client -lremdesk-client -ldrive-client -lparallel-client -lserial-client -lsmartcard-client -bundle -flat_namespace -undefined suppress -lcrypto -ldl -lpthread -lssl -lcrypto -ldl -framework CoreFoundation ld: library not found for -lfreerdp clang: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: [cvs.mod] Error 1 make[2]: [all-recursive] Error 1 make[1]: [all-recursive] Error 1 make: [all] Error 2

but not work. $ export FREERDP2_CFLAGS='-I/usr/local/include' $ export FREERDP2_LIBS='-I/usr/local/lib/freerdp'