2016年11月23日星期三

error while loading shared libraries: .so : cannot open shared object file: No such file or directory

error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory Fix: If you have the lib, just make a symbol link. ln -s your_path/libevent-2.0.so.5 /usr/lib/libevent-2.0.so.5

error: Package requirements (libcurl >= 7.15.4) were not met

When I compile transmission 2.92 for my WD my book live, I got this error when running ./configure. error: Package requirements (libcurl >= 7.15.4) were not met But my libcurl version is 7.24 already. Fix buy this: ----------------------------------------------------- ./configure --disable-mac --disable-nls OPENSSL_CFLAGS=-I/opt/include OPENSSL_LIBS="-L/opt/lib -lssl -lcrypto -ldl" LIBEVENT_CFLAGS=-I/opt/include LIBEVENT_LIBS="-L/opt/lib -levent" ZLIB_CFLAGS=-I/opt/include ZLIB_LIBS="-L/opt/lib -lz" LIBCURL_CFLAGS=-I/opt/include LIBCURL_LIBS="-L/opt/lib -lcurl" -----------------------------------------------------