Re: jabberd2-c2s: undefined symbol: crypt

2011-05-05 Thread Tomasz Sterna
Dnia 2011-05-04, śro o godzinie 17:05 -0300, Sérgio Surkamp pisze: Checking again from the beginning, crypt function is implemented in libcrypt and not libcrypto, sorry about that. Can you try compiling your test again, explicitly linking against libcrypt? Good find. IIRC Ubuntu planned to

Re: jabberd2-c2s: undefined symbol: crypt

2011-05-04 Thread Sérgio Surkamp
Hi, Sorry about the very long delay, I'm currently very busy at work. I installed Jabberd2 from the latest Debian/Ubuntu package available (2.2.8 I believe). The only crypto-related library I could find that changed in my upgrade is libgcrypt (went from 1.4.5-2 to 1.4.6-4). Just as a

Re: jabberd2-c2s: undefined symbol: crypt

2011-04-29 Thread Tomasz Sterna
Dnia 2011-04-28, czw o godzinie 13:20 -0400, August pisze: jabberd2-c2s: symbol lookup error: /usr/lib/jabberd2/authreg_mysql.so: undefined symbol: crypt No jabberd2 packages were upgraded or installed in the upgrade process, but he upgrade installed: [libmysqlclient-dev libmysqlclient16

Re: jabberd2-c2s: undefined symbol: crypt

2011-04-29 Thread August
After receiving a response on LaunchPad (https://answers.launchpad.net/ubuntu/+source/mysql-5.1/+question/154779), I remain rather conflicted on how best to proceed. I've yet to receive a straight answer from the package maintainer on whether crypt() support has been removed in the latest

Re: jabberd2-c2s: undefined symbol: crypt

2011-04-29 Thread Björn
Hi! The function crypt is part of libcrypt. I assume the old version of libmysqlclient was linked to libcrypt but the new one is not. It seems that authreg_mysql.so is not linked to libcrypt. The Makefile needs to be fixed in this case. Björn -- To unsubscribe send a mail to

Re: jabberd2-c2s: undefined symbol: crypt

2011-04-29 Thread Justin T Pryzby
Can you try running: LD_PRELOAD=/lib/libgcrypt.so /etc/init.d/jabberd2 restart If it's true that there's a dependency that's not declared in the ELF object/executable, that might work around it. Otherwise, it may be a library version issue, but that shouldn't happen if you're running

Re: jabberd2-c2s: undefined symbol: crypt

2011-04-29 Thread August
That sounds like a pretty promising fix, but I don't have a /lib/libgcrypt.so on my system. Also, I've since switched to BDB/PAM for storage/auth, but I'll try to bring a test box online soon to try this out. -- August -- To unsubscribe send a mail to jabberd2+unsubscr...@lists.xiaoka.com

Re: jabberd2-c2s: undefined symbol: crypt

2011-04-29 Thread Björn
Hi! Using LD_PRELOAD is not a fix but a workaround. You have to preload libcrypt.so without the g. gcrypt is a library for cryptography often used by gnu projects like gpg or gnutls. Björn -- To unsubscribe send a mail to jabberd2+unsubscr...@lists.xiaoka.com

Re: jabberd2-c2s: undefined symbol: crypt

2011-04-28 Thread Sérgio Surkamp
Hello, It seems that the update broke some library (libcrypto?). If you have compiled jabberd2 by your self, recompiling and reinstalling it should solve the issue. You can check the broken library by running: ldd /usr/lib/jabberd2/authreg_mysql.so Regards, Sérgio Em Thu, 28 Apr 2011 13:20:44