[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xymon] Compling on a mybook world NAS
- To: xymon (at) xymon.com
- Subject: Re: [xymon] Compling on a mybook world NAS
- From: Henrik "Størner" <henrik (at) hswn.dk>
- Date: Mon, 10 Jan 2011 09:30:51 +0000 (UTC)
- Newsgroups: lists.hobbit
- Organization: Linux Users Inc.
- References: <ig6ve5$i3v$5 (at) voodoo.hswn.dk> <AANLkTimg31oZsop96O3m5Kruu80XTuPPc1tG6STgz77A (at) mail.gmail.com> <ig6ve5$i3v$5 (at) voodoo.hswn.dk> <AANLkTi==wrXpQa7obF25NBzh7=3WruuLmM7EUqz3KOvT (at) mail.gmail.com>
- User-agent: nn/6.7.3
In <AANLkTi==wrXpQa7obF25NBzh7=3WruuLmM7EUqz3KOvT (at) mail.gmail.com> Simon Lenz <lenz.simon (at) googlemail.com> writes:
>But there is a warning several times: "warning: sh_link not set for sectio=
>n
>`.ARM.exidx'" critical?
No idea what this means. It is obviously ARM specific, not something
I am familiar with.
>And additionally, there is a critical error, that prevents openssl and ldap
>from working:)
> 1. collect2: ld returned 1 exit status
> 2. make: *** [test-link] Error 1
> 3. WARNING: OpenSSL library files found in /opt/lib, but link fails.
> 4. Continuing with SSL support disabled.
> 1. collect2: ld returned 1 exit status
> 2. make: *** [test-link] Error 1
> 3. WARNING: LDAP library files found in /opt/lib, but link fails.
> 4. Continuing with LDAP support disabled.
>What is this ominous "link fails"?
The configure script will check that it can use the LDAP and SSL
libraries by first compiling a C source file, then linking it
to produce a working executable. This error means that the link
step failed.
Sometimes this is because the LDAP/SSL libraries need some additional
libraries to work, and these may not be added automatically to the
link.
You can try running the check by hand, like this:
MAKE=make sh -x ./build/ldap.sh
(if your "make" utility is something other than "make", then adjust
the command accordingly).
This shows what commands are used during the check. There should be
two lines like this:
OS=Linux LDAPINC=-I/usr/include make -f Makefile.test-ldap test-compile
OS=Linux LDAPLIB=-L/usr/lib64 LDAPLBER=-llber make -f Makefile.test-ldap test-link
which are the actual commands used to try building the LDAP test
utility.
Regards,
Henrik