Ralf S. Engelschall wrote:
On Wed, Jul 30, 2008, Victor G. Bolshakov wrote:

External dependence for OpenPKG packege? I also try to build without LDAP 
(with_openldap=no) without any success...

[EMAIL PROTECTED] wrote:
   can you try a ls /usr/lib/liblber*.so ? if the lib is not present, you
might need to pkgadd some ldap packages.


Sorry, I'm just inattentively looked in to config.log for first time...

This is the problem:

configure:2314: checking for C compiler default output file name
configure:2341: /openpkg/bin/cc
-I/openpkg/RPM/TMP/freeradius-server-2.0.5/src/include -O2 -pipe
-I/openpkg/include
-I/openpkg/include -L/openpkg/lib conftest.c -llber -lssl -lcrypto >&5
/openpkg/bin/ld: cannot find -llber
collect2: ld returned 1 exit status

Yes, liblber is part of OpenLDAP. If with_openldap=no doesn't help
then we have to fix something here. But I see already a problem in the
packaging: LDAP libraries are passed in LIBS unconditionally. I've tried
to fix this with the latest "freeradius" package. Please retry with this
one.

Better, but got new error:

(cd .libs && /openpkg/bin/cc -I/openpkg/RPM/TMP/freeradius-server-2.0.5/src/include -O2 -pipe -I/openpkg/include -c -fno-builtin "radiusdS.c")
rm -f .libs/radiusdS.c .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT
/openpkg/bin/cc .libs/radiusdS.o -o radiusd acct.o auth.o client.o conffile.o crypt.o exec.o files.o listen.o log.o mainconfig.o modules.o modcall.o radiusd.o radius_snmp.o session.o smux.o threads.o util.o valuepair.o version.o xlat.o event.o realms.o evaluate.o vmps.o detail.o -Wl,--export-dynamic ../modules/rlm_acctlog/.libs/rlm_acctlog.a -L/openpkg/lib ../modules/rlm_acct_unique/.libs/rlm_acct_unique.a ../modules/rlm_always/.libs/rlm_always.a ../modules/rlm_attr_filter/.libs/rlm_attr_filter.a ../modules/rlm_attr_rewrite/.libs/rlm_attr_rewrite.a ../modules/rlm_chap/.libs/rlm_chap.a ../modules/rlm_checkval/.libs/rlm_checkval.a ../modules/rlm_copy_packet/.libs/rlm_copy_packet.a ../modules/rlm_counter/.libs/rlm_counter.a ../modules/rlm_detail/.libs/rlm_detail.a ../modules/rlm_digest/.libs/rlm_digest.a ../modules/rlm_eap/.libs/rlm_eap.a ../modules/rlm_exec/.libs/rlm_exec.a ../modules/rlm_expiration/.libs/rlm_expiration.a ../modules/rlm_expr/.libs/rlm_expr.a ../modules/rlm_fastusers/.libs/rlm_fastusers.a ../modules/rlm_files/.libs/rlm_files.a ../modules/rlm_ippool/.libs/rlm_ippool.a /openpkg/lib/libgdbm.a ../modules/rlm_logintime/.libs/rlm_logintime.a ../modules/rlm_mschap/.libs/rlm_mschap.a ../modules/rlm_pap/.libs/rlm_pap.a ../modules/rlm_passwd/.libs/rlm_passwd.a ../modules/rlm_preprocess/.libs/rlm_preprocess.a ../modules/rlm_radutmp/.libs/rlm_radutmp.a ../modules/rlm_realm/.libs/rlm_realm.a ../modules/rlm_sqlcounter/.libs/rlm_sqlcounter.a ../modules/rlm_sql_log/.libs/rlm_sql_log.a ../modules/rlm_unix/.libs/rlm_unix.a ../modules/rlm_policy/.libs/rlm_policy.a ../modules/rlm_eap/types/rlm_eap_md5/.libs/rlm_eap_md5.a ../modules/rlm_eap/types/rlm_eap_leap/.libs/rlm_eap_leap.a ../modules/rlm_eap/types/rlm_eap_sim/.libs/rlm_eap_sim.a /openpkg/RPM/TMP/freeradius-server-2.0.5/src/modules/rlm_eap/libeap/.libs/libfreeradius-eap.a ../modules/rlm_eap/types/rlm_eap_mschapv2/.libs/rlm_eap_mschapv2.a ../modules/rlm_eap/types/rlm_eap_gtc/.libs/rlm_eap_gtc.a ../modules/rlm_eap/libeap/.libs/libfreeradius-eap.a /openpkg/RPM/TMP/freeradius-server-2.0.5/src/lib/.libs/libfreeradius-radius.a -lnsl -lresolv -lsocket -lcrypt /openpkg/lib/libltdl.a -L/openpkg/lib/ -lssl -lcrypto
modules.o: In function `setup_modules':
modules.c:(.text+0x10b4): undefined reference to 
`lt__PROGRAM__LTX_preloaded_symbols'
modules.c:(.text+0x10c4): undefined reference to 
`lt__PROGRAM__LTX_preloaded_symbols'
collect2: ld returned 1 exit status
______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to