Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: libs missing  (Read 6598 times)

0 Members and 1 Guest are viewing this topic.

Nikos

  • Anope User
  • Offline Offline
  • Posts: 2
libs missing
« on: July 08, 2011, 05:58:47 PM »

How to get the libs?


Saving configuration results in config.cache... done.
cmake  -DINSTDIR:STRING=/home/ext3/services  -DDEFUMASK:STRING=077 -DCMAKE_BUILD_TYPE:STRING=RELEASE -DUSE_RUN_CC_PL:BOOLEAN=OFF  ..
extra/m_ldap.cpp needs header file ldap.h but we were unable to locate that header file! Check that the header file is within the search path of your OS.
extra/m_ldap.cpp needs library ldap but we were unable to locate that library! Check that the library is within the search path of your OS.
extra/m_ldap.cpp needs library lber but we were unable to locate that library! Check that the library is within the search path of your OS.
  This is not a fatal error - extra/m_ldap.cpp will not be built.
extra/m_mysql.cpp needs library mysqlclient but we were unable to locate that library! Check that the library is within the search path of your OS.
  This is not a fatal error - extra/m_mysql.cpp will not be built.
socketengines/m_socketengine_epoll.cpp needs header file sys/epoll.h but we were unable to locate that header file! Check that the header file is within the search path of your OS.
  This is not a fatal error - socketengines/m_socketengine_epoll.cpp will not be built.
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: libs missing
« Reply #1 on: July 08, 2011, 06:01:14 PM »

locate libmysqlclient

On my FreeBSD system it's in /usr/local/lib/mysql so I provide that to the last question from ./Config

Code: [Select]
Are there any extra arguments you wish to pass to cmake?
You may only need to do this if cmake is unable to locate
missing dependencies without hints.
You can do this by: -DEXTRA_INCLUDE:STRING=/path/to/files;/path/to/more/files
[]  -DEXTRA_INCLUDE:STRING=/usr/local/lib/mysql/

I typed  -DEXTRA_INCLUDE:STRING=/usr/local/lib/mysql/

Then the MySQL one went away, the same for others if you want them.
Logged

Nikos

  • Anope User
  • Offline Offline
  • Posts: 2
Re: libs missing
« Reply #2 on: July 09, 2011, 07:01:50 AM »

Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: libs missing
« Reply #3 on: July 09, 2011, 09:56:30 AM »

Pastebin the services.conf
Logged

RePas

  • Guest
Re: libs missing
« Reply #4 on: July 18, 2011, 07:06:33 PM »

on Debian Lenny u will get the packets:

apt-get install libmysqlclient15-dev libldap-dev




greetz

RePas
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: libs missing
« Reply #5 on: July 18, 2011, 07:51:09 PM »

Hi RePas,

Thanks for your post, unfortunately this thread was for FreeBSD which doesn't use apt.

Still, it's useful info nonetheless.
Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: libs missing
« Reply #6 on: July 18, 2011, 09:27:20 PM »

try this:

pkg_add -r libmysqlclient openldap-client

You can also use the ports system if you have it installed. You might also need openldap-server.

If memory serves both mysql and openldap are in the "databases" category in the ports system. if you don't like the command version, you can also install via sysinstall
« Last Edit: July 18, 2011, 09:39:49 PM by katsklaw »
Logged
Pages: [1]   Go Up