On 11/10/05, Stuart Herbert <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On Thu, 2005-11-10 at 12:19 -0800, kristina clair wrote:
> > Thanks for the tip.  config.log says:
> >
> > configure:94212: gcc -o conftest -g -O2  -I/usr/include
> > -Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib
> > -Wl,-rpath,/usr/lib/mysql -L/usr/lib/mysql conftest.c -lcrypt
> > -lmysqlclient -lmcrypt -lltdl -lcurl -lz -lresolv -lm -ldl -lnsl
> > -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl
> > -lz -lcurl -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto
> > -lresolv -ldl -lz -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv
> > -lidn -lssl -lcrypto -lz -lcrypt 1>&5
> > /usr/bin/ld: cannot find -lltdl
>
> You are missing the 'ltdl' library from your system.  On a Gentoo
> system, this is installed by the libtool package.

Thanks - installing libtool got past the configure step.

Now, there are problems compiling with Sablot.  Are there any specific
options that sablotron needs to be compiled with in order for it to
work with php?
I encounter the following errors with "make", and I also see them in
the config.log:

configure:95405: checking for SablotGetOptions in -lsablot
configure:95424: gcc -o conftest -g -O2   -Wl,-rpath,/usr/kerberos/lib
-L/usr/kerberos/lib -Wl,-rpath,/usr/lib/mysql -L/usr/lib/mysql
conftest.c -lsablot  -lexpat -lcrypt -lmysqlclient -lmcrypt -lltdl
-lcurl -lz -lresolv -lm -ldl -lnsl  -lssl -lcrypto -lgssapi_krb5
-lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lcurl -lssl -lcrypto
-lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -lidn -lssl
-lcrypto -lz -lcrypt 1>&5
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../libsablot.so: undefined
reference to `JS_SetPrototype'
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../libsablot.so: undefined
reference to `JS_PropertyStub'
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../libsablot.so: undefined
reference to `JS_GC'
... [this actually goes on and on with "undefined reference" errors until] ....
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../libsablot.so: undefined
reference to `JS_Enumerate'
collect2: ld returned 1 exit status
configure: failed program was:
#line 95413 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char SablotGetOptions();
int main() {
SablotGetOptions()
; return 0; }

Thanks for any thoughts,
Kristina

Reply via email to