Could it be you are missing libmysqlclient.a or libmysqlclient.so?

If it is the .so just ldconfig or ln -s

On Friday, 2003-09-05 at 03:24:09 AM, Eleazar John scribbled:
>    Hi,
>     
>    I've been using Kannel version 1.2.1 in the past months and its working ok
>    based on self-compiled source package.
>     
>    Lately I have compiled another package with mysql support which I haven't
>    done in my first compilation in Linux 9.0 but I'm encountering problems.
>     
>    # ./configure --disable-docs --disable-ssl --enable-localtime
>    ./config.cache
>    Configuring for Kannel gateway version 1.2.1 ...
>    Running system checks ...
>    checking host system type... i686-pc-linux-gnu
>    checking for gcc... (cached) gcc
>    checking whether the C compiler (gcc  ) works... yes
>    checking whether the C compiler (gcc  ) is a cross-compiler... no
>    checking whether we are using GNU C... (cached) yes
>    checking whether gcc accepts -g... (cached) yes
>    checking for a BSD compatible install... (cached) /usr/bin/install -c
>    checking for ranlib... (cached) ranlib
>    checking for bison... (cached) bison -y
>    checking for flex... (cached) flex
>    checking for yywrap in -lfl... (cached) yes
>    checking for convert... (cached) /usr/bin/convert
>    checking for perl... (cached) /usr/bin/perl
>    checking for log in -lm... (cached) yes
>    checking for accept in -lsocket... (cached) no
>    checking for inet_ntoa in -lnsl... (cached) yes
>    checking for inet_ntop in -lresolv... (cached) yes
>    checking for inet_ntop in -lbind... (cached) no
>    checking for pthread_exit in -lpthrea d... (cached) yes
>    checking for pthread_exit in -lc_r... (cached) no
>    checking how to run the C preprocessor... (cached) gcc -E
>    checking for ANSI C header files... (cached) yes
>    checking for sys/ioctl.h... (cached) yes
>    checking for sys/time.h... (cached) yes
>    checking for sys/types.h... (cached) yes
>    checking for unistd.h... (cached) yes
>    checking for sys/poll.h... (cached) yes
>    checking for pthread.h... (cached) yes
>    checking for getopt.h... (cached) yes
>    checking for syslog.h... (cached) yes
>    checking for gettimeofday... (cached) yes
>    checking for select... (cached) yes
>    checking for socket... (cached) yes
>    checking for strdup... (cached) yes
>    checking for getopt_long... (cached) yes
>    checking for getopt... (cached) yes
>    checking for socklen_t in <sys/socket.h>... (cached) yes
>    checking for getopt in <stdio.h>... (cached) no
>    checking for getopt in <unistd.h>... (cached) yes
>    Checking POSIX threads support ...
>    checking for working pthreads... yes
>    Checking for libxml2 support ...
>    checking for xml2-config... (cached) /usr/bin/xml2-config
>    checking libxml version... 2.5.4
>    Configuring DocBook support ...
>    checking for jade... (cached) jade
>    checking for jadetex... (cached) :
>    checking for pdfjadetex... (cached) :
>    checking for dvips... (cached) :
>    checking for fig2dev... (cached) :
>    checking for convert... (cached) /usr/bin/convert
>    checking for
>    /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... (cached)
>    no
>    checking for /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl...
>    (cached) no
>    checking for
>    /usr/share/sgml/docbook/dsssl-stylesheets-1.59/html/docbook.dsl...
>    (cached) no
>    checking for /usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl...
>    (cached) no
>    checking for /usr/share/sgml/docbook/dsssl/modular/html/docbook.dsl...
>    (cached) no
>    checking for
>    /usr/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl...
>    (cached) no
>    checking for
>    /usr/local/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl...
>    (cached) no
>    checking for
>    /usr/local/share/sgml/docbook/dsssl-stylesheets-1.59/html/docbook.dsl...
>    (cached) no
>    checking for
>    /usr/local/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl...
>    (cached) no
>    checking for
>    /usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl... (cached)
>    no
>    checking for
>    /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl...
>    (cached) no
>    checking for /usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl...
>    (cached) no
>    checking for
>    /usr/share/sgml/docbook/dsssl-stylesheets-1.59/print/docbook.dsl...
>    (cached) no
>    checking for
>    /usr/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl... (cached) no
>    checking for /usr/share/sgml/docbook/dsssl/modular/print/docbook.dsl...
>    (cached) no
>    checking for
>    /usr/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl...
>    (cached) no
>    checking for
>    /usr/local/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl...
>    (cached) no
>    checking for
>    /usr/local/share/sgml/docbook/dsssl-stylesheets-1.59/print/docbook.dsl...
>    (cached) no
>    checking for
>    /usr/local/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl...
>    (cached) no
>    checking for
>    /usr/local/share/sgml/docbook/dsssl/modular/print/docbook.dsl... (cached)
>    no
>    Not building documentation.
>    Configuring parameters ...
>    checking which malloc to use... native malloc
>    enabling local time
>    Configuring OpenSSL support ...
>    checking whether to compile with SSL support... disabled
>    Configuring DB support ...
>    checking whether to compile with MySQL support... searching in
>    /usr/local/mysql
>    checking for /usr/local/mysql/include/mysql/mysql.h... (cached) no
>    checking for /usr/local/mysql/include/mysql.h... (cached) yes
>    checking for mysql/mysql.h... (cached) no
>    checking for mysql/mysql_com.h... (cached) no
>    checking for mysql/mysql_version.h... (cached) no
>    checking for mysql_init in -lmysqlclient... (cached) no
>    checking whether to compile with MySQL support... yes
>    checking whether to compile with LibSDB support... disabled
>    Configuring DLR support ...
>    checking for DLR storage type... mysql
>    Generating output files ...
>    creating ./config.status
>    creating Makefile
>    creating config.h
>    Now this is the problem when I compile
>     
>    # make
>    gcc -D_REENTRANT=1 -I. -Igw -g -O2 -I/usr/include/libxml2
>    -I/usr/local/mysql/include -o gw/bb_boxc.o -c gw/bb_boxc.c
>    gcc -D_REENTRANT=1 -I. -Igw -g -O2 -I/usr/include/libxml2
>    -I/usr/local/mysql/include -o gw/bb_http.o -c gw/bb_http.c
>    gcc -D_REENTRANT=1 -I. -Igw -g -O2 -I/usr/include/libxml2
>    -I/usr/local/mysql/include -o gw/bb_smscconn.o -c gw/bb_smscconn.c
>    gcc -D_REENTRANT=1 -I. -Igw -g -O2 -I/usr/include/libxml2
>    -I/usr/local/mysql/include -o gw/bb_store.o -c gw/bb_store.c
>    gcc -D_REENTRANT=1 -I. -Igw -g -O2 -I/usr/include/libxml2
>    -I/usr/local/mysql/include -o gw/bb_udp.o -c gw/bb_udp.c
>    .......
>    ......
>    ....
>    ..
>    gcc -D_REENTRANT=1 -I. -Igw -g -O2 -I/usr/include/libxml2
>    -I/usr/local/mysql/include -o gwlib/xmlrpc.o -c gwlib/xmlrpc.c
>    ar rc  libgwlib.a gwlib/accesslog.o gwlib/cfg.o gwlib/charset.o
>    gwlib/conn.o gwlib/counter.o gwlib/date.o gwlib/dict.o gwlib/fdset.o
>    gwlib/gwlib.o gwlib/gwmem-check.o gwlib/gwmem-native.o gwlib/gwpoll.o
>    gwlib/gwthread-pthread.o gwlib/http.o gwlib/list.o gwlib/log.o
>    gwlib/octstr.o gwlib/parse.o gwlib/pki.o gwlib/protected.o
>    gwlib/semaphore.o gwlib/socket.o gwlib/ssl.o gwlib/thread.o gwlib/utils.o
>    gwlib/xmlrpc.o
>    ranlib libgwlib.a
>    gcc -D_REENTRANT=1 -I. -Igw -g -O2 -I/usr/include/libxml2
>    -I/usr/local/mysql/include  -o wmlscript/wmlsc wmlscript/wmlsc.o libgw.a
>    libwmlscript.a libwap.a libgwlib.a -lpthread -lresolv -lnsl -lm 
>    -L/usr/lib -lxml2 -lz -lm -L/usr/local/mysql/lib -lmysqlclient
>    /usr/bin/ld: cannot find -lmysqlclient
>    collect2: ld returned 1 exit status
>    make: *** [wmlscript/wmlsc] Error 1
>    Please advise...
>    What is missing or what should I have to do.
>    Many thanks....
>     
>    JUNE
> 
> 
>    Do you Yahoo!?
>    Yahoo! SiteBuilder - Free, easy-to-use web site design software

-- 
Benjamin Lee
Melbourne, Australia         "Always real."    http://www.realthought.net/

__________________________________________________________________________
audophile, n:
        Someone who listens to the equipment instead of the music.

Reply via email to