Article delegate-en/5072 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]

Newsgroups: mail-lists.delegate-en

[DeleGate-En] Error running : ERROR: can't link the SSL/Crypto library.
02 Jun 2014 00:54:37 GMT Albert Kam <p2ajqbdyi-t7hpmu5kftxr.ml@ml.delegate.org>


Hi !

I've successfully installed delegated into my system.
The attached file is the output of the installation process.

But when running it like this :
delegated -P3129 SERVER=http SOCKS=localhost:9050

will result in :
-- ERROR: can't link the SSL/Crypto library.
-- Hint: use -vl option to trace the required library,
--- find it (ex. libssl.so.X.Y.Z) under /usr/lib or /lib,
--- then set the library version as DYLIB='+,lib*.so.X.Y.Z'
-delegated[12724]- DeleGate: cannot open server port :3129
-delegated[12724]- DeleGate: use -r option to restart

My libraries are in :
root@localhost /usr/lib/x86_64-linux-gnu # ls -al libssl.so libcrypto.so
lrwxrwxrwx 1 root root 18 Apr 18 04:55 libcrypto.so -> libcrypto.so.1.0.0
lrwxrwxrwx 1 root root 15 Apr 18 04:55 libssl.so -> libssl.so.1.0.0

I tried moving src/delegated binary to /usr/lib/x86_64-linux-gnu, but still
it displayed the same error messages when executed.

root@localhost /usr/lib/x86_64-linux-gnu # ./delegated -P3129 SERVER=http
SOCKS=localhost:9050  DYLIB='libcrypto.so.1.0.0,libssl.so.1.0.0' -vl
--- find dynamic library 'crypto' in
DYLIB='libcrypto.so.1.0.0,libssl.so.1.0.0'
--- LDPATH(;) =
${ETCDIR};${LIBDIR};${EXECDIR};${STARTDIR};${HOME}/lib;/usr/local/lib;/usr/lib;/lib
--- delegated.c:5424 ${ETCDIR}
--- delegated.c:5424 ${LIBDIR}
--- delegated.c:5424 ${STARTDIR}
--- delegated.c:5424 ${HOME}/lib
--- LDPATH(;) =
/var/spool/delegate-nobody/etc;/var/spool/delegate-nobody/lib;/usr/lib/x86_64-linux-gnu/.;/usr/lib/x86_64-linux-gnu;/root/lib;/usr/local/lib;/usr/lib;/lib
### find 'libcrypto.so.1.0.0' in
LDPATH='/var/spool/delegate-nobody/etc;/var/spool/delegate-nobody/lib;/usr/lib/x86_64-linux-gnu/.;/usr/lib/x86_64-linux-gnu;/root/lib;/usr/local/lib;/usr/lib;/lib'
### [0] 0 "/var/spool/delegate-nobody/etc/libcrypto.so.1.0.0"
### [1] 0 "/var/spool/delegate-nobody/lib/libcrypto.so.1.0.0"
### [2] FC3BD0 "/usr/lib/x86_64-linux-gnu/./libcrypto.so.1.0.0"
--- log.c:791 ${LOGDIR}/${PORT}
--- [/usr/lib/x86_64-linux-gnu/./libcrypto.so.1.0.0]
--- [crypto] FC3BD0 /usr/lib/x86_64-linux-gnu/./libcrypto.so.1.0.0
--- find dynamic library 'ssl' in DYLIB='libcrypto.so.1.0.0,libssl.so.1.0.0'
### find 'libssl.so.1.0.0' in
LDPATH='/var/spool/delegate-nobody/etc;/var/spool/delegate-nobody/lib;/usr/lib/x86_64-linux-gnu/.;/usr/lib/x86_64-linux-gnu;/root/lib;/usr/local/lib;/usr/lib;/lib'
### [0] 0 "/var/spool/delegate-nobody/etc/libssl.so.1.0.0"
### [1] 0 "/var/spool/delegate-nobody/lib/libssl.so.1.0.0"
### [2] FC4B90 "/usr/lib/x86_64-linux-gnu/./libssl.so.1.0.0"
--- [/usr/lib/x86_64-linux-gnu/./libssl.so.1.0.0]
--- [ssl] FC4BD0 /usr/lib/x86_64-linux-gnu/./libssl.so.1.0.0
-- ERROR: can't link the SSL/Crypto library.
-- Hint: use -vl option to trace the required library,
--- find it (ex. libssl.so.X.Y.Z) under /usr/lib or /lib,
--- then set the library version as DYLIB='+,lib*.so.X.Y.Z'
-delegated[12747]- DeleGate: cannot open server port :3129
-delegated[12747]- DeleGate: use -r option to restart

From the output above, it seems that the libssl.so and libcrypto.so are
both actually found. But why the error ? I tried -r to restart, but still
the same problem.

Would you please help me, thanks so much !

Albert,
Jakarta, Indonesia

-- 
Do not pursue the past. Do not lose yourself in the future.
The past no longer is. The future has not yet come.
Looking deeply at life as it is in the very here and now,
the practitioner dwells in stability and freedom.
(Thich Nhat Hanh)


  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V