List:MySQL++« Previous MessageNext Message »
From:Andrew Lowe Date:August 16 2000 6:08am
Subject:trouble compiling the mysql++1.7.5 source...
View as plain text  
Hi all,
im having alot of trouble compiling the mysql++1.7.5 source..

so far i have:
automake'd
autoconf'd
configure'd
make'd
after a while in the make it ends up crashing out with errors:

    make[2]: Entering directory `/usr/src/mysql++-1.7.5/examples'
    /bin/sh ../libtool --mode=link c++  -g -O2 -L/usr/local/lib/mysql -o
    resetdb  resetdb.o util.o ../sqlplusint/libsqlplus.la -lz -lmysqlclient
    c++ -g -O2 -L/usr/local/lib/mysql -o .libs/resetdb resetdb.o util.o
    ../sqlplusint/.libs/libsqlplus.so -lz -lmysqlclient -lz -lmysqlclient
    -Wl,--rpath -Wl,/usr/local/lib
    /usr/bin/ld: cannot open -lz: No such file or directory
    collect2: ld returned 1 exit status
    make[2]: *** [resetdb] Error 1
    make[2]: Leaving directory `/usr/src/mysql++-1.7.5/examples'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/src/mysql++-1.7.5'
    make: *** [all-recursive-am] Error 2

I don't know why, can anyone help me please?

Thanks in advance
Andrew Lowe
andrew@stripped
        The South Coast Professional Computing Centre
                + Hislora Website Hosting & Design
                + Daly & Daly Computer Training
                + Flatearth Internet Cafe
        Ph:     02 4423 7771
        Fax:    02 4423 7772
        email:  sales@stripped


Thread
trouble compiling the mysql++1.7.5 source...Andrew Lowe16 Aug