libtool: link: require no space between `-L'

场景

        thrift C++静态链接openssl,失败,提示:

/bin/sh ../../libtool --tag=CXX   --mode=link g++ -Wall -g -O2 -release 0.9.0 -L/usr/lib -ldl -L /home/dong/3thrdparty/openssl-1.0.2j/ -o libthrift.la -rpath /usr/local/lib Thrift.lo TApplicationException.lo VirtualProfiling.lo ThreadManager.lo TimerManager.lo Util.lo TDebugProtocol.lo TDenseProtocol.lo TJSONProtocol.lo TBase64Utils.lo TTransportException.lo TFDTransport.lo TFileTransport.lo TSimpleFileTransport.lo THttpTransport.lo THttpClient.lo THttpServer.lo TSocket.lo TPipe.lo TPipeServer.lo TSSLSocket.lo TSocketPool.lo TServerSocket.lo TSSLServerSocket.lo TTransportUtils.lo TBufferTransports.lo TServer.lo TSimpleServer.lo TThreadPoolServer.lo TThreadedServer.lo TAsyncChannel.lo PeekProcessor.lo  Mutex.lo Monitor.lo PosixThreadFactory.lo  -lssl -lcrypto -lrt -lpthread

libtool: link: require no space between `-L'

上一篇:Gin框架介绍及使用


下一篇:golang gin框架 路由重定向(get, post,handler传参数)