From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: GNATCOLL 2016 installation problem.
Date: Sun, 6 May 2018 19:48:49 +0200
Date: 2018-05-06T19:48:49+02:00 [thread overview]
Message-ID: <pcnf64$1agc$1@gioia.aioe.org> (raw)
In-Reply-To: 3de018a9-40dc-472c-9fcf-09f14f432d8c@googlegroups.com
On 2018-05-06 17:35, eduardsapotski@gmail.com wrote:
> I need GNATCOLL only to connect to the database PostgreSQL.
>
> OS - CentOS 6.9
>
> $> ./configure prefix=/usr/gnat --with-postgresql="/usr/pgsql-10/lib/libpq.a" -without-gtk --without-sqlite --without-python --disable-projects --disable-pygtk
>
> $> make
>
> I get errors:
>
> libgnatcoll_postgres.so: undefined reference to `ldap_get_values_len'
> libgnatcoll_postgres.so: undefined reference to `ldap_result'
> libgnatcoll_postgres.so: undefined reference to `ldap_value_free_len'
> ...
>
> As I understand these functions are described in the file ldap.h:
>
> $> find / -name ldap.h
> /usr/lib64/evolution-openldap/include/ldap.h
> /usr/include/ldap.h
>
> What is the problem?
Apparently you must link against libldap, for whatever reason they use
it. Pass -lldap to the linker.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2018-05-06 17:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-06 15:35 GNATCOLL 2016 installation problem eduardsapotski
2018-05-06 17:48 ` Dmitry A. Kazakov [this message]
2018-05-10 8:18 ` eduardsapotski
2018-05-10 8:56 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox