[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: does libssh support Mac OS X?
[Thread Prev] | [Thread Next]
- Subject: Re: does libssh support Mac OS X?
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 18 Sep 2014 18:53:35 +0200
- To: libssh@xxxxxxxxxx
On Friday 19 September 2014 00:30:07 wenew zhang wrote: > i use -L option but still get the symbols error! > > thanks > > wenewzha:examples wenewzhang$ clang senddata.c -I/opt/local/include > -L/opt/local/lib -lssh Undefined symbols for architecture x86_64: > "_connect_ssh", referenced from: > _main in senddata-5e6199.o > ld: symbol(s) not found for architecture x86_64 > clang: error: linker command failed with exit code 1 (use -v to see > invocation) wenewzha:examples wenewzhang$ libssh doesn't provide a symbol named 'connect_ssh'. If you try to compile the senddata.c from the examples directory you also need to compile and link authentication.c knownhosts.c connect_ssh.c see examples/CMakeLists.txt ... If you compile from source, the examples are compiled by default ... -- andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.org asn@xxxxxxxxxxxxxx
Re: does libssh support Mac OS X? | wenew zhang <wenewboy@xxxxxxxxx> |
Re: does libssh support Mac OS X? | Andreas Schneider <asn@xxxxxxxxxxxxxx> |
Re: does libssh support Mac OS X? | wenew zhang <wenewboy@xxxxxxxxx> |