Displaying 20 results from an estimated 2000 matches similar to: "/usr/libexec/elf/ld: cannot find -lresolv"
2002 Feb 22
0
(no subject)
OS: FreeBSD 4.5
Samba: 2.2.3a
OpenLDAP: 2.0.21
I get the follwing error compiling samba, with ldap, winbind and pam:
--------------------------------------------------------------------------
configure:13030: cc -o conftest -O -O -pipe -I/usr/local/include
-L/usr/local/l
ib conftest.c -lldap -llber -lresolv -lcups -lpam 1>&5
/usr/libexec/elf/ld: cannot find -lresolv
configure: failed
2008 Jul 26
5
Cups problems while compiling WINE
Just tried to compile WINE on opensuse 11 64bit. I did everything as described here: WineOn64bit - The Official Wine Wiki (http://wiki.winehq.org/WineOn64bit#head-b3c0054e075385ab599d63a46dba9d6c3934d6c0)
But running the configure script I'm getting that message:
Code:
configure: libcups development files not found, CUPS won't be supported.
That means that the printer output isn't
2002 Feb 26
2
compile problems on netbsd with samba-latest & openldap-2.0.23
dear list,
i have problems when compiling openldap-2.0.23 and the latest samba
version (2.2.3a) on netbsd (8500/180 powerpc).
Openldap compile procedure is running fine but when trying to compile
samba --with-ldapsam I get just this message :
config.log :
configure:13019: gcc -o conftest -O
-I/usr/local/openldap-2.0.23/include -L/usr/local/openldap-2.0.23/lib
conftest.c -lldap -llber
2004 Nov 16
1
solaris samba ldap
I'm trying to build 3.0.8 on solaris 9.
I tried linking against both sun and openldap libraries,
both unsucessufully. I get
------------------------------
checking for LDAP support... auto
checking ldap.h usability... yes
checking ldap.h presence... yes
checking for ldap.h... yes
checking lber.h usability... yes
checking lber.h presence... yes
checking for lber.h... yes
checking for
2003 Feb 03
1
Error in configure Last CVS and 3.0.alpha21 on Solaris 8
Hi all,
I'm having problems trying to configure samba with the lastest source.
The command I'm using is
env CPPFLAGS="-I/usr/local/kerberos/include -I/usr/local/ldap/include"
LDFLAGS="-L/usr/local/kerberos/lib -L/usr/local/ldap/lib"
./configure --with-ads --with-ldap --with-kerberos=/usr/local/kerberos
--with-pam --with-winbind
and the error is
checking whether to
2012 Aug 30
1
Samba complie problem
hi all
Samba build problem when compiling with --with-ads
I have complid, kerberos and openldap in /opt/local/samba and I am using gcc with gnu binutils. Its a solaris 10 sparc.
Configure gives me following error: -
checking for LDAP support... yes
checking ldap.h usability... yes
checking ldap.h presence... yes
checking for ldap.h... yes
checking lber.h usability... yes
checking lber.h
2002 Mar 01
3
--with-ldapsam Compile error on Solaris 8
Hi guys,
I'm getting the following errors during 'make' (configure went just
fine)
Compiling passdb/pdb_ldap.c
passdb/pdb_ldap.c: In function `ldap_open_connection':
passdb/pdb_ldap.c:75: `LDAP_OPT_X_TLS_HARD' undeclared (first use in
this function)
passdb/pdb_ldap.c:75: (Each undeclared identifier is reported only once
passdb/pdb_ldap.c:75: for each function it appears in.)
2009 Sep 10
1
need -lresolv on MacOSX 10.6
Hi,
When building OpenSSH 5.2p1 on MacOSX 10.6.0, I get the following ld error
gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o
sshconnect1.o sshconnect2.o mux.o -L. -Lopenbsd-compat/
-fstack-protector-all -lssh -lopenbsd-compat -lcrypto -lz
Undefined symbols:
"_res_9_query", referenced from:
_getrrsetbyname in libopenbsd-compat.a(getrrsetbyname.o)
2002 Jun 24
3
samba 2.2.5 don't compile with-smbwrapper and enable-cups params
Hello all.
I use:
# ./configure --prefix=/some/dir --enable-cups --with-smbwrapper ...
# make
...
...
Compiling smbwrapper/wrapped.c with -fPIC
Using LIBS = -lcups -lssl -lcrypto -lcrypt -lpam -lpopt
Linking shared library bin/smbwrapper.so
/usr/libexec/elf/ld: cannot find -lcups
*** Error code 1
Stop in /root/work/src/other/samba-2.2.5/source.
My system is FreeBSD 4.4-RELEASE
Please help.
2002 Feb 28
1
compile problems on netbsd with samba-latest & openldap-2.0.23 resume
dear list,
don't really want to annoy you but the "only" platform on which samba &&
openldap (2.0.19) is working seems to be debian 2.2r3 kernel 2.4.16 i686
unkown ...
Everything else (FreeBSD, NetBSD) fails.
Is it me, openldap, samba, the used platform or what else ?
Compile procedure on debian looks like this :
export LDFLAGS="-L/usr/local/ssl/openssl/lib
2004 May 24
2
Samba 3.0.4 fails to compile on Solaris 9
I have been trying to compile Samba 3.0.4 on a SunFire v880 running Solaris
9 but "make" generates a fatal error. My goal is to get Samba compiled
with the "--with-ldapsam" option so that I can use SunOne Directory Server
5.2 as the back-end repository for user authentication. I have gcc version
3.3.2 installed in /usr/local/bin/gcc which I have used to successfully
compile
2011 May 05
1
getting 3.5.8 to compile with cups on redhat 5.3 or 6
Hello,
I am trying to get samba-3.5.8 to compile with cups on a Red Hat 5.3 or 6.0. When I use the following configure command I see
./configure --with-winbind --with-pam --with-aio-support --enable-cups
checking for cups-config... /usr/sbin/cups-config
checking cups/cups.h usability... no
checking cups/cups.h presence... no
checking for cups/cups.h... no
checking cups/language.h usability... no
2009 Nov 06
2
bus error
Hi all,
What does this mean?
root at web # ./net ads join -U samba
Enter samba's password:
Bus Error (core dumped)
Is it similar to seg fault?
Paras.
2008 Jul 03
0
configure: error: Active Directory support requires ldap_initialize
Tried configure of samba-3.2.0 on Sparc Solaris 9 with the following
line:
./configure --with-ldap --with-ads --with-pam --with-winbind
--with-krb5=/usr/local > $log 2>&1
There is a problem where the following error is produced:
configure: error: Active Directory support requires ldap_initialize
I can use the same line on samba-3.0.10 and it compiles and works.
$
2006 Oct 17
2
autoconf check for ldap not linking with -lber
Maybe not a big deal, but generally you (used to?) link against both:
configure:31276: checking for ldap_init in -lldap
configure:31311: gcc -o conftest -std=gnu99 -I/usr/local/include -Wall -W -Wmiss
ing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat
=2 -Wbad-function-cast -I/usr/sfw/include -L/usr/local/lib conftest.c -lldap
-lsocket -lnsl -lrt -lsendfile
2016 Apr 19
0
libsmbregistry.so: undefined reference to `gfree_charcnv'
When compiling Samba 4.4.2 with Ubuntu 14.04 x64, I get this output as
below.
<...>
[3511/3922] Linking default/source4/lib/http/libhttp.so
21:22:07 runner /usr/bin/gcc default/source4/lib/http/http_1.o
default/source4/lib/http/http_auth_1.o -o
/tmp/build-debs.Z500qB/build/bin/default/source4/lib/http/libhttp.so
-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed -Wl,-z,relro,-z,now
2004 Mar 04
4
Solaris 9 --with-krb5 problems
Hi,
I am running configure with the option --with-krb5=/opt/local which is
where I have heimdal installed. The problem is that after running make,
it still tries to use the include files from SUN that are in /usr/ and this
screws up the compile.
I can compile samba just fine using --without-krb5.
I have already tried:
setenv CFLAGS "-L/opt/local/lib"
setenv CPPFLAGS
2018 Jun 08
2
vanilla build of 7.7p1 release on linux/4.17 fails with gcc8 @ "/usr/bin/ld: unrecognized option '-Wl,-z,retpolineplt'"
On 8 June 2018 at 12:09, PGNet Dev <pgnet.dev at gmail.com> wrote:
[...]
> /usr/bin/ld -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect2.o mux.o -L. -Lopenbsd-compat/ -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -fstack-protector-strong -pie -lssh -lopenbsd-compat -lutil -lz -lcrypt -lresolv
> /usr/bin/ld: unrecognized option
2018 Jun 08
2
vanilla build of 7.7p1 release on linux/4.17 fails with gcc8 @ "/usr/bin/ld: unrecognized option '-Wl,-z,retpolineplt'"
Also what exact distro and version are you having the problem on and
what version of ld does it have?
Mine is
$ ld --version
GNU ld version 2.29.1-23.fc28
--
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA (new)
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
2002 May 10
0
Problems when compiling samba3.0alpha17
Hi,
i have problems with the compiling of samba3.0alpha17.
I use the following "configure-script" :
------------------------------------------------------
#!/bin/sh
make clean
autoconf
./configure \
--with-readline \
--with-acl-support \
--prefix=/usr/local/samba \
--with-smbwrapper \
--with-smbmount \
--with-pam \
--with-pam_smbpass \
--with-ldapsam \
--with-ssl \
--with-tdbsam