[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fastcgipp-users] make examples: cannot find -lmysqlclient

From: Chang-Jian Sun
Subject: [Fastcgipp-users] make examples: cannot find -lmysqlclient
Date: Fri, 30 Nov 2012 13:50:15 -0500

I just downloaded fastcgi++-2.1.tar.bz2, built and installed it.
make install

But I got link error when building the examples:

address@hidden examples]$ make examples
g++ -o utf8-helloworld.fcgi utf8-helloworld.cpp -I../include -L../src
-lfastcgipp -lboost_thread-mt -lboost_system -pthread
-lboost_date_time-mt -lmysqlclient -g -O2
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make: *** [utf8-helloworld.fcgi] Error 1

I can work around it by adding  -L/usr/lib64/mysql, but shouldn't the
examples just work out of the box ?
Any input is appreciated !

reply via email to

[Prev in Thread] Current Thread [Next in Thread]