haiwen / seafile-client

Seafile desktop client.
http://seafile.com
Apache License 2.0
469 stars 280 forks source link

Error building seafile-client 8.0.8 on Ubuntu Jammy #1419

Closed jhonny-oliveira closed 2 years ago

jhonny-oliveira commented 2 years ago

Hi!

I'm getting this error while getting while building seafile-client 8.0.8 on Ubuntu Jammy:

./build/./src/rpc/rpc-client.cpp:1017: undefined reference to `searpc_client_call__int(_SearpcClient, char const, _GError**, int, ...)' collect2: error: ld returned 1 exit status make[3]: *** [CMakeFiles/seafile-applet.dir/build.make:3991: seafile-applet] Error 1

You can find the full log here:build_log.txt.

Thank you for your help!

jhonny-oliveira commented 2 years ago

I was able to workaround the problem with: 0005-Fix_undefined_reference_to.txt.

Can you please confirm this is an acceptable fix?

feiniks commented 2 years ago

Hello, you need to fetch and compile the latest libsearpc.

jhonny-oliveira commented 2 years ago

Thank you! I will look into it.