Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 2009 08:14:23 -0900
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org, Matthias Apitz <guru@unixarea.de>
Subject:   Re: gsasl 0.2.28_1 does not link in 7.1R
Message-ID:  <200901310814.23334.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <20090131082210.GA3662@rebelion.Sisis.de>
References:  <20090130154311.GA7964@rebelion.Sisis.de> <200901301123.35763.fbsd.questions@rachie.is-a-geek.net> <20090131082210.GA3662@rebelion.Sisis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 30 January 2009 23:22:10 Matthias Apitz wrote:
> El d=EDa Friday, January 30, 2009 a las 11:23:35AM -0900, Mel escribi=F3:
> > On Friday 30 January 2009 06:43:11 Matthias Apitz wrote:
> > > Hello,
> > >
> > > Any idea about the problem below? Thx
> > >
> > > 	matthias
> > >
> > > # cd /usr/ports/security/gsasl
> > > # make
> > > =3D=3D=3D>  Building for gsasl-0.2.28_1
>
> 	...
>
> > > Making all in src
> > > make  all-am
> > > /bin/sh ../libtool --tag=3DCC    --mode=3Dlink cc -std=3Dgnu99  -O2
> > > -fno-strict-aliasing -pipe   -L/usr/local/lib -o gsasl gsasl.o
> > > gsasl_cmd.o imap.o  smtp.o callbacks.o ../lib/src/libgsasl.la
> > > ../gl/libgl.la  -lreadline -L/usr/local/lib -lgnutls -lz
> > > -L/usr/local/lib -lgcrypt -L/usr/local/lib -lgpg-error -L/usr/local/l=
ib
> > > -lintl -L/usr/local/lib -liconv -R/usr/local/lib
> > > cc -std=3Dgnu99 -O2 -fno-strict-aliasing -pipe -o .libs/gsasl gsasl.o
> > > gsasl_cmd.o imap.o smtp.o callbacks.o  -L/usr/local/lib
> > > ../lib/src/.libs/libgsasl.so -L/usr/lib /usr/local/lib/libntlm.so
> > > -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err
> > > ../gl/.libs/libgl.a -lreadline /usr/local/lib/libgnutls.so -lz
> > > /usr/local/lib/libgcrypt.so /usr/local/lib/libgpg-error.so
> > > /usr/local/lib/libintl.so /usr/local/lib/libiconv.so  -Wl,--rpath
> > > -Wl,/usr/local/lib
> > > /usr/lib/libasn1.so: undefined reference to `init_error_table'
> > > /usr/lib/libasn1.so: undefined reference to `initialize_error_table_r'
> > > *** Error code 1
> >
> > Judging from the manpage, it's not supposed to be linked directly, but
> > using -lbsnmp. But your linkline is far more complex then mine. Which of
> > the dependencies did you enable kerberos and snmp support?
>
> Hi Mel,
>
> I've to admit that I don't understand your question. The above problem
> comes up when I've tried to compile the port net-im/jabberd with default
> options (make install BATCH=3Dyes) which seems to need gsasl.
>
> And yes, I've ported before as well security/krb5 (but not explicitely
> snmp, but it is installed by some other port as net-snmp-5.4.2.1), and the
> security/krb5 port also with default options;
>
> what do you want me todo or check in detail? thanks in advance


The reason I ask is that I'd like to be able to reproduce your problem and=
=20
therefore need the configuration of dependencies. My options don't contain=
=20
krb and snmp linking,so somewhere down the line of dependencies I disabled=
=20
them.

Could you show output of:
make -C /usr/ports/security/gsasl showconfig-recursive

and trim ports that don't contain krb/gssapi or snmp as the output can be=20
quite long.

=2D-=20
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901310814.23334.fbsd.questions>