[OGo-Users] failed to link required library: NGLdap

Sebastian Reitenbach users@opengroupware.org
Tue, 12 Feb 2008 19:38:50 +0100


users@opengroupware.org wrote: 
> > users@opengroupware.org wrote:
> >> Hello List,
> >>
> >> I want to install OGo from Source on a SLES9 SP3 (SuSE Linux Enterprise
> >> Server) machine and have some issues installing the
> >> opengroupware.org-1.1.7-close-r1987 package on this system.
> >> Since I'm completely new to OGo and its installation, I'm kind of
> >> settled up with the following error when trying to install (using
> >> GNUstep-make) OGo:
> >>
> >> # ./configure
> >> GNUstep environment:
> >>   system: /usr/local/GNUstep/System
> >>   local:  /usr/local/GNUstep
> >>   user:   /root/GNUstep
> >>   path:   /root/GNUstep:/usr/local/GNUstep:/usr/local/GNUstep/System
> >>   flat:   yes
> >>   arch:   x86_64-unknown-linux-gnu
> >>   combo:  gnu-fd-nil
> >>
> >> Note: will install in default location: /usr/local/
> >>
> >> Configuration:
> >>   FHS:    install in FHS root
> >>   debug:  yes
> >>   strip:  yes
> >>   prefix: /usr/local/
> >>   gstep:  /usr/local/GNUstep/System/Library/Makefiles
> >>   config: /usr/src/opengroupware.org/config.make
> >>   script: /usr/local/GNUstep/System/Library/Makefiles/GNUstep.sh
> >>
> >> creating: /usr/src/opengroupware.org/config.make
> >> failed to link required library: NGLdap
> > you also have sope compiled and installed already?
> >
> yes, compiling sope was quite an easy job - i compiled and installed under
> /usr/local/sope. openldap2-devel, postgres etc. is also installed, so
> there should be no problems with missing dependencies.
> 
> might that be a problem that ogo doesn't search my /usr/local/sope/lib64
you have a x86_64 version of SLES installed and running?

> path, where sope installed its libraries?
> but anyway, the listing of that directory looks like that:
> 

...
that should have been prefereably in /usr/local/lib64
I assume you did set the --prefix=/usr/local/sope. You should just omit it, 
or set it to /usr/local.

> 
> 
> - nothing like NGLdap...
> the more surprising, that in /usr/src/sope/ (my sources directory), there
> is a subdirectory named sope-ldap/NGLdap, where some source code is lying
> around - but nothing that looks like binary. should I be concerned about
> that, or is that somehow normal?
when ./configure sope, you should have seen sth. like this:

optional library found: xml2
optional library found: ldap
required library found: ssl crypto
optional library found: pq
optional library found: sqlite3
optional library found: mysqlclient

then compiling and installation of sope-ldap is enabled. Then ogo configure 
will probably find it.

cheers
Sebastian