Yes, I will check the issue for ubuntu and debian.
On Sat, Dec 17, 2011 at 3:14 AM, dan (ddp) <[email protected]> wrote: > Shouldn't think be reported to Ubuntu? > > On Thu, Dec 15, 2011 at 9:45 PM, Yi-Huan Chan (Hubert) > <[email protected]> wrote: >> I got same problem in my ubuntu 11.10 amd64. >> >> The problem is that >> >> src/os_dbd/dbmake.sh use mysql_config --libs to retrieve libraries and >> options required to link mysql client. In my machine, it will return >> >> -Wl,-Bsymbolic-functions -rdynamic -L/usr/lib/mysql -lmysqlclient >> >> But the libraries is under /usr/lib >> >> /bin/ls /usr/lib/libmysqlclient* >> /usr/lib/libmysqlclient.a /usr/lib/libmysqlclient_r.so >> /usr/lib/libmysqlclient_r.so.16.0.0 /usr/lib/libmysqlclient.so.16 >> /usr/lib/libmysqlclient_r.a /usr/lib/libmysqlclient_r.so.16 >> /usr/lib/libmysqlclient.so /usr/lib/libmysqlclient.so.16.0.0 >> >> You can try to modify Config.OS for temporary workaround. >> I will look for details to fix the problem. >> >> On Fri, Nov 18, 2011 at 4:41 AM, dan (ddp) <[email protected]> wrote: >>> When you run "make setdb" do you get any messages? >>> Make sure mysql.h exists in /usr/include/mysql >>> >>> What distro? What mysql packages do you currently have installed? >>> >>> On Wed, Nov 16, 2011 at 8:46 AM, Enzo <[email protected]> wrote: >>>> Thanks JB. Here's what I see in the Config.OS file: >>>> >>>> CDB=-I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing - >>>> DUNIV_LINUX -DUNIV_LINUX -Wl,-Bsymbolic-functions -rdynamic -L/usr/lib/ >>>> mysql -lmysqlclient -DDBD -DUMYSQL >>>> CEXTRA= -DDEFAULTDIR=\"/var/ossec\" >>>> TEXTRA=-lpthread >>>> CEXTRA= -DDEFAULTDIR=\"/var/ossec\" >>>> TEXTRA=-lpthread >>>> CEXTRA= -DDEFAULTDIR=\"/var/ossec\" >>>> TEXTRA=-lpthread >>>> >>>> I'm not quite sure what to look for here. >>>> >>>> On Nov 16, 2:16 am, JB <[email protected]> wrote: >>>>> Check src/Config.OS file content, look for the line starting with >>>>> CDB= >>>>> Config.OS will record the result of running 'make setdb' and may >>>>> provide some hint.
