Skip to content

Ubuntu 16.04 multiple definition of `tls_protocol' #11

@cnpcshangbo

Description

@cnpcshangbo

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" : ""
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions