Skip to content

README updates #18

Open
Open
@ppazos

Description

@ppazos

Requires: sudo apt install libmysqlclient-dev
Before build.

After installing got:

$ gcc -o levenshtein.so -shared levenshtein.c mysql_config --include
/usr/bin/ld: /tmp/ccBcelTa.o: relocation R_X86_64_PC32 against symbol `levenshtein' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status

Tried: $ gcc -o levenshtein.so -shared -fPIC levenshtein.c mysql_config --include

Worked OK, I can see the new .so file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions