Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 16.04 multiple definition of `tls_protocol' #11

Open
cnpcshangbo opened this issue Jan 19, 2018 · 0 comments
Open

Ubuntu 16.04 multiple definition of `tls_protocol' #11

cnpcshangbo opened this issue Jan 19, 2018 · 0 comments

Comments

@cnpcshangbo
Copy link

Please answer these questions before submitting your issue. Thanks!

What version of shadowsocks-libev are you using?

The lastest version from you github.

What operating system are you using?

Ubuntu 16.04

What did you do?

I downloaded your code using git clone.
Then I followed this part.

# Debian / Ubuntu
sudo apt-get install --no-install-recommends build-essential autoconf libtool libssl-dev libpcre3-dev asciidoc xmlto

./configure && make
sudo make install

Probably I forgot to use make install.

Then I tried to configure the configuration file.

# Edit the configuration file
sudo nano /etc/shadowsocks-libev/config.json

In this part I filled the configuration.

Then I

# Edit the default configuration for debian
sudo vim /etc/default/shadowsocks-libev

In this part I found this default configuration for debian is empty.

And I was not able to start service:

# Start the service
sudo /etc/init.d/shadowsocks-libev start    # for sysvinit, or

Then I tried:

sudo apt-get install --no-install-recommends build-essential autoconf libtool libssl-dev \
    gawk debhelper dh-systemd init-system-helpers pkg-config asciidoc xmlto apg libpcre3-dev
dpkg-buildpackage -b -us -uc -i

but I got the multiple definition error.

What did you expect to see?

I expect to get a solution on how to make the ss-local working with configuration file.

What did you see instead?

I saw the multiple definition message.

What is your config in detail (with all sensitive info masked)?


{
"weight" : ,
"title" : "",
"host" : "
",
"ota" : "",
"file" : "",
"uuid" : "
",
"obfs" : "tls1.2_ticket_auth",
"flag" : "RU",
"method" : "chacha20",
"type" : "ShadowsocksR",
"user" : "",
"port" : "
",
"protoParam" : "",
"proto" : "",
"password" : "
",
"data" : "https://www.***********.com
***************&token=****************",
"obfsParam" : ""
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant