sm00th / bitlbee-discord

Bitlbee plugin for Discord (http://discordapp.com)
GNU General Public License v2.0
290 stars 27 forks source link

symbol lookup error #20

Closed Cightline closed 8 years ago

Cightline commented 8 years ago

I installed this from the AUR. The error I'm getting is: bitlbee[19007]: /usr/bin/bitlbee: symbol lookup error: /usr/lib/bitlbee/discord.so: undefined symbol: lws_set_log_level This is making Bitlbee crash, let me know if you need more info.

Cightline commented 8 years ago

Ok I'm not entirely sure if this is your issue, or the maintainers issue. I changed PKG_CONFIG_PATH="/usr/lib/lib64/pkgconfig" LIBWEBSOCKETS_LIBS="-L/usr/lib/lib64" ./configure to PKG_CONFIG_PATH="/usr/lib/lib64/pkgconfig" LIBWEBSOCKETS_LIBS="-L/usr/lib/lib64 -lwebsockets" ./configure

and it worked.

sm00th commented 8 years ago

Yeah, it is arch-specific problem, when I sent the patch to aur package I didn't realize it will completely override LIBWEBSOCKETS_LIBS, so your change should help, but it is actually not the proper way to solve this. What should be done is libwebsockets-git in aur should be fixed to install into proper paths.

ikn commented 8 years ago

On armv6h architecture, it worked for me with just './configure'.

sm00th commented 8 years ago

Yes, the problem seems to be only on x86_64.

sm00th commented 8 years ago

Shouldn't be an issue anymore since libwebsockets dependency is dropped in d00ef51.