Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

/usr/bin/ld: cannot find -lnss_dns

 
   Soft32 Home -> Linux -> Development RSS
Next:  Hi..Challenging problem and doubt  
Author Message
aswathavijay

External


Since: Feb 07, 2006
Posts: 1



(Msg. 1) Posted: Mon Feb 06, 2006 11:03 pm
Post subject: /usr/bin/ld: cannot find -lnss_dns
Archived from groups: linux>redhat>devel (more info?)

Hi all,

While I was trying to rebuild the rpm-4.2-0.69.src.rpm in RHEE4, I
was getting the following error message:

$ rpmbuild --rebuild rpm-4.2-0.69.src.rpm
..........................................................
...........................................................

Making all in tools
make[2]: Entering directory `/usr/src/redhat/BUILD/rpm-4.2/tools'
source='rpmgraph.c' object='rpmgraph.o' libtool=no \
depfile='.deps/rpmgraph.Po' tmpdepfile='.deps/rpmgraph.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -D__redhat__ -I. -I. -I.. -I. -I.. -I../build
-I../lib -I../rpmdb -I../rpmio -I../popt -I../file -I../zlib -I../misc
-O2 -g -fsigned-char -fomit-frame-pointer -D_GNU_SOURCE -D_REENTRANT
-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wno-char-subscripts -c `test -f 'rpmgraph.c' || echo './'`rpmgraph.c
/bin/sh ../libtool --mode=link gcc -O2 -g -fsigned-char
-fomit-frame-pointer -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -o
rpmgraph -all-static -L/usr/lib/nptl rpmgraph.o ../lib/librpm.la
.../beecrypt/libbeecrypt.la -lrt -lpthread -L../zlib -L/lib
-L/usr/local/lib -lbz2 -lc -lnss_dns -lnss_files -lresolv
mkdir .libs
gcc -O2 -g -fsigned-char -fomit-frame-pointer -D_GNU_SOURCE
-D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wno-char-subscripts -o rpmgraph -static
rpmgraph.o -L/usr/lib/nptl ../lib/.libs/librpm.a
/usr/src/redhat/BUILD/rpm-4.2/rpmdb/.libs/librpmdb.a
-L/usr/src/redhat/BUILD/rpm-4.2/zlib -L/cdt/lib -L/usr/local/lib -lelf
/usr/src/redat/BUILD/rpm-4.2/rpmio/.libs/librpmio.a
/usr/src/redhat/BUILD/rpm-4.2/popt/.libs/libpopt.a
.../beecrypt/.libs/libbeecrypt.a -lrt -lpthread -lbz2 -lc -lnss_dns
-lnss_files -lresolv
.../lib/.libs/librpm.a(rpminstall.o)(.text+0x1698): In function
`rpmInstall':
/usr/src/redhat/BUILD/rpm-4.2/lib/rpminstall.c:419: the use of `mktemp'
is dangerous, better use `mkstemp'
/usr/bin/ld: cannot find -lnss_dns
collect2: ld returned 1 exit status
make[2]: *** [rpmgraph] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/rpm-4.2/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/rpm-4.2'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.43370 (%build)

Help me to resolve this issue.

Thanks in advance.

Regards
Vijay
Back to top
Login to vote
Display posts from previous:   
Related Topics:
source code for shutdown - Hi, Can anyone tell me where to get the source code for the command shutdown. I would like to port it to my Agenda..

a function to add to newt - If anybody still uses newt, it's got a neat feature to listen on socket descriptors, but no way to remove the socket..

download discountinued redhat-betas? - Hi, does anyone know where i can download discontinued redhat-betas, who have removed from the official server? Greet...

RH 9.0 +glut link problem - All my open GL code that uses the glut library fails to link under RH 9.0. It works fine under RH 8.0. Lib glut can'...

Regina Rexx for redhat 2.1 - Has anyone sucessfully build Regina Rexx 3.01 for RH Linux 2.1AW running on an IA64 Itanium? I got the package and the...

Problem building apache from source RPM on RH9 - I am trying to rebuild apache 2.0.40 from the source RPM for Red Hat 9. Just downloaded and installed SRPMS. and runnin...
       Soft32 Home -> Linux -> Development All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]