Opened 7 years ago

Last modified 7 years ago

#15360 new defect

IRC: Enabling SASL breaks static build

Reported by: tux Owned by: elb
Milestone: Component: IRC
Version: Keywords: irc,sasl,build,compile error,regression,static
Cc:

Description

I've tried building pidgin ([33422:581716bd2b64]) with:

"../configure --with-static-prpls="jabber irc" --enable-static --enable-cyrus-sasl"

However since [33404:bbd52f93184e] this fails with the following error message:

[...]
make[4]: Leaving directory `/tmp/pidgin-main/libpurple'
Making all in tests
make[4]: Entering directory `/tmp/pidgin-main/libpurple/tests'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/tmp/pidgin-main/libpurple/tests'
Making all in example
make[4]: Entering directory `/tmp/pidgin-main/libpurple/example'
  CC     nullclient.o
  CCLD   nullclient
../../libpurple/.libs/libpurple.so: undefined reference to `sasl_client_step'
../../libpurple/.libs/libpurple.so: undefined reference to `sasl_decode'
../../libpurple/.libs/libpurple.so: undefined reference to `sasl_client_init'
../../libpurple/.libs/libpurple.so: undefined reference to `sasl_dispose'
../../libpurple/.libs/libpurple.so: undefined reference to `sasl_encode'
../../libpurple/.libs/libpurple.so: undefined reference to `sasl_errdetail'
../../libpurple/.libs/libpurple.so: undefined reference to `sasl_getprop'
../../libpurple/.libs/libpurple.so: undefined reference to `sasl_setprop'
../../libpurple/.libs/libpurple.so: undefined reference to `sasl_client_start'
../../libpurple/.libs/libpurple.so: undefined reference to `sasl_client_new'
collect2: error: ld returned 1 exit status
make[4]: *** [nullclient] Error 1
make[4]: Leaving directory `/tmp/pidgin-main/libpurple/example'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/pidgin-main/libpurple'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/pidgin-main/libpurple'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/pidgin-main'
make: *** [all] Error 2
make -j3  196.42s user 19.90s system 165% cpu 2:10.63 total

Building with "./configure --with-static-prpls="irc" --enable-static --enable-cyrus-sasl" or "./configure --with-static-prpls="jabber irc" --enable-static" works though.

Change History (1)

comment:1 Changed 7 years ago by tux

Oh - it's actually not an issue of [33404:bbd52f93184e], it fails for earlier versions, too (if I got the hg syntax right). And it fails for "./configure --with-static-prpls="jabber" --enable-static --enable-cyrus-sasl", too, so since it works for just --with-static-prpls="irc" I guess it's an issue for the jabber component, not the irc one.

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!